Updated November 2026
This guide shows how to verify a CURP in Mexico with Verifik’s API: the endpoint, its parameters, a request you can paste into a terminal, the documented response and errors, and what to watch for when you put it in production. Everything below comes from the official endpoint documentation.
About the CURP in Mexico
The Clave Única de Registro de Población (CURP) is an 18-character code assigned by RENAPO, Mexico’s national population registry. Every resident has one, and it is required for tax, payroll, banking and government services.
The CURP encodes data about its holder: letters from the name, the birth date as YYMMDD, sex (H or M), a two-letter state code (NE for people born abroad), internal consonants, a century character (0–9 for 1931–1999 births, A–J for 2000–2030) and a final check digit. Verifik checks this layout before calling the registry, so obvious typos never reach RENAPO.
Want to try it? Create your Verifik account and make your first call today.
How to call the Mexico CURP API
Endpoint: GET https://api.verifik.co/v2/mx/curp. Send your token in the Authorization: Bearer header. Parameters, as documented:
| Parameter | Required | Description |
|---|---|---|
documentType | Yes | Allowed value: CURP. |
documentNumber | Yes | The CURP value to validate. |
Request example with placeholder values (replace them with your user’s data):
curl --location --request GET 'https://api.verifik.co/v2/mx/curp?documentType=CURP&documentNumber=ABCD890513HDFXXX09' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'200 response from the docs (personal data masked):
{
"data": {
"documentType": "CURP",
"documentNumber": "AB**************09",
"firstName": "J***",
"lastName": "P****",
"fullName": "J*** P****",
"dateOfBirth": "1989-**-**",
"nationality": "Mexican"
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "January 16, 2024 3:44 PM"
},
"id": "MX001"
}A successful call returns HTTP 200 with a data object containing: documentType, documentNumber, firstName, lastName, fullName, dateOfBirth, nationality. Every response also carries a signature (timestamp and “Certified by Verifik.co”) and a unique id you can store as evidence of the check.
Documented errors for /v2/mx/curp
- 409
InvalidCurp(“CURP check digit is invalid. The last character should be 0”): a required parameter is missing or has an invalid value; fix the request instead of retrying it as is.
Integration tips
- A CURP that fails length, layout, date, sex, state code, century character or check digit returns 409
InvalidCurpwithout calling the registry, and the message includes the expected check digit. - The check digit is calculated from the first 17 characters with the RENAPO dictionary (0–9, A–Z including Ñ), weights 18 down to 2, and
(10 - (sum % 10)) % 10. Running it in your form saves calls. - The response includes
dateOfBirthandnationality; compare the birth date with the one the user declared. - For full KYC in Mexico, pair the CURP check with INE credential validation.
Personal data and terms of use
Identity lookups process personal data. Use the API only for a lawful purpose you can document, such as onboarding, fraud prevention or contract checks, collect consent where the local law requires it, and keep only the fields you need. Usage is governed by the smartCHECK terms and conditions.
Pricing
Each successful request consumes credits from your Verifik plan. Current plans and per-endpoint costs are on the smartCHECK pricing page.
Related guides and documentation
- Mexico INE verification API
- Mexico FME company lookup API
- Endpoint documentation (English)
- Documentation in Spanish
Start testing
Create a Verifik account to get your API token, or book a meeting if you want to review coverage and volumes with the team.




