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/verify

Check a INE from document image

Leaders

LeaderValueRequired
AuthorizationBearer <api-key-jwt>Yes
Content-Typeapplication/jsonYes

Body

NameTypeRequiredDescription
imagestringFront 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

HTTPerrorCodeDescription
400GOV_VINE_004The field's missing image
401—API Invalid Key
503GOV_VINE_002Validaine service not available
500GOV_VINE_006Error checking against INE

Notes

  • Recommended minimum resolution: 1500 px wide. Optimal document collection.
  • The field vigencia comes in format ISO YYYY-MM-DD.
  • modelo indicates the generation of INE (2008, 2013, 2014, 2019, 2020).