API Reference

# API Reference

Two CURP endpoints: look up an identity or search by personal data, with certification status and correction history included.

Base URL: `https://curpcheck.com/v1`. All endpoints are POST, accept JSON, and require the x-api-key header. Pick the one scoped to what you already know.


| Endpoint | Inputs | Latency | Cost |
| --- | --- | --- | --- |
| [`/curp/lookup`](/docs/endpoints/curp-lookup) | curp | ~2 s | 5 credits |
| [`/curp/search`](/docs/endpoints/curp-search) | names, paternal_surname, birthdate, sex, state | ~2 s | 5 credits |


## How to choose

- **Already have the CURP?** Use lookup to confirm the CURP with RENAPO and retrieve the registered identity.
- **Don't have the CURP?** Use search with the person's names, birth date, sex, and state of birth. It returns the CURP RENAPO has registered for them.
- **Also have an RFC?** The same API key validates it against SAT with the RFC endpoints on [rfccheck.com](https://rfccheck.com/docs/endpoints).