INEGI DENUE: businesses and establishments in Mexico
Mexico's national directory of economic units (DENUE) from INEGI: find businesses by activity near a point or in a state, and count establishments by economic activity and state. Each record has the business name, activity class, staff size band, address and coordinates.
No API key needed to call. The provider needs an API key; AgentNative holds it.
- Source
- INEGI, Directorio Estadístico Nacional de Unidades Económicas (DENUE)
- Licence and terms
- INEGI free-use terms (commercial use allowed with credit)
- Coverage
- Mexico
- Refresh cadence
- Answers are shared and cached for 86400 seconds.
Questions you can ask
- Which pharmacies are within 500 metres of the Zócalo in Mexico City?
- Which hospitals are registered in Nuevo León?
- How many retail establishments are there in Mexico City?
Operations
Businesses near a point in Mexico
Answers: which businesses of a given kind (pharmacies, restaurants, hotels, schools) are within a radius of a point in Mexico, with address, activity and coordinates?
| term | required, string, One Spanish word in the business name or activity, such as farmacia, restaurante, hotel or escuela; todos matches every business. |
|---|---|
| lat | required, number, Latitude in Mexico. |
| lng | required, number, Longitude in Mexico. |
| meters | required, integer, default 500, Radius in metres, at most 5,000. |
Example: Which pharmacies are within 500 metres of the Zócalo in Mexico City?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"inegi_denue","operation":"denue_near_point","params":{"term":"farmacia","lat":19.4326,"lng":-99.1332,"meters":500}}}Over HTTP
curl '/v1/connectors/inegi_denue/denue_near_point?term=farmacia&lat=19.4326&lng=-99.1332&meters=500'Businesses by kind in a Mexican state
Answers: which businesses matching a word (such as hospital or hotel) are registered in a Mexican state? Returns a page of up to 25 with address, activity and coordinates.
| term | required, string, One Spanish word in the business name or activity, such as farmacia, restaurante, hotel or escuela; todos matches every business. |
|---|---|
| state | required, string, Two-digit state code (01 Aguascalientes to 32 Zacatecas; 09 is Mexico City). |
| page | optional, integer, default 1, Page of 25 results. |
Example: Which hospitals are registered in Nuevo León?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"inegi_denue","operation":"denue_by_state","params":{"term":"hospital","state":"19","page":1}}}Over HTTP
curl '/v1/connectors/inegi_denue/denue_by_state?term=hospital&state=19&page=1'Count of establishments by activity and state
Answers: how many establishments of an economic activity (SCIAN code, such as 46 retail trade or 722 food and drink services) are there in a Mexican state or the whole country?
| activity | required, string, SCIAN activity code of 2 to 6 digits, or 0 for all activities. |
|---|---|
| area | required, string, default 0, Two-digit state code, or 0 for all of Mexico. |
| size | required, string, 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7, default 0, Staff size band: 0 all, 1 is 0 to 5 people up to 7 is 251 or more. |
Example: How many retail establishments are there in Mexico City?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"inegi_denue","operation":"denue_count","params":{"activity":"46","area":"09","size":"0"}}}Over HTTP
curl '/v1/connectors/inegi_denue/denue_count?activity=46&area=09&size=0'Source notice
Fuente: INEGI, Directorio Estadístico Nacional de Unidades Económicas (DENUE). INEGI terms: "Puede explotar comercialmente la información, utilizándola como insumo para generar otros productos o servicios" (the information may be used commercially as input for other products or services), with credit to INEGI. AgentNative selects and trims fields (phone, email and legal name are left out) and translates nothing; not endorsed by INEGI.