Skip to main content

哥伦比亚 — PEP 选举候选人

筛查哥伦比亚选举中的政治公众人物候选人。

调用返回的内容​

  • isPEP
  • isCandidate
  • fullName 与 documentNumber
  • 单纯未命中时 matches 为空

使用场景​

  • 准入前对照哥伦比亚 PEP 名录。
  • 把未列入的人存为 HTTP 200。
  • 按姓名或证件号检索。

API 参考​

Endpoint​

GET https://api.verifik.co/v2/co/pep/candidatos

命中时 isPEP 为 true,且 isCandidate 为 true。只是不在本名录中是 HTTP 200,isPEP 为 false,matches 为空。不是 404。

Headers​

名称值说明
Content-Typeapplication/json请求格式
Acceptapplication/json响应格式
AuthorizationBearer <token>客户端 JWT

Parameters​

名称类型必填示例说明
fullNamestring条件必填MARIA LOPEZ只发姓名即可。名录有这些字段时也接受 partyName、entityName 或 country。
documentNumberstring条件必填80123456标识 4 到 30 个字符。
documentTypestring否CC可选:CC、NIT、CE、PAS、TI、CD。

Request​

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);
}

Response​

{
"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"
}
}

说明​

  • 单纯未命中是 HTTP 200,且 isPEP 为 false。
  • 至少发送一个检索值。
  • 不要把这个 200 映射成 404。
  • 在 Authorization 头中发送 Bearer JWT。
  • JSON 示例只说明字段形状。实际调用返回你所发送数值对应的记录。
  • 不要发送绕过缓存的标志。本页只记录客户端参数。

沙盒​

场景参数结果
数据源有记录fullName: "MARIA LOPEZ"命中时 isPEP 为 true 的 200。
缺少必填值Omit every search value没有检索值时为 409。
未知的值fullName: "CLEAN NAME"isPEP 为 false 的 200。单纯未命中不是 404。

401 when the bearer token is missing or rejected.