🇲🇽Mexican

Service to query a Mexican citizen using CURP (Unique Population Registry Code).

Mexican Citizen Information with CURP

GET - https://api.verifik.co/v2/mx/curp

The CURP service allows you to easily verify the identity of Mexican citizens by their CURP number. With this service, you can obtain important personal information such as the full name, date of birth, nationality, and document proof for a given CURP number.

The returned data also includes details about the place of registration and other relevant information, making it an essential tool for identity verification and fraud prevention purposes.

Implementation

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

NameTypeRequired?DescriptionExample

documentType

String

True

Document type. Valid parameter: CURP.

CURP

documentNumber

String

True

Document of the person to consult, without spaces or periods.

123456789

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/mx/curp>',
  params: {documentNumber: 'ABCD890513ABCDEF09', documentType: 'CURP'},
  headers: {
    Accept: 'application/json',
    Authorization: 'jwt <tu_token>'
  }
};

try {
 notFou const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}

Response

{
  "data": {
    "documentType": "CURP",
    "documentNumber": "ABCD890513ABCDEF09",
    "curp": "ABCD890513ABCDEF09",
    "dateOfBirth": "13/05/1989",
    "names": "MATEO VERIFIK",
    "secondSurname": "VERIFIK",
    "sex": "MASCULINO",
    "surname": "VERIFIK"
  },
  "signature": {
    "dateTime": "December 29, 2023 1:58 AM",
    "message": "Certified by Verifik.co"
  },
  "id": "DB78U"
}

Last updated