Skip to main content
fastCRW Pergamon
Statistics · BR

IBGE

servicodados.ibge.gov.br

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

Showing the catalogue

1Request

SIDRA aggregate id. 1737 is the IPCA consumer price index series.

Negative N means the last N periods (-6); you can also give explicit periods such as 202601 or a 202601-202606 range.

Territorial scope, e.g. N1[all] for Brazil, N3[all] for every state, N6[3304557] for one municipality. The upstream returns HTTP 500 if this is omitted.

Restrict to categories of a classification, e.g. 315[7169] for a single product group.

'flat' returns one flat record per observation instead of the nested series structure.

1 credit⌘ ↵
Code follows the fields above
curl "https://api.fastcrw.com/v1/data/ibge/aggregate?aggregate=1737&period=-6&localidades=N1%5Ball%5D" \
  -H "Authorization: Bearer $FASTCRW_API_KEY"

2Response example

A sample shape. Press Run to see live data from IBGE.

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"
]

Attribution: Fonte: IBGE

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

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>