Colômbia — PEP candidatos eleitorais
Filtre candidatos eleitorais que são pessoas politicamente expostas na Colômbia.
O que a chamada devolve
isPEPisCandidatefullNameedocumentNumbermatchesvazio numa ausência limpa
Casos de uso
- Filtre um diretório PEP da Colômbia antes da admissão.
- Guarde quem não está listado como HTTP 200.
- Busque por nome ou por número.
Referência da API
Endpoint
GET https://api.verifik.co/v2/co/pep/candidatos
Um acerto põe isPEP em true e isCandidate em true. Quem simplesmente não está neste diretório é HTTP 200 com isPEP false e matches vazio. Isso não é 404.
Headers
| Nome | Valor | Descrição |
|---|---|---|
| Content-Type | application/json | Formato da solicitação |
| Accept | application/json | Formato da resposta |
| Authorization | Bearer <seu_token> | JWT do cliente |
Parameters
| Nome | Tipo | Obrigatório | Exemplo | Descrição |
|---|---|---|---|---|
fullName | string | Condicional | MARIA LOPEZ | Nome. Basta sozinho. partyName, entityName ou country também são aceitos quando o diretório os tem. |
documentNumber | string | Condicional | 80123456 | Identificador de 4 a 30 caracteres. |
documentType | string | Não | CC | Opcional: CC, NIT, CE, PAS, TI, CD. |
Request
- Node.js / JavaScript
- Python
- cURL
import axios from "axios";
const options = {
method: "GET",
url: "https://api.verifik.co/v2/co/pep/candidatos",
params: {
fullName: "MARIA LOPEZ",
},
headers: {
Accept: "application/json",
Authorization: "Bearer <your_token>",
},
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error.response ? error.response.data : error.message);
}
import requests
url = "https://api.verifik.co/v2/co/pep/candidatos"
headers = {
"Accept": "application/json",
"Authorization": "Bearer <your_token>",
}
params = {
"fullName": "MARIA LOPEZ",
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
curl -X GET "https://api.verifik.co/v2/co/pep/candidatos?fullName=MARIA%20LOPEZ" \
-H "Accept: application/json" \
-H "Authorization: Bearer <your_token>"
Response
- 200 (Registro encontrado)
- 409 (Parâmetro ausente)
- 200 (Sem correspondência)
- 401 (Não autorizado)
- 500 (Fonte indisponível)
{
"data": {
"fullName": "MARIA LOPEZ",
"documentNumber": "80123456",
"isPEP": true,
"isCandidate": true,
"matches": [
{
"fullName": "MARIA LOPEZ"
}
]
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "MissingParameter",
"message": "At least one search parameter (documentNumber, fullName, partyName, entityName, or country) must be provided."
}
{
"data": {
"fullName": "CLEAN NAME",
"isPEP": false,
"isCandidate": false,
"matches": []
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
{
"code": "InternalServerError",
"message": "The official source is temporarily unavailable. Please retry shortly."
}
Notas
- Uma ausência limpa é HTTP 200 com
isPEPfalse. - Envie pelo menos um valor de busca.
- Não mapeie esse 200 para 404.
- Envie um JWT Bearer no cabeçalho
Authorization. - O JSON de exemplo ilustra os campos. Uma chamada real devolve o registro dos valores enviados.
- Não envie um indicador de bypass de cache. Esta página documenta apenas os parâmetros de cliente.
Sandbox
| Cenário | Parâmetros | Resultado |
|---|---|---|
| Registro na fonte | fullName: "MARIA LOPEZ" | 200 com isPEP true num acerto. |
| Valor obrigatório ausente | Omit every search value | 409 se nenhum valor for enviado. |
| Valor desconhecido | fullName: "CLEAN NAME" | 200 com isPEP false. A ausência limpa não é 404. |
401 when the bearer token is missing or rejected.