πŸ‡ΈπŸ‡»El Salvador

Service to query Salvadoran citizens using the DUI (Unique Identity Document).

Salvadorian Citizen Information

GET - https://api.verifik.co/v2/sv/dui

The El Salvador DUI Information Lookup service allows you to effortlessly retrieve personal information associated with a DUI (Unique Identity Document) by using the document number. This service provides reliable and efficient access to essential details related to an individual's identity.

Implementation

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

Name
Type
Required?
Description
Example

documentNumber

String

True

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

123456789

dateOfBirth

String

True

Date of birth of the requested person. Valid format: DD/MM/YYYY

01/12/1995

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/sv/dui>',
  params: {documentNumber: '123456789',dateOfBirth:'01/12/1995'},
  headers: {
    Accept: 'application/json',
    Authorization: 'jwt <tu_token>'
  }
};

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

Response

{
    "data": {
        "arrayName": [
            "MATEO",
            "VERIFIK"
        ],
        "dateOfBirth": "1996-08-06",
        "documentNumber": "1234567890",
        "documentType": "DUISV",
        "firstName": "MATEO",
        "fullName": "MATEO VERIFIK",
        "lastName": "VERIFIK"
    },
    "signature": {
        "dateTime": "May 29, 2024 3:11 PM",
        "message": "Certified by Verifik.co"
    },
    "id": "2Z9GQ"
}

Last updated