VOOZH about

URL: https://apify.com/jungle_synthesizer/mexico-rfc-sat-company-scraper

⇱ Mexico Business Directory Scraper (DENUE) Β· Apify


πŸ‘ Mexico Business Directory Scraper (DENUE) avatar

Mexico Business Directory Scraper (DENUE)

Pricing

Pay per event

Go to Apify Store

Mexico Business Directory Scraper (DENUE)

Bulk scraper for Mexico's DENUE business registry β€” 5.5M+ establishments with geo coordinates, SCIAN industry codes, employee ranges, contact info, and addresses. Filter by state, activity keyword, and entity type. Requires a free INEGI API token (email registration at inegi.org.mx).

Pricing

Pay per event

Rating

0.0

(0)

Developer

πŸ‘ BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

22 days ago

Last modified

Share

DENUE Mexico Business Directory & Company Database Scraper

Scrapes establishment data from DENUE, Mexico's national economic unit registry maintained by INEGI. This Mexico company directory scraper returns geo coordinates, SCIAN industry codes, employee ranges, contact details, and full addresses for 5.5M+ active businesses β€” a searchable Mexican company database filtered by state, keyword, or sector.


DENUE Scraper Features

  • Extracts up to 5.5M Mexican business listings from the official INEGI DENUE database
  • Filters by state (entidad federativa) β€” search the Mexican company directory by state, all 32 states plus national
  • Filters by activity keyword (e.g., "restaurante", "farmacia", "construccion") or pulls all establishments
  • Returns geo coordinates (latitude/longitude) for every record β€” map-ready out of the box
  • Includes SCIAN industry class descriptions and employee range (estrato) for sector classification
  • Collects contact info where available: phone number, email, website
  • Outputs full structured addresses: street, exterior number, interior number, neighborhood, postal code
  • Handles DENUE's offset-based pagination automatically β€” just set maxItems and walk away
  • Uses the official INEGI REST API β€” no browser, no proxy required

Who Uses DENUE Data?

  • Sales teams β€” Build targeted prospect lists filtered by industry and state, then load into a CRM
  • Market researchers β€” Map business density by sector across Mexico's 32 states
  • Real estate analysts β€” Identify commercial activity patterns by neighborhood and postal code
  • Logistics teams β€” Geocode delivery destinations and classify customers by industry
  • Competitive intelligence β€” Count competitors in a city by SCIAN code before entering a market
  • Academic researchers β€” Study employment distribution and formality rates across Mexican states

How DENUE Scraper Works

  1. Provide a free INEGI API token. Register at inegi.org.mx β€” enter your email and the token arrives automatically.
  2. Set your filters. Choose a state code (09 for CDMX, 00 for all states) and an activity keyword, or leave the keyword blank to pull all businesses in the state.
  3. The scraper paginates through DENUE. It fetches records in batches, stopping at your maxItems limit or when the dataset is exhausted.
  4. Output lands in your Apify dataset. Clean JSON with 20 fields per establishment, ready for export or downstream processing.

Input

{
"apiToken":"your-denue-api-token-here",
"entidad":"09",
"keyword":"restaurante",
"pageSize":200,
"maxItems":1000
}
FieldTypeDefaultDescription
apiTokenstringβ€”Required. Your free INEGI DENUE API token. Register at inegi.org.mx.
entidadstring"09"Two-digit state code. "09" = CDMX, "00" = all states. See full list of codes in the input form.
keywordstring"restaurante"Activity keyword filter. Use "0" or leave empty for all establishments in the selected state.
pageSizeinteger200Records per API request (1–1000). Larger values are faster for bulk runs.
maxItemsinteger15Maximum establishments to scrape. Set high for bulk downloads; keep low for test runs.

DENUE Scraper Output Fields

{
"id":"11647314",
"nombre":"BARBACOA MALENO",
"razon_social":"BARBACOA MALENO SA DE CV",
"clase_actividad":"Restaurantes con servicio de preparaciΓ³n de antojitos",
"estrato":"0 a 5 personas",
"tipo_vialidad":"CALLE",
"calle":"CENICIENTA FRANCISCO I MADERO",
"num_exterior":"12",
"num_interior":"",
"colonia":"SAN MIGUEL AMANTLA",
"cp":"02700",
"ubicacion":"Ciudad de MΓ©xico, Azcapotzalco",
"entidad":"09",
"municipio":"",
"telefono":"5553567890",
"correo_e":"",
"sitio_internet":"",
"tipo":"Privado",
"latitud":19.4634,
"longitud":-99.1987,
"source_url":"https://www.inegi.org.mx/app/api/denue/v1/consulta/BuscarEntidad/restaurante/09/*/<token>"
}
FieldTypeDescription
idstringInternal DENUE establishment ID
nombrestringTrade name of the establishment
razon_socialstringLegal name / razΓ³n social
clase_actividadstringSCIAN economic activity class description
estratostringEmployee range (e.g., "0 a 5 personas", "6 a 10 personas")
tipo_vialidadstringStreet type (CALLE, AVENIDA, BOULEVARD, etc.)
callestringStreet name
num_exteriorstringExterior street number
num_interiorstringInterior number, suite, or floor
coloniastringNeighborhood (colonia)
cpstringPostal code (5 digits)
ubicacionstringCombined state + municipality string
entidadstringState code (01–32)
municipiostringMunicipality code (3 digits, where available)
telefonostringPhone number
correo_estringEmail address
sitio_internetstringWebsite URL
tipostringEstablishment type (Privado, PΓΊblico, No especificado)
latitudnumberLatitude coordinate (WGS84)
longitudnumberLongitude coordinate (WGS84)
source_urlstringDENUE API URL used to retrieve this record

