Real-Time Lookup
The CPF status,
straight from Receita Federal.
Send the CPF (Brazil's individual taxpayer ID) and the date of birth and get the registration status straight from Receita Federal (Brazil's federal tax authority). Every lookup comes with proof to file with the contract, the case or the audit.
50 free credits per month, no credit card.
What you get
Not just data. It is proof.
The difference between knowing and being able to demonstrate it later.
The registration status
Regular, pending regularization, suspended, canceled, void or deceased holder, as recorded by Receita Federal at the time of the lookup.
situationThe year of death
Always present, as an integer or null. Only the year, with no day or month. It is null when no death is on record or when the value received from Receita is invalid.
deathYearThe proof
An HTML page with the lookup result, ready to file, plus the link to check the lookup on the Receita Federal website.
validationHtmlUrlvalidationUrlIssue time and control code
The exact date and time of Receita's response and the code that identifies the lookup. It shows the check happened before the decision.
emissionDateemissionTimecontrolCodeThe response also includes the holder's name, in uppercase, and the date of birth (name and birthDate).
See the full response referenceRegistration status
Six possible answers.
One of them clears the way. The other five are the reason you are looking it up.
Regular
CPF in good standing, no pending issues.
Pending regularization
A tax return is missing or the registration needs updating.
Suspended
Incorrect or incomplete registration.
Canceled
Closed by administrative or court decision, or because of duplication.
Void
Registration obtained through fraud.
Deceased holder
Death recorded in the Receita Federal registry.
How it works
Two data points go in. The proof comes out.
No digital certificate, no e‑CNPJ (Brazilian company digital certificate), no electronic power of attorney and no queue on the Receita website.
- 01
You send two data points
The CPF and the holder's date of birth. That is what Receita Federal requires to respond, and it is all we ask for.
- 02
We query Receita on the spot
No intermediate database and no yesterday's copy. The lookup happens at Receita Federal at the moment of your call.
- 03
You get the JSON and the proof
Registration status, year of death, issue date and time, control code and the link to the proof. Your system decides and files the proof.
The time depends on Receita Federal. If your flow cannot wait, use the Simple Lookup on the critical path and this lookup where you need proof.
Integrate in any language
The same key you already use, a different route. Ready-made examples in ten languages.
# Tax status from Receita, with official receipt
curl -X POST \
'https://api.cpfhub.io/cpf/realtime' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'content-type: application/json' \
-d '{"cpf":"12345678909","birthDate":"15/06/1990"}'{
"success": true,
"data": {
"cpf": "12345678909",
"name": "FULANO DE TAL",
"birthDate": "15/06/1990",
"deathYear": null,
"situation": "REGULAR",
"emissionDate": "02/10/2026",
"emissionTime": "14:15:16",
"controlCode": "ABCD.1234.EFGH.5678",
"validationUrl": "https://servicos.receita…",
"validationHtmlUrl": "https://api.cpfhub.io/…"
}
}50 free credits per month, no credit card required.
Where to use it
When someone will ask for the proof.
Any flow where the decision becomes a contract, a payment or a record, and has to hold up later.
Hiring
Confirm the candidate's CPF before formalizing the hire. An irregular CPF blocks eSocial (Brazil's government payroll and labor reporting system) and creates rework for HR.
Rentals
Tenant and guarantor verified before signing. A guarantee backed by an irregular CPF is a guarantee you cannot enforce.
Contracts and legal
The HTML proof documents the due diligence in identifying the parties, with date, time and control code.
Payroll and benefits
The response includes the year of death in deathYear and the status TITULAR FALECIDO (deceased holder) when the registry records a death. An improper payment is stopped before it goes out.
Insurance claims
Confirm the insured person with Receita Federal before releasing a payment, with an archivable record of what was checked.
Regulated onboarding
When a regulator asks for proof of what you verified, the proof document is worth more than an API log.
Pricing
Same plan, same credit balance.
The Real-Time Lookup uses the same key, the same plan and the same balance as the Simple Lookup. Each completed lookup uses 1.5 credits by default, and some plans have different values.
1.5 credits
per completed lookup, versus 1 credit for the Simple Lookup
0 credits
when the CPF format is incorrect or Receita Federal does not respond
50
free credits per month to try it out, no card required
Frequently asked questions
What is the difference between the Simple Lookup and the Real-Time Lookup?
The Simple Lookup (GET /cpf/{cpf}) needs only the CPF and responds from our database and returns name, gender and date of birth. The Real-Time Lookup (POST /cpf/realtime) takes the CPF and the date of birth in the JSON body, queries Receita Federal at the time of the call and returns registration status, year of death (deathYear, integer or null), control code and HTML proof. They are independent routes: one never falls back to the other.
Why does the Real-Time Lookup require the date of birth?
Receita Federal itself requires it. The public lookup service only answers when it receives the CPF and the holder's date of birth together. If you do not have the date in your flow, the right route is the Simple Lookup.
Does the lookup return the year of death?
It returns the year of death in the deathYear field, always present, as an integer or null. It does not return day or month. null appears when no death is recorded or when the value received is invalid: it must have 4 digits, fall between 1900 and the current year and not be earlier than the birth year.
What does each registration status mean?
Regular: CPF in good standing. Pending regularization: a return is missing or the registration needs updating. Suspended: incorrect or incomplete registration. Canceled: closed by administrative or court decision, or because of a duplicate. Void: registration obtained by fraud. Deceased holder: death recorded in the registry.
How does the proof work?
The response includes validationHtmlUrl, an HTML proof with the lookup data, issue date and time and control code, and validationUrl, the link to check the lookup on the Receita Federal website. It is the record that supports a hire, a lease or a contract in an audit.
How much does the Real-Time Lookup cost?
By default, 1.5 credits per completed lookup, versus 1 credit for the Simple Lookup (some plans have different values). It uses the same balance as your plan, with no separate package. A CPF with an incorrect format or check digit and communication failures with Receita Federal (502 and 503) do not use credits.
How long does it take?
The Real-Time Lookup depends on Receita Federal's response time. If your flow cannot wait, make the call asynchronously or use the Simple Lookup on the critical path.
Can I use the Real-Time Lookup in batch or through MCP?
Not in batch. POST /cpf/bulk covers only the Simple Lookup. Through the remote MCP server (https://api.cpfhub.io/mcp), yes: it exposes lookup_cpf_realtime (Real-Time Lookup, with CPF and date of birth, which also returns deathYear, the year of death, integer or null), next to lookup_cpf, lookup_cnpj, the bulk_lookup_cpf and bulk_lookup_cnpj batches, which use the Simple Lookup, and get_quota_info (balance). Through MCP, the Real-Time Lookup is also done one CPF at a time. For volume on the Real-Time Lookup, talk to our team on WhatsApp or at contato@cpfhub.io.
Do I need another account or another key?
No. It is the same account, the same x-api-key, the same plan and the same credit balance you already use on GET /cpf/{cpf}.
Registration status
in real time.
- 50 free credits per month
- No credit card
- 24h assistance on WhatsApp