Mexico โ ISSSTE Social Security Affiliation
Verifik's Mexico ISSSTE Affiliation API allows organizations, employers, and compliance teams to verify a citizen's public sector social security affiliation status and retrieve official non-affiliation certificates directly using an 18-character CURP (Clave รnica de Registro de Poblaciรณn):
- Labor Status Verification: Determines whether the person is currently active (ACTIVO), inactive with historical records (INACTIVO), or unlocated (NO LOCALIZADO) in the federal public sector social security registry.
- Certified Digital Details: Extracts the official certificate metadata, including barcode folio number, unique identifier (UUID), issuance timestamp, and cryptographic digital seal.
- Official Signed PDF Document: Generates and downloads the official digitally signed PDF certificate (Constancia de Acreditaciรณn de No Afiliaciรณn) encoded as Base64 when requested (
includePdf=true). - Federal Demographic Validation: Validates and returns the citizen's official legal name parsed into
firstName,paternalSurname,maternalSurname,dateOfBirth,sex, andgender.
What does this API validate?โ
- Affiliation Status (
affiliationStatus): Reports whether the individual has an active public sector labor relationship with the Mexican government (ACTIVO), previously worked in the federal public sector but is now inactive (INACTIVO), or has never had registered contributions (NO LOCALIZADO). - Demographic Confirmation: Verifies the citizen's identity and returns normalized demographic attributes:
firstName,lastName,paternalSurname,maternalSurname,dateOfBirth(YYYY-MM-DD),sex, andgender. - Digital Certificate Verification (
certificate): Returns the official certificate details:folio: The unique registration folio printed alongside the barcode (e.g.082611565).uuid: The official cryptographic UUID tracking the certification record.issuedAt: The precise date and time of certificate generation.digitalSeal: The base64-encoded official cryptographic hash ensuring tamper-proof legal validity.pdfBase64: (Optional) The complete official digitally signed PDF certificate.
- Verifik Cryptographic Signature: Every response is signed by Verifik to certify origin and timestamp integrity.
API Referenceโ
Endpointโ
GET https://api.verifik.co/v2/mx/issste/affiliation
Headersโ
| Name | Value | Description |
|---|---|---|
Accept | application/json | Required response content type. |
Authorization | Bearer <token> | Your Verifik API JWT or client token. |
Parametersโ
| Name | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
documentNumber | string | Yes | โ | Mexican CURP (18 characters). Case-insensitive. | LOPE900501HDFGRN01 |
documentType | string | No | CURP | Document type. Allowed value: CURP. | CURP |
includePdf | boolean | No | false | Whether to return the official digitally signed PDF certificate encoded as Base64 in certificate.pdfBase64. | true |
Requestโ
- cURL
- cURL (with PDF)
- Node.js
- Python
curl -X GET "https://api.verifik.co/v2/mx/issste/affiliation?documentNumber=LOPE900501HDFGRN01&documentType=CURP" \
-H "Accept: application/json" \
-H "Authorization: Bearer $VERIFIK_TOKEN"
curl -X GET "https://api.verifik.co/v2/mx/issste/affiliation?documentNumber=LOPE900501HDFGRN01&includePdf=true" \
-H "Accept: application/json" \
-H "Authorization: Bearer $VERIFIK_TOKEN"
import axios from "axios";
const response = await axios.get("https://api.verifik.co/v2/mx/issste/affiliation", {
params: {
documentNumber: "LOPE900501HDFGRN01",
documentType: "CURP",
includePdf: true,
},
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(response.data);
import os
import requests
url = "https://api.verifik.co/v2/mx/issste/affiliation"
headers = {
"Accept": "application/json",
"Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"
}
params = {
"documentNumber": "LOPE900501HDFGRN01",
"documentType": "CURP",
"includePdf": "true"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
Responseโ
- 200 (Inactive / Non-affiliated)
- 404 (Not Found)
- 409 (Missing / Invalid Parameter)
{
"data": {
"documentType": "CURP",
"documentNumber": "LOPE900501HDFGRN01",
"curp": "LOPE900501HDFGRN01",
"firstName": "MARIA ELENA",
"lastName": "LOPEZ GARCIA",
"fullName": "MARIA ELENA LOPEZ GARCIA",
"paternalSurname": "LOPEZ",
"maternalSurname": "GARCIA",
"dateOfBirth": "1990-05-01",
"sex": "M",
"gender": "MUJER",
"affiliationStatus": "INACTIVO",
"affiliationStatusDescription": "El ciudadano cuenta con registro previo en el ISSSTE pero se encuentra actualmente inactivo (sin relaciรณn laboral vigente en el sector pรบblico federal).",
"certificate": {
"institution": "Instituto de Seguridad y Servicios Sociales de los Trabajadores del Estado",
"certificateType": "Constancia de acreditaciรณn de no afiliaciรณn",
"folio": "082603377",
"uuid": "1E031D08-A497-4A4B-B273-C8157CC8100C",
"issuedAt": "29/10/2026 11:38:02 p. m.",
"digitalSeal": "RCTlkw4xRsjDNzt0AO+/XXv6rWi2sAuzvNpALi7RCcIZ9qJOPOJRcAORXY/2VNtNcxYiE9IfL8KFHiKTYRQmqfQexN2hmQfUSaZVstY7W/2assOHy5L8DA1sK73Qd+ax51CZMbBnoxd8UGWe0r53koHTS2g0jkzf7yE+BQN58qg="
}
},
"signature": {
"dateTime": "October 30, 2026 11:30 AM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentNumber\n"
}
Notesโ
- This endpoint carries a starting price of
0.50credits. - Queries that return 404 (Record not found) or 409 (Validation errors) do not deduct credits.
- To obtain the full digitally signed PDF file, provide the query parameter
includePdf=true.
Sandbox & Testingโ
When testing in the Sandbox environment (mode: sandbox), no credits are deducted and deterministic mock data is returned:
| Test Profile / Probe | Document Number | Expected Result | Description |
|---|---|---|---|
| Standard Inactive Profile | LOPE900501HDFGRN01 | 200 OK | Valid test persona MARIA ELENA LOPEZ GARCIA, status INACTIVO, certified folio 082603377. |
| With Base64 PDF Certificate | LOPE900501HDFGRN01 (includePdf=true) | 200 OK | Includes official signed certificate PDF in certificate.pdfBase64. |
| Fixture Profile 2 | PERJ900502HDFRRD02 | 200 OK | Valid test persona JOSE ANTONIO PEREZ RODRIGUEZ. |
| Fixture Profile 3 | MARF900503HDFRNF03 | 200 OK | Valid test persona CARLA ISABEL MARTINEZ FERNANDEZ. |
| Record Not Found (404) | LOPE900404HDFNTF01 | 404 Not Found | Simulates an unlocated or non-existent CURP. |
| Invalid CURP Format (409) | INVALID123 | 409 Conflict | Returns MissingParameter or InvalidDocumentFormat. |
Common Use Casesโ
- Employment Onboarding & Pre-Hiring Compliance: Verify that candidates joining private companies do not have an active public sector appointment or conflict of interest.
- Academic & University Enrollments: Streamline student and faculty registration by automatically obtaining official non-affiliation proof required for healthcare subsidies and scholarships.
- Legal & Social Security Audit: Provide verifiable audit trails with digital seal and barcode folio numbers for labor background checks.
Related Endpointsโ
- ๐ฒ๐ฝ Mexico โ CURP: Comprehensive demographic validation via CURP.
- ๐ฒ๐ฝ Mexico โ RFC & Tax Compliance: Bidirectional RFC and SAT Article 69 / 69-B compliance validation.
- ๐ฒ๐ฝ Mexico โ Professional License: Query official university degrees and professional licenses.