municipality_code.
Search tables
POST /br/ibge/tables-search/v1 Dataset
Finds tables by words, survey, subject, periodicity or territorial level.
{ table_id, name, survey_id, survey, subject, periodicity, period_start, period_end, territory_levels, variables, classifications, source_url }.
variables:{ variable_id, name, unit }; pass the ids toibge-table-valuesinvariable_ids.classifications: the breakdowns the table offers (sex, age group, product, CNAE section…), each{ classification_id, name, categories }, every category{ category_id, name, level }(level0 is the total). Pass them toibge-table-valuesinclassifications.territory_levels:country,region,state,municipality, and finer or special levels such asmetro_area,mesoregionormicroregion.period_startandperiod_end: the period codes the table covers,yyyyfor annual tables,yyyymmfor monthly ones,yyyy0qfor quarterly ones (202602is the second quarter of 2026).
Table values
POST /br/ibge/table-values/v1 Returns the values of one table for the variables, periods, territories and categories asked for.
found, the table’s table_name, survey and periodicity, the periods covered ({ period, name }), the variables ({ variable_id, name, unit }), count and values. Each value is { territory_level, territory_code, territory_name, variable_id, period, value, value_note, unit, categories }.
value: a number, or null when IBGE publishes none for that cell.value_notethen says why:not_applicable,not_availableorsuppressed(withheld to protect respondents). A true zero is0withvalue_note: "zero".categories: the category of each classification the value belongs to,{ classification_id, category_id, category_name }. A classification not asked for comes back as its total.foundis false, with no values, when the table does not exist or has nothing for the period asked.
One call returns at most 15,000 values (territories x variables x periods x
categories). A larger request is refused with
too_many_results: narrow
territory_code, variable_ids, period or classifications, or split it.Full reference
Schemas, all response fields, and an interactive playground.