Validation RENAPO / CURP

Valids that a CURP and returns complete information about the person registered.


Endpoint

POST/api/v1/official-list/mx/curp/validate

Valid a CURP against RENAPO

Leaders

LeaderValueRequired
AuthorizationBearer <api-key-jwt>Yes
Content-Typeapplication/jsonYes

Body

NameTypeRequiredDescription
curpstringCURP To validate. Format: 18 characters (4 letters + 6 digits date + 1 letter H / M + 5 letters + 2 alphanum).

Example

curl -X POST https://services.api.jaak.ai/api/v1/official-list/mx/curp/validate \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..." \
  -H "Content-Type: application/json" \
  -d '{"curp": "PEGJ800115HDFRRL09"}'

Successful response (200 OK)

{
  "curp": "PEGJ800115HDFRRL09",
  "isValid": true,
  "message": "",
  "eventId": "evt_345mno",
  "details": {
    "segments": {
      "consonants": "PGJ",
      "homonymy": "80",
      "verificationDigit": "9"
    },
    "person": {
      "fullName": "_",
      "fullPaternalSurname": "PEREZ",
      "fullMaternalSurname": "GARCIA",
      "gender": "HOMBRE",
      "birthDate": "1980-01-15",
      "birthEntity": "CDMX",
      "nationality": "MEXICAN",
      "renapoGender": "HOMBRE",
      "renapoBirthDate": "15/01/1980",
      "entityName": "Mexico City"
    },
    "probatoryDocument": {
      "registrationYear": "1980",
      "book": "A001",
      "certificateNumber": "12345",
      "registryEntity": "Civil Registry"
    }
  }
}
SectionDescription
segmentsStructural decomposition of CURP (locally verified).
personDemographic data RENAPO.
probatoryDocumentAct of birth supporting CURP (if RENAPO ).

Response CURP Invalid (200 OK)

{
  "curp": "INVALIDA",
  "isValid": false,
  "message": "CURP Not found in RENAPO",
  "eventId": "evt_345mno"
}

Mistakes

HTTPerrorCodeDescription
4000002CURP with invalid format (length, regex)
401—API Invalid Key
5000000Error consulting RENAPO

Validate format without consulting RENAPO

If you only have to validate the format of CURP at local level (with no consumption of RENAPO) with regex:

^[A-Z]{4}\d{6}[HM][A-Z]{5}[A-Z0-9]{2}$
  • Positions 1-4:4 letters
  • Positions 5-10: date of birth YYMMDD
  • Position 11: H (man) or M (woman)
  • Positions 12-16:5 letters
  • Positions 17-18:2 alphanumeric (autoclaves)