NewFacial identity verification

CPF and CNPJ Lookup API

Check CPF and CNPJ with confidence

CPFHub.io is the CPF and CNPJ lookup API leading companies choose: accurate data, scalable infrastructure and real support.

  • CPF straight from Brazil's Receita Federal, in real time with proof
  • CNPJ with registration status and partner list
  • Identity verification (KYC) with facial biometrics and liveness

Trusted by more than 7,000 companies

Companies across Brazil and around the world verify with CPFHub.io

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

From CPF to verified identity. One account, one balance.

Start with CPF lookups and add identity verification and PEP and sanctions checks when your process needs them. Same API key, same dashboard, same credits.

  • One API key for every product
  • One shared credit balance
  • One dashboard to track it all

Built for developers and AI agents.

Ready-to-run code examples and docs built for AI agents: copy a ready-made prompt or connect over MCP.

cURLGET /cpf/12345678909
# Send a CPF, get name, gender and birth date

curl -X GET \
  'https://api.cpfhub.io/cpf/12345678909' \
  -H 'x-api-key: YOUR_API_KEY'
Response
{
  "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.

History and audit

Search, filter by period and result, and export to CSV or JSON.

Receipts

Receita receipt, due diligence report and a record of every verification.

Security and LGPD

API and data in Brazil, encryption in transit and at rest, and a designated Data Protection Officer.

Proven reliability

100% uptime on the Simple CPF lookup over the last 180 days.

24/7 support

On WhatsApp: an automated assistant any time and specialists on business days, 9 a.m. to 6 p.m.

Use the dashboard or the API

Look up without integrating anything: one at a time or with a CSV or TXT list.

How companies use CPFHub.io.

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)

GateCrypto

Real-time CPF validation with Receita Federal

Checks Brazilian users' CPF and tax status with Receita Federal on the spot, with the official receipt for every lookup.

Top 10 crypto exchange worldwide

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

Automated assistance, 24 hours a day

Still have questions?

Chat with us on WhatsApp.

Talk to our team
Which products does CPFHub.io offer?

CPF lookups (Simple, Real-time at the Receita Federal and Bulk), CNPJ lookups (Simple and Bulk), Identity Verification with selfie and document, and the Individual Due Diligence Report (early access), with PEP, sanctions and restrictive lists. They all use the same API key and the same credit balance.

Where does the data come from?

Simple and Bulk lookups use the CPFHub.io validation base, built from data licensed from private providers and official public sources. The Real-time lookup queries the Receita Federal on the spot and returns a receipt with a control code. CNPJ data comes from the Receita Federal public base, updated monthly.

Is CPFHub.io LGPD compliant?

Yes. The API and data stay in Brazil, with encryption in transit and at rest and a designated Data Protection Officer. Every lookup is logged for history, billing and audit, and your company, as the controller, defines the legal basis and purpose of each lookup.

What is the response time?

The Simple lookup answers from the CPFHub.io database in the same call. The Real-time lookup queries the Receita Federal at the time of the call, so it depends on the Receita response time. Availability has an SLA per plan: 95% on Free, 99% on PRO and 99.9% on Enterprise.

How does identity verification work?

The person takes a selfie with a liveness check and photographs their document. CPFHub.io reads the document, matches the face against the photo and cross-checks the data with the CPF, and you get the decision. It works through a link or the API.

How much does it cost, and when does a lookup use credits?

The Free plan has 50 credits a month, and PRO starts at R$ 19 a month with 100 credits. A CPF or CNPJ that isn't found uses no credits: the Simple lookup costs 1 credit per document found and the Real-time lookup 1.5 credits per completed lookup. Plan details are on the Pricing page.

Can I test before subscribing to a plan?

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

Do I need to know how to code?

No. In the dashboard you can look up one CPF or CNPJ at a time or upload a CSV or TXT list. The API is for automating lookups in your own system.

Validate your first CPF today.

  • 50 free credits per month
  • No credit card
  • 24h assistance on WhatsApp
WhatsApp