Firecrawl Alexandria

IBGE service data API

Brazil's national statistics institute (IBGE) open JSON API at servicodados.ibge.gov.br: territorial codes (localidades), SIDRA aggregated statistics (agregados: official municipal / state / national population and household counts from the 2022 Census and the yearly population estimates, IPCA, PNAD, GDP and ~8,000 other tables), 2010 Census first-name frequencies and rankings, IBGE news/releases and release calendar, country profiles and indicators (paises), territorial meshes (malhas) and the CNAE activity classification. Anonymous, no key, Portuguese-language values as published.

1 Firecrawl tool uses IBGE service data API

Try IBGE service data API now.

Choose an example or ask your own question.

IBGE service data API
TRY ASKING
1Request
numberRequired

SIDRA table id, e.g. 1737 (IPCA), 4709 (Census 2022 population), 4712 (Census 2022 occupied households), 6579 (population estimates), 4099 (PNAD unemployment), 5938 (municipal GDP).

boolean

Also fetch /periodos and return every period id (monthly tables have hundreds).

string

Also fetch /localidades/{nivel} and return the localities the table offers at that level (N3 = 27 states; N6 = up to 5,570 municipalities).

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "servicodados-ibge-gov-br",
    capability: "official-statistics/agregado_metadados",
    options: {
      agregado: 1737,
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from IBGE service data API.

{
  "assunto": "Índices de preços",
  "classificacoes": [],
  "id": 1737,
  "localidades": null,
  "nivel_territorial": {
    "administrativo": [
      "N1"
    ],
    "especial": [],
    "ibge": []
  },
  "nome": "IPCA - Série histórica com número-índice, variação mensal e variações acumuladas em 3 meses, em 6 meses, no ano e em 12 meses (a partir de dezembro/1979)",
  "observed_at_ms": 1790047002569,
  "periodicidade": {
    "fim": 202608,
    "frequencia": "mensal",
    "inicio": 197912
  },
  "periodos": null,
  "pesquisa": "Índice Nacional de Preços ao Consumidor Amplo",
  "source_url": "https://servicodados.ibge.gov.br/api/v3/agregados/1737/metadados",
  "url": "https://sidra.ibge.gov.br/tabela/1737",
  "variaveis": [
    {
      "id": 2266,
      "nome": "IPCA - Número-índice (base: dezembro de 1993 = 100)",
      "sumarizacao": [],
      "unidade": "Número-índice"
    },
    {
      "id": 63,
      "nome": "IPCA - Variação mensal",
      "sumarizacao": [],
      "unidade": "%"
    },
    {
      "id": 2263,
      "nome": "IPCA - Variação acumulada em 3 meses",
      "sumarizacao": [],
      "unidade": "%"
    },
    {
      "id": 2264,
      "nome": "IPCA - Variação acumulada em 6 meses",
      "sumarizacao": [],
      "unidade": "%"
    },
    {
      "id": 69,
      "nome": "IPCA - Variação acumulada no ano",
      "sumarizacao": [],
      "unidade": "%"
    },
    {
      "id": 2265,
      "nome": "IPCA - Variação acumulada em 12 meses",
      "sumarizacao": [],
      "unidade": "%"
    }
  ]
}

Quality, speed and cost, last 24 hours, across every agent call to IBGE service data API through Alexandria.

Quality
0%
Calls answered without a tool error
Speed
n/a
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
29
Last 24 hours, every Alexandria user
Browse the library
//
Get started
//
Give your agent IBGE service data API.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options