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 ready-made skill 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. 4709 (Census 2022 population), 4712 (Census 2022 occupied households), 6579 (population estimates), 1737 (IPCA).

object[]

classificacao

object[]

Territorial selections; default N1 all (Brazil).

string

`-N` (last N periods, default -6), `all`, one period (2024, 202408), a range (202401-202412) or a comma list (2020,2022).

number[]

Variable ids from agregado_metadados; joined with `|` upstream. Omit for `allxp` (every variable except percentages). Separate values with commas.

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

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

agregado
1737
observed_at_ms
1790047010074
source_url
https://servicodados.ibge.gov.br/api/v3/agregados/1737/periodos/-3/variaveis/63?localidades=N1[all]
value_count
3
idresultadosunidadevariavel
63%IPCA - Variação mensal
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