멕시코 — INE 검증
멕시코 INE(Credencial para Votar)를 선거인명부에 대해 검증합니다. documentType=INE와 documentNumber의 기본 식별자를 전송하세요. API는 값이 CIC(9자리), OCR(13자리) 또는 clave de elector(18자)인지 자동 감지합니다.
선택 필드는 공식 소스가 요구하는 카드 모델 조합을 지원합니다:
citizenIdentifier— 모델 E, F, G, H에서 CIC와 함께 필요emissionNumber— 모델 C에서 OCR 및 clave de elector와 함께 필요model— 올바른 조합을 선택하기 위한 선택적 힌트(C–H)
CURP 이름 조회는 멕시코 시민(CURP) (v2/mx/curp)을 사용하세요. 이미지에서 필드를 추출하려면 멕시코 — INE OCR (v2/mx/ine/ocr)을 사용하세요.
API reference
Endpoint
https://api.verifik.co/v2/mx/ine
Submit an INE identifier to obtain electoral status, validity, emission metadata, and related registry fields when the credential is recognized.
Headers
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
documentType | string | Yes | Allowed value: INE. | INE |
documentNumber | string | Yes | CIC (9 digits), OCR (13 digits), or clave de elector (18 alphanumeric). | 187639699 |
citizenIdentifier | string | No | Citizen identifier from the back of the card. Needed for models E–H with CIC. | 031206745 |
emissionNumber | string | No | Emission number. Needed for model C. | 1 |
model | string | No | Optional card model hint: C, D, E, F, G, or H. | E |
Request
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/mx/ine", {
params: {
documentType: "INE",
documentNumber: "187639699",
},
headers: { Accept: "application/json", Authorization: `Bearer ${process.env.VERIFIK_TOKEN}` },
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/mx/ine"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentType": "INE", "documentNumber": "187639699"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
Response
- 200
- 404
- 409
{
"data": {
"cic": "187639699",
"documentNumber": "187639699",
"documentType": "INE",
"electorKey": "CSFTGV76061131H400",
"emissionNumber": "1",
"emissionYear": "2018",
"federalDistrict": "04",
"identifierType": "cic",
"localDistrict": "03",
"message": "Vigente como medio de identificacion y puede votar",
"messageCode": "3",
"ocr": "0276031206745",
"registrationYear": "2010",
"status": "OK",
"validity": "31 de diciembre de 2030"
},
"signature": {
"dateTime": "July 14, 2026 10:00 AM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentNumber\n"
}
Notes
documentTypemust beINE.documentNumberauto-detects CIC (9 digits), OCR (13 digits), or clave de elector (18 alphanumeric).- Models E–H typically need
citizenIdentifierwith CIC; model C needsemissionNumberwith OCR and clave de elector. - Negative electoral verdicts (for example not vigente) still return HTTP 200 with
statusandmessagereflecting the registry result. - Sandbox fixtures:
187639699,0276031206745,CSFTGV76061131H400. Document900404019returns 404. - Related: Mexican Citizen (CURP), Mexico — INE OCR.