comex_municipio
Foreign trade by municipality (Comex Stat)
Monthly exports and imports by municipality of the company's tax domicile, product (SH4) and partner country, since 2020. Municipal database of Comex Stat (MDIC/Secex).
Query via MCP ↓18,082,588 rows · 9 columns
- One row is
- one row per (ano, mes, ibge_code, fluxo, sh4, pais)
- Key columns
- ano, mes, ibge_code, fluxo, sh4, pais
- License
- gov.br open data (recorded as CC0 in the project's source catalog)
- Domain
- Economy
- Snapshot
- 2026-09-25
Columns
| Column | Type | Description |
|---|---|---|
| anoKEY | BIGINT | Year. |
| mesKEY | BIGINT | Month (1–12). |
| ibge_codeKEY | BIGINT | IBGE municipality code (7 digits). Exceptions: 9300000 = abroad (uf EX) and 9999999 = not declared (uf ND). |
| uf | VARCHAR | State abbreviation (UF). EX = abroad, ND = not declared. |
| fluxoKEY | VARCHAR | EXP (export) or IMP (import). |
| sh4KEY | VARCHAR | 4-digit Harmonized System heading (product category). |
| paisKEY | VARCHAR | Partner country code in the Comex Stat country table (CO_PAIS). |
| kg_liquido | BIGINT | Net weight in kg. |
| valor_fob | BIGINT | FOB value in US dollars (US$), as published by Comex Stat. |
Queries that read this table
- comex_municipio2 credits
Municipality foreign trade. A municipality's exports or imports (Comex Stat), aggregated by year, product (SH4) or destination/origin country, in US$ FOB and kg.
Query via MCP
The lake is served through curated queries. Connect your agent to the MCP server and ask — it finds the right query on its own. All you need is an API key — new keys come with 50 free credits (pricing).
comex_municipio
How much did Santos export per year?