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. 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

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

Quality
96.4%
Calls answered without a tool error
Speed
20.4 s
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
140
Last 24 hours, every Alexandria user
Quality and speed of each tool, last 24 hours
ToolQualitySpeedCalls
Agregado dados100%11.8 s46
Malha90.5%20.4 s42
Agregados100%2.2 s23
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