Validation INE
Upwards the front image of a credential INE and receives the data extracted together with the status of validity against the best name of the National Electoral Institute.
Validate without image
If you just have to validate the elector key against an image-free best name, use endpoint from Lists PLD / AML with services.ine: true.
Endpoint
POST
/api/v1/government/mx/ine/verifyBearer TokenCheck a INE from document image
Leaders
| Leader | Value | Required |
|---|---|---|
Authorization | Bearer <api-key-jwt> | Yes |
Content-Type | application/json | Yes |
Body
| Name | Type | Required | Description |
|---|---|---|---|
image | string | Front image of INE at base64 (with or without prefix data: image / jpeg; base64,) |
Example
curl -X POST https://services.api.jaak.ai/api/v1/government/mx/ine/verify \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..." \
-H "Content-Type: application/json" \
-d "{\"image\": \"$(base64 < ine_front.jpg)\"}"
Successful response (200 OK)
{
"eventId": "evt_123abc",
"requestId": "req_456def",
"timestamp": "2026-04-25T10:30:00Z",
"processTime": 1200.5,
"status": "success",
"data": {
"estado": "CDMX",
"municipio": "Cuauhtémoc",
"nombre": "JUAN",
"apellidoPaterno": "PEREZ",
"apellidoMaterno": "GARCIA",
"curp": "PEGJ800115HDFRRL09",
"ocr": "1234567890123",
"cic": "123456789",
"vigencia": "2028-01-15",
"sexo": "HOMBRE",
"modelo": "2020",
"tipo": "TEMPORAL"
}
}
Mistakes
| HTTP | errorCode | Description |
|---|---|---|
| 400 | GOV_VINE_004 | The field's missing image |
| 401 | — | API Invalid Key |
| 503 | GOV_VINE_002 | Validaine service not available |
| 500 | GOV_VINE_006 | Error checking against INE |
Notes
- Recommended minimum resolution: 1500 px wide. Optimal document collection.
- The field
vigenciacomes in format ISOYYYY-MM-DD. modeloindicates the generation of INE (2008,2013,2014,2019,2020).