Saltar al contenido principal
cURL
curl -X POST https://api.origoid.com/mex/renapo/v1/curp-validations \
  -H "x-api-key: YOUR_API_KEY" \
  -H "content-type: application/json" \
  -d '{"curp": "TEST900101HDFRRN09", "generateRfc": true}'
{
  "status": "OK",
  "type": "SUCCESS",
  "message": "CURP found and validated",
  "data": {
    "personalInfo": {
      "curp": "TEST900101HDFRRN09",
      "givenNames": "JUAN",
      "firstSurname": "PEREZ",
      "secondSurname": "LOPEZ",
      "gender": "H",
      "dateOfBirth": "1990-01-01",
      "birthState": "DISTRITO FEDERAL",
      "birthStateCode": "DF",
      "nationality": "MEXICO"
    },
    "documentDetails": {
      "curpStatus": "AN",
      "probatoryDocumentCode": 1
    },
    "registrationDetails": {
      "state": "DISTRITO FEDERAL",
      "stateCode": "09",
      "municipality": "CUAUHTEMOC",
      "municipalityCode": "015",
      "year": "1990",
      "foreignNumber": ""
    }
  },
  "transactionId": "550e8400-e29b-41d4-a716-446655440000",
  "processedAt": "2026-03-15T12:35:00-06:00",
  "billable": true
}

Autorizaciones

x-api-key
string
header
requerido

Cuerpo

application/json
curp
string
requerido

CURP to validate (18 characters).

Ejemplo:

"TEST900101HDFRRN09"

generateRfc
boolean

Generate RFC associated with the CURP.

Ejemplo:

true

Respuesta

Business Responses (Strict Envelope Pattern).

status
enum<string>
requerido

High-level outcome. OK means the request was successfully processed (regardless of business result). ERROR means the request was rejected or could not be processed.

Opciones disponibles:
OK,
ERROR
type
string
requerido

Stable result type code. Includes generic codes (SUCCESS, INVALID_REQUEST, UNAUTHORIZED, SERVICE_UNAVAILABLE, INTERNAL_ERROR, RATE_LIMIT_EXCEEDED) plus endpoint-specific result codes — see this endpoint's response examples.

message
string
requerido

Human-readable summary of the result. Always in English (per Language Conventions in the API overview).

transactionId
string<uuid>
requerido

Unique identifier of this request, generated by the API Gateway. Propagated end-to-end for traceability.

processedAt
string<date-time>
requerido

ISO 8601 datetime with Mexico City offset (-06:00). Always set by the API Gateway when the response leaves the system.

billable
boolean
requerido

Whether this request will be charged against the client's plan. Typically true for successful business results and false for validation errors or system errors that prevented processing.

data
object

Response payload. null on error responses. Shape depends on the endpoint — see each operation's response schema.

errors
object[]

Per-field error details. Present only on INVALID_REQUEST responses.