🇭🇳Honduras

Servicio para consultar ciudadanos de Honduras mediante el DNI (Documento Nacional de Identidad).

Información de Ciudadanos Hondureños

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

Este servicio permite verificar la validez de una tarjeta de identificación hondureña proporcionando el tipo de documento DNIHN y el número de documento.

La respuesta confirma la validez del documento y proporciona detalles relevantes asociados al mismo. Para utilizar este servicio en una interfaz gráfica, te invitamos a ingresar a nuestro panel de cliente en Verifik.

Implementación

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.

123456789

documentType

String

True

Type of document to consult. Allowed parameter: DNIHN.

DNIHN

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/hn/cedula>',
  params: { documentNumber: '123456789', documentType:'DNIHN'},
  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"
        ],
        "documentNumber": "1234567899876",
        "documentType": "DNIHN",
        "firstName": "MATEO",
        "fullName": "MATEO VERIFIK",
        "lastName": "VERIFIK"
    },
    "signature": {
        "dateTime": "July 10, 2024 5:16 PM",
        "message": "Certified by Verifik.co"
    },
    "id": "303NP"
}

Last updated