Mexico Company Data — DENUE Business Directory (5M+) avatar

Mexico Company Data — DENUE Business Directory (5M+)

Pricing

from $4.00 / 1,000 results

Go to Apify Store
Mexico Company Data — DENUE Business Directory (5M+)

Mexico Company Data — DENUE Business Directory (5M+)

Search ~5M Mexican businesses from INEGI's official DENUE directory by keyword, location or activity. Name, economic activity, size band, full address, geo-coordinates + phone/email/website. Official open data — commercial reuse permitted. No API key needed.

Pricing

from $4.00 / 1,000 results

Rating

0.0

(0)

Developer

Berkan Kaplan

Berkan Kaplan

Maintained by Community

Actor stats

0

Bookmarked

17

Total users

2

Monthly active users

2 hours ago

Last modified

Share

Mexico Company Data — DENUE (INEGI) 🇲🇽

foXLabs Americas company-registry series: Brazil · Canada · Colombia · Peru

🎉 Turn the Mexican DENUE directory into clean, structured business data — no login, no API key, one row per establishment, with the economic activity, size band, address and coordinates. Built for B2B sales, lead generation, KYB / compliance and market-research teams.

🔍 What is the Mexico Company Data — and when should you use it?

Give this actor company names or a location and it returns matching establishments from the Mexican DENUE business directory (INEGI open API) — as clean, deduplicated rows you can filter, export or feed to an AI agent. Every run queries the source live, so the data is as fresh as the registry itself.

Use it when you need: Mexican businesses by activity and location; establishment lists for territory planning; or a directory record for a company.

Use something else when: you need financials — DENUE is a business directory (activity, size band, contacts, coordinates), not a financial database.

🤖 Use with AI agents

Already on the Apify MCP server? Ask for this Actor by name: foxlabs/mexico-denue-company-data.

Your agent can pay for its own runs. This Actor is pay-per-event with agentic payments, so an agent can discover it, run it and settle the bill over x402 (USDC on Base) or Skyfire — no Apify account or API token of its own. Billing is the same either way: per delivered record, never for errors.

Otherwise paste this into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

I want to pull Mexico company records using the Apify Actor `foxlabs/mexico-denue-company-data`.
Input: `queries` is a list of company names or a location. `maxResultsPerQuery` caps rows per query.
Start with: {"queries":["undefined"],"maxResultsPerQuery":50}
Ask me what to look up, run the Actor, then summarise the rows as a table.

The machine-readable API, MCP config and OpenAPI definition live at apify.com/foxlabs/mexico-denue-company-data.md.

📋 Overview

Everything you need to turn the Mexican DENUE business directory (INEGI open API) into clean, structured data — in one actor, with no login, cookies or API key.

Why teams pick this actor:

  • Whole registry, one call — name or ID in, matching companies out.
  • 🧹 No empty-promise columns — only fields this registry actually fills; degenerate columns are removed.
  • 🔗 Stable identifiers — every row carries the source's own IDs, ready to join across runs and to other Fox Labs actors.
  • 💰 Pay only for results — per-row pricing, empty/failed lookups never billed.
  • 🤖 Agent-ready — MCP + x402 agentic payments.

✨ Features

  • 🔍 Name or ID lookup — relevance-ranked name search or exact registry-ID lookup.
  • 🏢 Full entity profile — status, legal form, formation date, address and the registry’s own contact fields.
  • 🧹 Clean schema — deduplicated camelCase rows, ready for CSV/Excel/JSON.

🎬 Quick Start

curl -X POST "https://api.apify.com/v2/acts/foxlabs~mexico-denue-company-data/runs?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"queries":["undefined"],"maxResultsPerQuery":50}'

🚀 Getting Started (3 steps)

  1. Choose your targets — company names or a location.
  2. Set the capmaxResultsPerQuery limits rows per query.
  3. Run and export — get a clean dataset as JSON, CSV or Excel.

📥 Input

{"queries":["undefined"],"maxResultsPerQuery":50}
FieldTypeDescription
queriesarrayCompany names or a location.
maxResultsPerQueryintegerCaps rows per query.
maxConcurrencyintegerHow many queries to fetch at once.
includeRawbooleanAttach the source’s untouched record under raw.

📤 Output

One row per company, saved to the dataset. Every row also carries query, scrapedAt, and — when a lookup fails — an error explaining why (never silently dropped, never billed).

FieldDescription
idId
cleeClee
nameName
legalNameLegal Name
activityActivity
sizeBandSize Band
establishmentTypeEstablishment Type
streetStreet
exteriorNumberExterior Number
interiorNumberInterior Number
neighborhoodNeighborhood
postalCodePostal code
municipalityMunicipality
stateState / province
fullAddressFull Address
latitudeLatitude
longitudeLongitude
phonePhone
emailEmail
websiteWebsite
hasContactHas Contact
contactMethodsContact Methods
sourceSource
sourceUrlPublic registry URL for the record
licenseLicense

💼 Use cases

1. Mexico B2B lead lists — establishments by activity and location. Input: name searches or a location. Output: establishments + activity + coordinates. Use: a ready territory list.

2. Market mapping — map businesses by size and area. Input: a location. Output: establishments + coordinates. Use: build a coverage map.

3. Directory enrichment — attach activity and size to a business. Input: company names. Output: the DENUE record. Use: enrich a lead.

🔗 Integration

JavaScript / Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('foxlabs/mexico-denue-company-data').call({"queries":["undefined"],"maxResultsPerQuery":50});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);

Python

from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('foxlabs/mexico-denue-company-data').call(run_input={"queries":["undefined"],"maxResultsPerQuery":50})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
print(item)

Automation (n8n / Zapier / Make): schedule or webhook → HTTP request to the actor API with your queries → handle the JSON dataset → push to a sheet, CRM or dashboard.

📊 Pricing

Pay-per-event: per delivered record. Empty or failed lookups are never billed. View current pricing.

❓ FAQ

Do I need an account, login or API key? No. This reads the Mexican DENUE business directory (INEGI open API).

What do I search by? Company names or a location.

How current is the data? Every run queries the source live, so results are as fresh as the registry.

Does it include contact details? Where DENUE publishes them: phone, email and website, plus economic activity, size band and coordinates.

Can I export to CSV / Excel / JSON? Yes — directly from the Apify dataset.

🐛 Troubleshooting

  • Fewer rows than expected — raise maxResultsPerQuery, or refine the name.
  • A name returns an unexpected entity — it matched a similar registered name; search the exact registry ID.
  • No rows for a name — try the entity’s exact legal name or its registry ID.

This actor reads a public government business registry published as open data. Results can still contain personal data (e.g. a registered agent’s name); personal data is protected by the GDPR and similar laws, so only process it with a legitimate basis. See Apify’s blog post on the legality of web scraping.

🤝 Support & contact

Changelog

0.1 — 2026-09-07

  • Enabled AI-agent payments (x402) + rebuilt the README to the full standard (What-is / when, AI-agents + x402 agentic payments + MCP, Overview, Features, Use cases, Integration, FAQ, Troubleshooting, Support & contact).

0.0

  • Initial release: data from the Mexican DENUE business directory (INEGI open API) by name or registry ID.