DENUE Mexico Business Directory Scraper (INEGI) avatar

DENUE Mexico Business Directory Scraper (INEGI)

Pricing

from $2.00 / 1,000 business records

Go to Apify Store
DENUE Mexico Business Directory Scraper (INEGI)

DENUE Mexico Business Directory Scraper (INEGI)

Search Mexico's official DENUE business directory (INEGI) by keyword or activity and state: establishment name, SCIAN activity, address, GPS, phone, website, CLEE and incorporation date. Fresh directory answers every run. JSON, CSV or Excel.

Pricing

from $2.00 / 1,000 business records

Rating

0.0

(0)

Developer

Philip Kirkbride

Philip Kirkbride

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 hours ago

Last modified

Categories

Features

Limited permissions

Share

Mexico DENUE Business Directory Scraper

Search Mexico's official business directory, DENUE (INEGI), and export establishments as clean records: name, economic activity, SCIAN code, size category, full address, GPS coordinates, phone, e-mail, website, CLEE and incorporation date. Every run reads the live directory, so results are current.

Typical uses

  • B2B lead lists: find tortillerías, pharmacies, hotels or hardware stores in one state or nationwide, with phone and address to qualify them.
  • Market and location research: count and map establishments of one activity in a city, municipality or state before opening a branch.
  • Record enrichment: append official activity codes, coordinates and identifiers to a CRM or supplier list using idee/clee as join keys.
  • Store and route planning: use the coordinates and colonia to plan coverage areas for field teams.

How it works

  1. Enter a keyword or economic activity (Spanish works best, e.g. tortilleria, hotel boutique, farmacias similares).
  2. Optionally scope it to one or more states by CVE_ENT code, official name or alias (09, Ciudad de México, CDMX).
  3. Each hit is enriched with its DENUE record (address, contact, CLEE, incorporation date) unless includeDetails is off.
  4. Export the dataset as JSON, CSV or Excel from the run page.

Quick start

{"search": "tortilleria", "states": ["09"], "maxResults": 100}

An empty run (no search and no maximum) returns a small 10-record sample for tortilleria so you can see the fields before choosing your own search; it is flagged usedExample: true in the run summary and status message. A search left empty on purpose ({"search": ""}) stops at once with a message asking for a keyword.

Input

FieldTypeDefaultWhat it does
searchstringrequiredKeyword or economic activity. Punctuation the source cannot handle is stripped automatically.
statesarray[]State codes, names or aliases; empty means nationwide.
maxResultsinteger50Maximum establishments returned, 1–1,000.
includeDetailsbooleantrueInclude address and contact details (one extra request per record).
requestDelaySecsnumber1Pause between requests, 0.5–10 seconds.

Output

One row per establishment. Fields: idee, companyKey, name, razonSocial, scianCode, activity, sizeCategory, unitType, address, colonia, postalCode, locality, municipality, state, latitude, longitude, phone, email, website, clee, incorporatedAt, url, sourceState, sourceQuery, source, scrapedAt.

companyKey is inegi.org.mx:denue:<idee> so records can be deduplicated across runs. Fields the directory does not publish for an establishment are null, never invented.

{
"idee": "0100000001",
"companyKey": "inegi.org.mx:denue:0100000001",
"name": "TORTILLERIA EJEMPLO",
"activity": "Elaboración de tortillas de maíz y molienda de nixtamal",
"scianCode": "311830",
"sizeCategory": "Micro",
"address": "AV. EJEMPLO 123",
"colonia": "CENTRO",
"municipality": "Aguascalientes",
"state": "Aguascalientes",
"latitude": 21.8853,
"longitude": -102.2916,
"phone": "4491234567",
"website": null,
"clee": "0100000001",
"url": "https://www.inegi.org.mx/app/mapa/denue/default.aspx?idee=0100000001",
"sourceQuery": "tortilleria",
"source": "inegi.org.mx",
"scrapedAt": "2026-11-10T04:12:03.114Z"
}

Pricing

Pricing:

  • $0.005 actor start (one start event per GB of memory; the default 512 MB run is one start event).
  • $0.002 per delivered business record.

Worked costs: a 10-record sample is about $0.025; a 50-record run about $0.105; a 1,000-record run about $2.005. Free-plan users get the monthly Apify credits first, so small runs are usually free.

Limits and reliability

  • The cap is 1–1,000 records per run; each state scope is paginated 50 records at a time.
  • includeDetails costs one extra request per record and slows a run down; turn it off for a fast name/activity/location scan.
  • If INEGI refuses a request the run reports a source access error; an establishment is never reported as missing because a page was refused.
  • A search that matches nothing says so in the status message instead of failing silently.

FAQ

How fresh is the data? Results are read from the official directory service when the run starts; nothing is cached between runs.

Is the directory free to use? DENUE is INEGI's public directory. Respect INEGI's terms, and use the data for lawful purposes with your own legal basis.

Can I search by activity code instead of a keyword? Yes — the keyword is matched against establishment names and economic activity names; enter the SCIAN activity wording (e.g. elaboración de tortillas) or part of it.

Why are some phone or website fields empty? INEGI publishes what each establishment reports; absent fields stay null.

How do I keep only new businesses between runs? Deduplicate on idee (or companyKey) between datasets; the identifiers are stable.

Can I schedule it? Yes — run it on a daily or weekly schedule and export the dataset; only delivered records are charged.

Support

For questions or issues, use the Issues tab on the Actor page or contact Apify support and include the run ID.