This service allows users to check if an individual's full name, document type, and document number are listed in the DEA watchlist. The service returns a boolean flag indicating whether the individual is found in the watchlist, along with a URL to access the DEA's official record of the individual, if applicable. This service is useful for verifying if individuals are on the DEA's watchlist for compliance and regulatory purposes.
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/dea>',
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": "123456789",
"fullName": "MATEO VERIFIK",
"firstName": "MATEO",
"lastName": "VERIFIK",
"arrayName": [
"MATEO",
"VERIFIK"
],
"foundInDEA": true,
"urlDEA": "[<https://www.dea.gov/fugitives/ismael-zambada-garcia>](<https://www.dea.gov/fugitives/ismael-zambada-garcia>)"
},
"signature": {
"dateTime": "June 28, 2022 11:41 AM",
"message": "Certified by [Verifik.co](<http://verifik.co/>)"
}
}
Other responses
|
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]" |
|
|
|
} |
|
|
|