🇨🇷Costa Rica

Service to query Costa Rican citizens using the National Identity Document.

Costa Rican Citizen Information

GET - https://api.verifik.co/v2/cr/cedula

This service allows you to verify the authenticity of a Costa Rican National ID card (Cédula) by providing the document number. The response includes the cardholder's full name, along with their first and last names separately.

This service is useful for confirming the validity of a Costa Rican National ID for various purposes, such as identity verification and background checks.

To use this service in a graphical interface, we invite you to access our client panel at Verifik.

Implementation

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

NameType¿Required?DescriptionExample

documentType

String

True

Document type. Allowed parameter: CCCR.

CCCR

documentNumber

String

True

Document number of the person to consult without spaces.

123456789

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/cr/cedula>',
  params: {documentType: 'CCCR', documentNumber: '123456789'},
  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": "CCCR",
    "documentNumber": "123456789",
    "fullName": "MATEO VERIFIK",
    "firstName": "MATEO",
    "lastName": "VERIFIK",
    "arrayName": [
      "MATEO",
      "VERIFIK"
    ]
  },
  "signature": {
    "dateTime": "April 11, 2023 12:25 PM",
    "message": "Certified by Verifik.co"
  }
}

Last updated