🇪🇨Ecuador

Service to query Ecuadorian citizens using the National Identity Document.

Ecuadorian Citizen Information

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

This service allows users to obtain basic information about an individual based on their Ecuadorian identification number. By providing the document type and number as parameters, the service returns the person's full name, first and last names separately.

Implementation

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

NameTypeRequired?DescriptionExample

documentType

String

True

Document type. Allowed parameter: CCEC.

CCEC

documentNumber

String

True

Document number of the person to consult, without spaces or points.

123456789

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/ec/cedula>',
  params: {documentType: 'CCEC', documentNumber: '0123456789'},
    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": "CCEC",
    "documentNumber": "0123456789",
    "fullName": "MATEO VERIFIK",
    "firstName": "MATEO",
    "lastName": "VERIFIK",
    "arrayName": [
      "MATEO",
      "VERIFIK"
    ],
    "signature": {
        "dateTime": "March 12, 2024 6:16 PM",
        "message": "Certified by Verifik.co"
    },
    "id": "HR6YN"
}

Other responses

Last updated