This guide walks you from zero to your first check. New accounts get a $5 USD signup credit, so you can hit the API immediately. Already have an RFCCheck, CURPCheck, or INECheck account? It is your MexCheck account: log in with it and skip to step 3.
1. Create an account
Sign up and confirm your email. Your $5 credit appears in your dashboard.
2. Generate an API key
From the dashboard, open API Keys and create a new key. Keys are shown once, so copy yours into your secret manager before leaving the page.
3. Make your first call
The quickest check is an RFC registration lookup: 1 credit, about a second. Use an RFC you are allowed to check; the value below only illustrates the format.
curl -X POST https://mexcheck.com/v1/rfc/verify \
-H "x-api-key: rfc_your_api_key" \
-H "Content-Type: application/json" \
-d '{"rfc": "XAXX010101000"}'
4. Call the other registries
The same key and base URL reach every registry. Swap the path and the body for the check you need:
| Check | Endpoint | Body |
|---|---|---|
| Full RFC validation | /v1/rfc/validate |
{"rfc": "…"} |
| Invoice status | /v1/cfdi/verify |
{"uuid": "…", "rfc_emisor": "…", "rfc_receptor": "…"} |
| CURP identity | /v1/curp/lookup |
{"curp": "…"} |
| Voter ID | /v1/ine/verify |
{"cic": "…", "id_ciudadano": "…"} |
Every endpoint's fields and responses are in the API Reference.
5. Handle errors
The API uses standard HTTP status codes. See Errors for the full list.
Building with an AI assistant?
Connect Claude, Cursor, or another MCP client to the MCP server. After you log in in your browser, it can read these docs, run real checks, and create your API key, with no key to paste.
https://mexcheck.com/mcp
Setup and the list of tools are in the MCP server guide.