πŸ” FAQ

How do I get a DENUE API token?

DENUE Scraper requires a free INEGI API token. Go to inegi.org.mx/app/api/denue/v1/tokenVerify.aspx, enter your email address, and the token arrives in your inbox within a minute. No account signup, no payment β€” INEGI provides this as a public data service.

How much does DENUE Scraper cost to run?

DENUE Scraper charges $0.10 per run plus $0.001 per record β€” about $1.10 for 1,000 establishments. Scraping all 5.5M records would cost roughly $5,600 in data charges plus platform costs, which is why the maxItems default is conservative. Start small.

Can I scrape all of Mexico at once?

Set entidad to "00" and keyword to "0" to pull all establishments in all states. The dataset contains 5.5M+ records, so set maxItems to a realistic target and plan for a long run. DENUE is a government API with no formal rate limits β€” the scraper adds a 500ms delay between pages to stay polite.

Does DENUE Scraper need proxies?

No. It calls the official INEGI DENUE REST API directly. No browser, no headless rendering, no proxy required.

How do I find companies in Mexico by state?

Set entidad to the two-digit state code (for example 19 for Nuevo LeΓ³n or 14 for Jalisco) and leave keyword empty to pull every establishment in that state. This turns DENUE into a company lookup by state β€” each record carries the trade name, legal name (razΓ³n social), SCIAN activity, address, and geo coordinates, so you get a state-scoped Mexican company database without touching the rest of the country.

What does the employee range (estrato) field mean?

The estrato field uses DENUE's standard personnel strata: "0 a 5 personas", "6 a 10 personas", "11 a 30 personas", "31 a 50 personas", "51 a 100 personas", "101 a 250 personas", "251 y mΓ‘s personas". It's a proxy for company size, not an exact headcount.


Need More Features?

Need additional filters, municipality-level breakdowns, or custom field mapping? File an issue or get in touch.

Why Use DENUE Scraper?

  • Official source β€” Pulls directly from INEGI's DENUE API, the same database used by the Mexican government for economic census and planning.
  • Geo-ready output β€” Every record includes latitude and longitude coordinates, so you can map results immediately without a geocoding step.
  • Free token, no scraping friction β€” The INEGI token takes 60 seconds to obtain and is genuinely free, which puts this dataset in a different category from most paid business directories.

You might also like

INEGI Mexico Indicators Scraper

parseforge/inegi-mexico-indicators-scraper

Query the INEGI BIE catalog for any Mexican economic or demographic indicator and return indicator_id, name, value, period, geo_area, unit, source, and last_updated. Filter by geographic area code for national, state, or municipal coverage to power research and macro dashboards.

Google Maps Mexico Scraper β€” Email + Leads

totaka/google-maps-mexico-scraper

Extract Mexican business leads from Google Maps β€” name, address, phone, email, website, rating and GPS. Emails auto-extracted from business websites. Mexico City, Guadalajara leads.

8

Amazon Mexico Scraper - Products, Prices, Ratings & Images

makework36/amazon-mexico-scraper

Scrape Amazon Mexico (amazon.com.mx) product listings by keyword or ASIN. Extracts title, price, rating, review count, images, category, and product URL. Fast HTTP scraping β€” no browser needed.

πŸ‘ User avatar

deusex machine

10

Doctoralia Mexico Scraper

automation-lab/doctoralia-mexico-scraper

Scrape public Doctoralia Mexico doctors and clinics by specialty and city. Export names, profiles, specialties, ratings, addresses, services, and prices.

πŸ‘ User avatar

Stas Persiianenko

2

Chedraui Mexico Grocery Price Scraper

scrapers_lat/chedraui-scraper

Scrape Chedraui Mexico product prices, EAN codes, stock, brands and installments by keyword or category. Export to JSON, CSV or Excel.

AU Business Leads Search API

b2b_lead_generation/au-business-leads-search-api

Pull contact lists from Australian business records by category and state. Type any keyword, pick a state, and get phone numbers, emails, and full addresses instantly. Works for any trade, service, or industry across all of Australia.

πŸ‘ User avatar

B2B Lead Generation

14

Asdeporte Mexico Race & Event Scraper

jungle_synthesizer/asdeporte-mexico-race-registration-events-scraper

Scrape race and sports event listings from Asdeporte, Mexico's leading endurance-sport registration platform. Returns events with name, date, location, modality, distances, price, organizer, and registration status.

πŸ‘ User avatar

BowTiedRaccoon

2

Emagister Mexico Course Scraper

unfenced-group/emagister-mx-scraper

Scrape 45,000+ training courses from Emagister Mexico. Extract title, provider, price, duration, location and rating.

πŸ‘ User avatar

Unfenced Group

2