This service allows you to verify if a document with a specified type and number is found in the FBI database. By providing the document type and number, the service returns information about the document owner, including their full name, first name, and last name. This is useful for verifying the authenticity and status of documents in relation to FBI records.

Parameters

Name Type ¿Required? Description Example
documentType String True Document type. Allowed values: CC,CE,PA,RC,TI,PEP,CCVE,NIT,CURP,DNI, CCEC. CC
documentNumber String True Document number to consult, without spaces or points. 123456789

Implementation

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/fbi>',
  params: {documentType: 'CC', documentNumber: '80251972'},
  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 200 - (Successful response)

{
  "data": {
    "documentType": "CC",
    "documentNumber": "80251972",
    "fullName": "WILVER VILLEGAS PALOMINO",
    "firstName": "WILVER",
    "lastName": "VILLEGAS PALOMINO",
    "arrayName": [
      "WILVER",
      "VILLEGAS",
      "PALOMINO"
    ],
    "foundInFBI": true,
    "urlFBI": "<https://www.fbi.gov/wanted/cei/wilver-villegas-palomino->"
  },
  "signature": {
    "dateTime": "June 28, 2022 12:36 PM",
    "message": "Certified by Verifik.co"
  }
}

Other response

Code Description Response Body
404 Not Found Information not found. {
"code": "NotFound",
"message": "Record not found.",
"signature": {
"dateTime": "August 31, 2022 3:24 PM",
"message": "Certified by Verifik.co"
}
}
409 Conflict Some parameters are missing. {
"code": "MissingParameter",
"message": "missing documentType\n. missing documentNumber\n"
}
409 Conflict Invalid documentType for this query. {
"code": "MissingParameter",
"message": "documentType must be one of: [DNIAR]"
}