🇨🇴 Colômbia — Antecedentes judiciais (expedientes)
Endpoint
GET https://api.verifik.co/v2/co/rama/juzgado/expedientes
Envie documentType (somente CC), documentNumber e city na query (ex.: BOGOTA).
Cabeçalhos
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
Parâmetros
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | Apenas CC. |
documentNumber | string | yes | Número a consultar. |
city | string | yes | Código da cidade/circuito (ex.: BOGOTA, MEDELLIN). |
Requisição
- 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())
Resposta
- 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."
}
Notas
- A API aceita apenas
documentTypeCC. citydeve ser um código suportado pela integração.