Inegi Indicator
inegi_indicatorFetch any INEGI indicator by its numeric id, at a chosen geographic level — escape hatch for the full Banco de Indicadores (GDP, employment/ENOE, economic census, prices, etc.). Returns the latest value (or full history). Find indicator ids with INEGI's "Constructor de consultas" at inegi.org.mx/app/indicadores. NOTE: for Mexico inflation, interest rates, and the peso exchange rate, the banxico pack is usually the better source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Geographic area: "00" = national (default), "01"–"32" = state (e.g. "09" = Mexico City/CDMX, "07" = Chiapas, "15" = México state), or a 5-digit municipality code (state+municipio). | |
| source | No | Data bank: "BISE" (Banco de Indicadores, default) or "BIE" (Banco de Información Económica — economic time series). | |
| _apiKey | No | Optional — your own free INEGI API token. Omit to use the shared Pipeworx token. | |
| all_history | No | Return the full time series instead of just the latest observation. Default false. | |
| indicator_id | Yes | INEGI indicator id, e.g. "1002000001" (total population). |