Skip to main content
All providers

IBGE

StatisticsBR

servicodados.ibge.gov.br

Brazilian official statistics and geography: municipalities, states, population and the IPCA.

Capabilities (10)

GET /v1/data/ibge/aggregate1 credit

Returns the observed values of every variable in one SIDRA aggregate table for the requested periods and localities, as a series keyed by period.

aggregateperiodlocalidadesclassificacao?view?
GET /v1/data/ibge/aggregate-metadata1 credit

Returns the definition of one SIDRA aggregate table: its survey, subject, periodicity, the territorial levels it covers, and the variables and classifications it contains.

aggregate
GET /v1/data/ibge/aggregates1 credit

Returns the SIDRA catalogue: every IBGE survey with the ids and names of the aggregate tables it publishes.

assunto?classificacao?periodo?nivel?
GET /v1/data/ibge/country1 credit

Returns IBGE's country record: M49 and ISO codes, names in three languages, area, location, capital, languages, government, currency and historical notes.

country
GET /v1/data/ibge/municipalities1 credit

Returns every municipality in one Brazilian state with its 7-digit IBGE code, name and the micro-, meso-, immediate and intermediate regions it belongs to.

uforderBy?view?
GET /v1/data/ibge/municipality1 credit

Returns one municipality by its 7-digit IBGE code, with its full territorial hierarchy up to the macro-region.

municipalityview?
GET /v1/data/ibge/names1 credit

Returns how often a given first name was registered in Brazil per birth decade, from the census name database.

namesexo?localidade?decada?
GET /v1/data/ibge/names-ranking1 credit

Returns the ranked list of the most frequent first names in Brazil with their counts, optionally scoped to a state, sex or birth decade.

localidade?sexo?decada?
GET /v1/data/ibge/news1 credit

Returns a paged feed of IBGE news items and statistical releases with title, intro, publication date, editorial tags and link.

qtd?page?busca?tipo?de?ate?destaque?introducao?
GET /v1/data/ibge/states1 credit

Returns all 27 Brazilian federative units with their IBGE id, two-letter abbreviation, name and macro-region.

orderBy?view?

Response example

The shape of data from ibge/aggregate (Statistical table data). A sample, not live data.

JSON
[
  {
    "id": "2266",
    "variavel": "IPCA - Número-índice (base: dezembro de 1993 = 100)",
    "unidade": "Número-índice",
    "resultados": [
      {
        "classificacoes": [],
        "series": [
          {
            "localidade": {
              "id": "1",
              "nivel": {
                "id": "N1",
                "nome": "Brasil"
              },
              "nome": "Brasil"
            },
            "serie": {
              "202604": "7596.0900000000000",
              "202605": "7640.1500000000000",
              "202606": "7652.3700000000000",
              "202607": "7657.7300000000000",
              "202608": "7633.2300000000000",
              "202609": "7695.8200000000000"
            }
          }
        ]
      }
    ]
  },
  {
    "id": "63",
    "variavel": "IPCA - Variação mensal",
    "unidade": "%",
    "resultados": [
      {
        "classificacoes": [],
        "series": [
          {
            "localidade": {
              "id": "1",
              "nivel": {
                "id": "N1",
                "nome": "Brasil"
              },
              "nome": "Brasil"
            },
            "serie": {
              "202604": "0.67",
              "202605": "0.58",
              "202606": "0.16",
              "202607": "0.07",
              "202608": "-0.32",
              "202609": "0.82"
            }
          }
        ]
      }
    ]
  },
  "… 4 more items"
]

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Statistical table data

    Use IBGE (ibge) from fastCRW Pergamon, capability "Statistical table data" (aggregate). You have an IBGE aggregate table id and want its actual numbers, such as the IPCA inflation index over recent months. Example options: aggregate=1737, period=-6, localidades=N1[all]. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "ibge" and capability "aggregate". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Statistical table metadata

    Use IBGE (ibge) from fastCRW Pergamon, capability "Statistical table metadata" (aggregate-metadata). You have a table id and need to know its variables, classifications and valid territorial levels before building a data query. Example options: aggregate=1737. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "ibge" and capability "aggregate-metadata". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Statistical table catalogue

    Use IBGE (ibge) from fastCRW Pergamon, capability "Statistical table catalogue" (aggregates). You need to find which IBGE table holds a statistic before you can query any numbers. Example options: assunto=70, classificacao=315, periodo=P5. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "ibge" and capability "aggregates". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Country profile

    Use IBGE (ibge) from fastCRW Pergamon, capability "Country profile" (country). You want IBGE's own reference data about a country, including its M49 and ISO-3166 identifiers. Example options: country=BR. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "ibge" and capability "country". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

Licence

IBGE publishes its service data openly; the portal states the data may be reused with the source credited.

https://servicodados.ibge.gov.br/api/docs

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Fonte: IBGE

Cache: up to 3600s