メキシコ — 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.