🇨🇴 哥伦比亚 — 司法记录(法院案件)
端点
GET https://api.verifik.co/v2/co/rama/juzgado/expedientes
在 query 中传入 documentType(仅 CC)、documentNumber、city(如 BOGOTA)。
标头
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
参数
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | 仅 CC。 |
documentNumber | string | yes | 要查询的号码。 |
city | string | yes | 司法辖区城市代码(如 BOGOTA、MEDELLIN)。 |
请求
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/rama/juzgado/expedientes", {
params: { documentType: "CC", documentNumber: "1234567890", city: "BOGOTA" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/rama/juzgado/expedientes"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentType": "CC", "documentNumber": "1234567890", "city": "BOGOTA"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
响应
- 200
- 404
{
"data": {
"documentType": "CC",
"documentNumber": "1234567890",
"city": "BOGOTA",
"courtOfepms": "EPMS EXAMPLE",
"filingNumber": "2024-000123"
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "March 3, 2022 3:55 PM"
},
"id": "ABC12"
}
{
"code": "NotFound",
"message": "Record not found."
}
备注
- API 仅接受
documentType=CC。 city须为集成支持的代码。