ibge_sidra
Query Brazilian statistical indicators from IBGE SIDRA by specifying aggregate and variable IDs, with filters for geography and time periods. Retrieve data for population, GDP, inflation, and more.
Instructions
Consulta genérica à API SIDRA do IBGE para qualquer indicador.
Args: agregado: ID do agregado SIDRA (ex.: "4709" população, "5938" PIB, "1737" inflação INPC). Consulte https://servicodados.ibge.gov.br/api/v3/agregados para a lista completa. variavel: ID da variável dentro do agregado (ex.: "93"). localidades: Filtro de localidades no formato SIDRA, ex.: "N1[1]" Brasil, "N3[35]" São Paulo (estado), "N6[3550308]" Campinas (município). periodos: Períodos, ex.: "-1" (último), "2022", "2020/2024".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agregado | Yes | ||
| periodos | No | -1 | |
| variavel | Yes | ||
| localidades | No | N1[1] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |