Skip to content

Simple CPF lookup

GET/v1/cpf/{cpf}

Looks up a CPF by number only, without a date of birth. Returns the same payload as the live lookup, without the situation and registration_date fields. It is the cheapest option, 1 credit per lookup.

Path parameter

cpfpathrequired
CPF with 11 digits, numbers only (no punctuation).

Only a 200 response charges 1 credit.

  • Checks run in this order: CPF format (400), check digits (422), balance (402) and, finally, the lookup.
  • The response has the same format as the live lookup, but without the situation and registration_date fields: it returns cpf, name, birthdate, day, month and year.
  • A CPF with no record answers 404 and is not charged. If the source is unavailable, the answer is 503. Only a 200 response uses a credit.
  • It does not take a date of birth, so there is no date check: the lookup confirms identity by the CPF.
  • If you also need the registration status and registration date, use the live lookup (POST /v1/cpf/live), which costs 2 credits.

cURL

1curl https://api.brazid.com/v1/cpf/52998224725 \2 -H "x-api-key: $BRAZID_API_KEY"

200 OK

1{2 "success": true,3 "data": {4 "cpf": "52998224725",5 "name": "MARIA SOUZA LIMA",6 "birthdate": "1982-11-26",7 "day": 26,8 "month": 11,9 "year": 198210 }11}

404 Not Found

1{2 "error": "CPF not found"3}