Guide · Mexico · API

Mexico company data API: look up a company by LEI or number

Mexican companies in the same record shape as every other country: one key, one call, the sources credited. Mexico is served from two sources: the companies that hold a Legal Entity Identifier, and the companies of INEGI's DENUE directory of economic units. It is not the Mexican company register and not a list of all Mexican companies. Here is the call, the fields, and what the sources do not hold.

Mexico at a glance

Register: GLEIF (LEI-registered entities) and INEGI (DENUE directory of economic units)

Identifiers LEI, Company number of this API (DENUE), LEI

  • Company recordsSelected sources only
  • OfficersNo
  • Insolvency noticesNo
  • Corporate eventsLEI records only
  • MonitoringFull for LEI records
  • Financial statementsNo
  • VAT numberNo
  • NACE classNo
  • UpdatedDaily

The guide below states the limits of every row. Financial statements are on the Scale plan and above; the other plans and the free trial get 10 calls a month.

Price From EUR 9.99 a month (Starter plan)

In other languagesEspañol

Sign up

Try Mexico live

Look up a company in Mexico with the shared demo key. No sign-up.

The demo key is shared and capped per page view; your own key has the limits of your plan.

Two sources, one record per company

Companies with an LEI. From the golden copy of the Global Legal Entity Identifier Foundation (GLEIF), read every day. The company number is the 20-character LEI. A record holds the legal name, the legal form, the status (active, deregistered or merged), the registered address and the founding date where GLEIF has it. Register-change events and monitoring are available for these companies.

Companies of the DENUE directory. DENUE is the Directorio Estadístico Nacional de Unidades Económicas of INEGI, Mexico's national statistics institute. It is a statistical directory of economic units (establishments), not a company register: the Registro Público de Comercio publishes no open data. The units of one company are grouped into one record by INEGI's enterprise code and name, as DENUE publishes them and not checked against the commercial register. Two companies with the same name are not merged.

An LEI holder that is also in DENUE keeps GLEIF's name, form, status, dates and address (registry_details.source stays gleif) and gains the SCIAN code and title, the size band, establishments, denue_listed_since, denue_id, denue_edition and the website. The DENUE address is used only where GLEIF gave none.

The call

The same endpoint as every other live country, with country=MX. A company is found by its LEI (20 characters, the ISO 17442 check is enforced), by the number of this API when only DENUE lists it, or by name:

# by LEI
curl -H "Authorization: Bearer rk_live_..." \
  "https://api.prometiam.com/functions/v1/risk-api/companies/search?company_number=03P54FSI5G2DPST5NZ10&country=MX"

# by the number of this API (a company only DENUE lists)
curl -H "Authorization: Bearer rk_live_..." \
  "https://api.prometiam.com/functions/v1/risk-api/companies/search?company_number=E0042-0A1B2C3D&country=MX"

# by name
curl -H "Authorization: Bearer rk_live_..." \
  "https://api.prometiam.com/functions/v1/risk-api/companies/search?name=paccar&country=MX"

A value that is neither a valid LEI nor a number of this API answers with a 400 validation error. A company search or record is 1 credit.

What a record holds

FieldNotes
company_numberThe LEI, for example 03P54FSI5G2DPST5NZ10, or, for a company only DENUE lists, the number of this API: E0042-0A1B2C3D or U1001.
company_nameLEI holders: GLEIF's legal name. DENUE: the name as INEGI publishes it, which strips the legal form from most names.
legal_formLEI holders: GLEIF's form. DENUE: only where the name carries a legal form.
statusLEI holders: active, deregistered or merged. DENUE: always empty (status null, local_status unknown), because the directory says nothing of a company's life. There is no dissolution date.
founding_dateLEI holders only, where GLEIF has it. A company only DENUE lists has no founding date and so no age. registry_details.denue_listed_since is the month the earliest unit entered DENUE, not a founding date.
address, postal_code, city, regionThe head-office address with postal code, municipality and locality (registry_details.address_basis is head_office, only_establishment or largest_establishment). The region is the state, written MX- and its ISO 3166-2 code.
activity_code, activity_descriptionThe SCIAN 2018 code of the head-office unit (6 digits) and INEGI's title; activity_code_scheme is MX-SCIAN-2018. No NACE, ISIC or NAICS class is derived from it.
employee_bandThe size band of the largest unit (0-5, 6-10, 11-30, 31-50, 51-100, 101-250 or 251+). A floor for the company, never a head count.
registry_details.establishmentsThe number of units DENUE lists under the name. It can undercount: a unit listed without a razón social is not counted.
websiteOnly where DENUE gives a plausible host name.
registry_details.denue_editionThe DENUE edition the record was read from (YYYY-MM).
source_providerINEGI for what comes from DENUE.

Who counts as a company

A DENUE unit is served as a company only when it carries a razón social and shows evidence of being a company's: a legal form in the name, a word that says business, a second unit under the same INEGI enterprise code, or a match with an LEI holder. The civil company (S.C.) and the cooperatives are kept.

Natural persons, public bodies, public-sector schools, associations (A.C., I.A.P., condominiums, committees, foundations, self-help groups), funds, trusts, branches and sole establishments are screened out. They are screened out, not guaranteed out: a person, a public body or an association can still slip through.

Company numbers and editions

A company only DENUE lists has E plus the four digits of INEGI's enterprise code, a dash and eight hexadecimal digits (E0042-0A1B2C3D; sixteen when two names collide), or U plus INEGI's unit id (U1001). It is an identifier of this API, not an INEGI or tax number. It is not promised stable until a second INEGI edition has been compared, so do not keep it as a permanent key without checking it after a new edition.

INEGI publishes the directory about twice a year. registry_details.denue_edition is the edition a record was read from.

Register-change events and monitoring

LEI holders have register-change events (name, status, legal form and registered address; none before the Mexico launch) and monitoring. A company only DENUE lists has no register-change events, and its monitoring raises sanctions matches only: the directory gives no status, so no status or dissolution alert can fire.

What is not in it

  • The company register. DENUE is a statistical directory and does not hold every Mexican company.
  • Founding date, age and dissolution date of a company only DENUE lists.
  • Officers, shareholders, share capital, phone number, e-mail address and trade name. They are not in the sources.
  • RFC and VAT number. Neither is served; vat_number is null and a vat search is refused.
  • NACE, ISIC and NAICS classes. The SCIAN code is not translated into any of them.
  • Financial statements and insolvency notices. Neither is served; Mexico is not one of the sixteen insolvency markets.
  • Natural persons, public bodies, public-sector schools, associations, funds, trusts and branches. They are screened out, not guaranteed out.

Source and related guides

Fuente: INEGI, Directorio Estadístico Nacional de Unidades Económicas (DENUE) 05/2026. Adapted by Prometiam; not an INEGI product and not endorsed by INEGI. The edition in this line changes when INEGI publishes a new one.

Contains LEI data from the Global Legal Entity Identifier Foundation (GLEIF), available under CC0 1.0. Not an extract of the Mexican company register.