CPF Lookup API

Look up CPFs with
more confidence

CPFHub.io is the CPF lookup API that leading companies choose: accurate data, scalable infrastructure and real support. A CPF is Brazil's individual taxpayer ID.

  • Official data from Receita Federal (Brazil's federal tax authority), in real time
  • 100% coverage, with official proof
  • Simple Lookup in ~150 ms

Trusted by more than 6,000 companies

Companies across Brazil validate CPFs with CPFHub.io

  • Solyd
  • iGreen Energy
  • Tipspace
  • Datos Group
  • Opinion Box
  • Pif Paf
  • Unimed
  • TKTR

Three ways to look up a CPF. One account.

Simple Lookup

For signup and onboarding

~150 ms

response time

You send Just the CPF

  • Full name
  • Gender
  • Date of birth

1 credit per CPF found

Learn more
Receita Federal

Real-Time Lookup

For decisions that need proof

~1 s

straight from Receita Federal

You send CPF + date of birth

  • Registration status
  • Year of death
  • Official proof
  • Control code

1.5 credits per completed lookup

Learn more

Batch Lookup

For validating your database

10,000

CPFs per upload

You send List or CSV

  • Simple Lookup fields
  • CSV export

1 credit per CPF found

Learn more
  • One API key
  • One credit balance
  • One dashboard for everything

Integrate in any language

cURLGET /cpf/12345678909
1
2
3
curl -X GET \
  'https://api.cpfhub.io/cpf/12345678909' \
  -H 'x-api-key: YOUR_API_KEY'
Response
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "success": true,
  "data": {
    "cpf": "12345678909",
    "name": "Fulano de Tal",
    "nameUpper": "FULANO DE TAL",
    "gender": "M",
    "birthDate": "15/06/1990",
    "day": 15,
    "month": 6,
    "year": 1990
  }
}

50 free credits per month, no credit card required.

Everything your operation needs. On a single platform.

History of every lookup

Everything is logged in the dashboard, ready for audit and export.

Official proof

Issued by Receita Federal, with a control code.

Proven scale

CPFs checked by 6,000+ companies.

Ready for AI

MCP server for Claude, Cursor and other agents.

24h support on WhatsApp

Answers at any hour, with a real technical team behind them.

No-code dashboard

Look up a CPF or upload a list as CSV or TXT.

In production at companies across Brazil.

iGreen EnergySolar Energy

Fraud prevention at new customer signup

Checks at signup that the name and CPF belong to the real holder, blocking fraud before the contract is signed.

Millions of signups validated per year

TipspaceE-sports

Age verification compliant with ECA Digital

Confirms users are adults through their CPF, in line with Law 15.211/2025 (ECA Digital, Brazil's digital child protection law), with no friction on platform access.

Competitions with prizes paid via PIX (Brazil's instant payment system)

Datos GroupHR & Data

Identity validation in the hiring process

Verifies and auto-fills candidate data at hiring, with accurate records and faster onboarding.

7 decades in business, in 4 countries

Frequently asked questions

We are online, 24 hours a day

Still have questions?

Chat with us on WhatsApp.

Talk to our team
What is the difference between the Simple Lookup, the Real-Time Lookup and the Batch Lookup?

The Simple Lookup takes only the CPF (Brazil's individual taxpayer ID) and returns name, gender and date of birth. Typical response time is ~150 ms (not an SLA) and the cost is 1 credit per CPF found. The Real-Time Lookup takes the CPF and the date of birth, queries Receita Federal (Brazil's federal tax authority) when the request is made and returns the registration status, the year of death (deathYear, an integer or null) and the proof. Typical response time is about 1 second (not an SLA) and the cost is 1.5 credits, charged only on an HTTP 200 response. The Batch Lookup processes up to 10,000 CPFs per upload, with the same data as the Simple Lookup. Batch time depends on how many CPFs are in the upload, and each lookup falls in the same range as the Simple Lookup. All three use the same API key and the same credit balance.

Do I need to know how to code to use it?

No. You can look up CPFs directly in the dashboard, one at a time or by uploading a .csv or .txt file with up to 10,000 CPFs. The API is for those who want to automate lookups in their own system.

Where does the data come from?

The Simple Lookup and the Batch Lookup answer from the CPFHub.io database. The Real-Time Lookup queries Receita Federal when the request is made and returns the registration status, the year of death and the proof issued by Receita Federal.

Does the API return the CPF registration status?

Yes, through the Real-Time Lookup. It reports whether the CPF is regular, suspended, pending regularization, canceled or void, or whether the holder is recorded as deceased. It also returns the year of death in the deathYear field (an integer or null) and the date and time the proof was issued. deathYear is null when no death is on record or when the value received is invalid. It does not include the day or month of death. To run the lookup, you must send the holder's date of birth. The Simple Lookup does not return the registration status or the year of death.

Does the API return the year of death?

In the Real-Time Lookup, yes: the deathYear field holds the year of death, always present, as an integer or null. It does not include the day or month. null appears when no death is on record or when the value received is invalid (it does not have 4 digits, falls outside the range between 1900 and the current year, or is earlier than the birth year). The Simple Lookup and the Batch Lookup do not return this field.

What is the response time?

The Simple Lookup has a typical response time of ~150 ms. The Real-Time Lookup has a typical response time of about 1 second, because it queries Receita Federal when the request is made. These are typical figures, not an SLA. In the Batch Lookup, time depends on how many CPFs are in the upload, and each lookup falls in the same range as the Simple Lookup. Availability has an SLA per plan: 95% on Free, 99% on PRO and 99.9% on Enterprise.

Is CPFHub.io compliant with LGPD (Brazil's data protection law)?

Yes. Each lookup is logged (CPF, result, date and account) for history, billing, audit and fraud prevention, with a retention period defined in the Privacy Policy. Your company, as the data controller, must define the legal basis and the legitimate purpose of each lookup.

Can I try it before subscribing to a plan?

Yes. When you create a free account, with no credit card, you get 50 credits per month. The API key is available in the dashboard right away.

When does a lookup use credits?

In the Simple Lookup and the Batch Lookup, a credit is used only when the CPF is found, at 1 credit per CPF. A CPF that is not found is not charged. In the Real-Time Lookup, the cost is 1.5 credits, charged only on an HTTP 200 response. A mismatched date of birth returns HTTP 422 and is not charged.

How does billing work?

Billing is monthly. The Free plan gives you 50 credits at no cost. The PRO plan starts at R$ 19 per month (Brazilian reais, BRL), with 100 credits, and has tiers of up to 10,000 credits. Overage credits cost from R$ 0.19 to R$ 0.10, depending on the tier, and are billed on next month's invoice. The Enterprise plan has custom pricing.

Is there a limit on requests per second?

No. The only limit is the plan's credit balance: as long as you have balance, you can call the API at whatever pace you need. On the Free plan, lookups are paused when the 50 monthly credits run out. On paid plans, the API keeps responding after the limit, and the overage is billed on next month's invoice.

Validate your first CPF today.

  • 50 free credits per month
  • No credit card
  • 24h support on WhatsApp
WhatsAppChat with us on WhatsApp