API documentation
Look up Brazilian CPF records through a simple REST API: JSON in and out, key-based authentication, and you are charged only when a lookup succeeds.
- Base URL
- https://api.brazid.com
- Version
- v1
- Format
- JSON, UTF-8
- Authentication
- x-api-key header
Overview
The BrazID API returns the registry data of a CPF: name, date of birth, registration date and registration status. There is a CPF lookup (CPF and date of birth) and a batch CPF lookup for up to 1,000 CPFs per request. Two free routes complete the API: account details and CPF or CNPJ validation.
Each successful lookup uses 1 credit from your plan. Any error, whether validation, authentication or server side, uses nothing.
Conventions
- Always use HTTPS. Request and response bodies are JSON, with
Content-Type: application/json. - Send the CPF as digits only, all 11 of them, with no dots or dash (
52998224725). With punctuation the API answers 400. It validates the check digits before any lookup. - Dates go in and come out as
YYYY-MM-DD(birth date and registration date), with day, month and year split out. - Response field names use
snake_caseand are in English.
Need help?
If something is unclear or you need a higher volume, talk to us.