Official Receita Federal Database

Brazilian CPF API: Validate and Look Up CPF Online with Receita Federal Data

Validate CPFs in real time and eliminate fraud in your system. Your customers trust you more when you verify their data against the official Receita Federal database.

0 Records
0 % Uptime
0 ms Response
Anti-Fraud
Official Validation
Secure Data

Why choose our CPF API?

Full Security

Data protection with advanced encryption and unique tokens. SSL/TLS enforced on every request.

High Performance

Responses in under 50ms with high availability (~99.9%). Robust, scalable infrastructure.

Official Database

233+ million records for CPF lookup and identity validation.

Complete Dashboard

Track requests in real time, manage tokens and access detailed usage reports.

Dedicated Support

A specialised team ready to help. Response within 4 business hours on paid plans.

Included Quota + Overage

10,000 lookups included on paid plans. Overage costs R$ 0.01 per lookup, billed via PIX.

API CPF Nacional v2.0

Ultra-fast integration with the largest CPF database in Brazil

API Terminal
$ curl -X GET "https://api.cpf-brasil.org/cpf/00000000191"
$ -H "X-API-Key: SEU_TOKEN_AQUI"
{ "success": true, "data": { "CPF": "00000000191", "NOME": "RECEITA FEDERAL...", "SEXO": "F", "NASC": "1899-11-30" } }
Bash / cURL
curl -X GET "https://api.cpf-brasil.org/cpf/12345678901" \
     -H "X-API-Key: SEU_TOKEN_AQUI" \
     -H "Content-Type: application/json"
JavaScript / Fetch API
const response = await fetch('https://api.cpf-brasil.org/cpf/12345678901', {
  method: 'GET',
  headers: {
    'X-API-Key': 'SEU_TOKEN_AQUI',
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
console.log(data);
Python / Requests
import requests

url = "https://api.cpf-brasil.org/cpf/12345678901"
headers = {
    "X-API-Key": "SEU_TOKEN_AQUI",
    "Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
data = response.json()

print(data)
PHP / cURL
<?php

$url = "https://api.cpf-brasil.org/cpf/12345678901";
$headers = [
    "X-API-Key: SEU_TOKEN_AQUI",
    "Content-Type: application/json"
];

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
$data = json_decode($response, true);

print_r($data);

Advanced API Features

Transparent Overage

10,000 included + R$ 0.01 per extra lookup via PIX

CORS Enabled

Works directly in the browser

Structured Logs

Real-time monitoring

Friendly URLs

RESTful API design

Secure HTTPS

SSL/TLS encrypted

99.9% Uptime

High availability

How to get your API token

Replace "SEU_TOKEN_AQUI" in the examples with your personal token

1
Sign Up for Free

Go to dash.cpf-brasil.org and create your account

2
Open the Dashboard

Log in and access your control panel

3
Copy your Token

Your unique token will be available in the dashboard

API Playground

Test our API in real time with real data

Response
Waiting...
Run a lookup to see the API response...

What our customers say

Companies of every size rely on our API for CPF validation

⭐⭐⭐⭐⭐

"I integrated API CPF Nacional into my payment gateway and cut fraud by 85%. Validation is instant and accurate."

RS
Ricardo Silva
CEO - PayTech Solutions
15 Mar 2024, 14:32
⭐⭐⭐⭐⭐

"As an online seller, I use the API to verify that customer CPFs are genuine. It doubled my confidence in every sale."

AC
Ana Costa
E-commerce - ModaStyle
08 Feb 2024, 09:15
⭐⭐⭐⭐⭐

"We built it into our KYC system and customer approval became 70% faster. Reliable API and excellent documentation."

CM
Carlos Mendes
CTO - FinanceHub
22 Jan 2024, 16:45
⭐⭐⭐⭐⭐

"I use it in my marketplace to validate sellers. The API is very fast and helps me keep the platform trustworthy."

MS
Marina Santos
Founder - BrasilMarket
05 Dec 2023, 11:28
⭐⭐⭐⭐⭐

"Our fintech processes thousands of validations a day. The API has never failed and technical support is outstanding."

PO
Pedro Oliveira
Tech Lead - CreditMax
18 Nov 2023, 13:52
⭐⭐⭐⭐⭐

"Simple integration and immediate results. I reduced chargebacks by 60% by validating CPFs before payment."

LF
Lucas Ferreira
Developer - AppVendas
30 Oct 2023, 08:17
⭐⭐⭐⭐⭐

"As a consultant, I recommend it to every client. The API is robust, reliable and delivers 99.9% uptime."

JR
Juliana Rocha
IT Consultant - TechAdvice
12 Sep 2023, 15:33
⭐⭐⭐⭐⭐

"I use it in my instalment credit system. Real-time validation gives me the confidence to approve larger sales."

RL
Roberto Lima
Owner - MegaLojas
07 Aug 2023, 10:41
⭐⭐⭐⭐⭐

"I added it to our platform onboarding. The process is faster and safer for everyone."

FA
Fernanda Alves
Product Manager - StartupBR
25 Jul 2023, 14:19
⭐⭐⭐⭐⭐

"Best CPF API on the market! I use it in all my freelance projects and clients are always impressed."

GS
Gabriel Souza
Freelance Developer
19 Jun 2023, 09:26
⭐⭐⭐⭐⭐

"We rolled out API CPF Nacional across our marketplace platform and cut fraud attempts by 90%. Essential for our compliance."

MO
Marcos Oliveira
Tech Lead - National Marketplace
03 Apr 2024, 16:18
⭐⭐⭐⭐⭐

"We integrated the API into the sign-up flow for direct sales consultants. Instant, reliable validation that gave us more operational safety."

CF
Camila Ferreira
IT Manager - Cosmetics Sector
27 May 2024, 11:43

Why Choose Our CPF API?

Leave the amateurs behind. Compare us with other options on the market.

Capabilities

Professional Dashboard
Organised Billing
High Availability
Broad Record Base
Technical Support
Documentation
Transparent Limits
LGPD Compliance
Tax Invoice
API CPF Nacional
Full dashboard with metrics
PIX organised through the dashboard
High availability (~99.9% uptime)
Official Receita Federal data
Dedicated technical support
Complete documentation + examples
Clear, transparent limits
Structure aligned with the LGPD
Automatic tax invoice
Back-alley APIs
No panel — "figure it out yourself"
Manual PIX chased by message
Constant instability
Outdated or incorrect data
WhatsApp, when someone answers
"You will work it out during integration"
Cut off without notice
Legal grey area
No tax document

How It Works in 4 Simple Steps

Integrate in under 5 minutes and start validating CPFs with official data

Create Your Free Account

Sign up in under a minute. No credit card. 10 free lookups to test.

Generate Your Token

In the dashboard, generate your unique token with one click. Secure and easy to use.

Make Your First Request

Call the /cpf/{number} endpoint with your token. Instant JSON response.

Integrate Into Your System

Works in any language: PHP, Python, Node.js, Java, C#. Full examples in the documentation.

Real Use Cases

See how companies across different sectors use our API

E-commerce

Validate CPFs at checkout and cut fraud by 80%. Fewer chargebacks, more security.

Fintech & Banking

Meet KYC/AML requirements with official verification. Onboarding 3x faster.

SaaS & Platforms

Validate users at sign-up and improve lead quality by 90%. Reliable data from day one.

CRM & Sales

Qualify leads before handing them to sales. Save 40% of your team's time.

Marketplace

Validate sellers before approving them. Cut fraud by 95% and build trust.

Telecom

Activate lines with regulatory compliance. Prevent cloning and default.

Choose Your Plan

Unlock the full potential of API CPF Nacional

Free

R$ 0
forever
  • 10 lookups/month
  • Receita Federal data
  • Basic dashboard
  • 99.9% Uptime
Start Free

Monthly

R$ 97
R$ 97.00/month
  • 10,000 lookups/month included
  • Overage at R$ 0.01/lookup via PIX
  • No rate limiting
  • Priority support
  • Advanced dashboard
  • Detailed reports
  • 99.9% Uptime
Start Free
BIGGEST DISCOUNT

Annual

R$ 1.165 R$ 757
R$ 63.08/month • 35% OFF
  • 10,000 lookups/month included
  • Overage at R$ 0.01/lookup via PIX
  • No rate limiting
  • Priority support
  • Advanced dashboard
  • Detailed reports
  • 99.9% Uptime
  • Guaranteed Savings
  • Biggest Discount
Start Free

Plan payment via PIX, card, bank slip and PayPal through Hotmart
Overage: R$ 0.01 per lookup, billed separately via PIX in the dashboard

Frequently Asked Questions about the CPF API

Everything you need to know about our CPF lookup and validation API

Data and Quality

Where does the API data come from? +

All data comes directly from the Brazilian Receita Federal. Our base holds 233+ million official records, refreshed regularly. No scraped or unofficial data.

Is the data reliable and up to date? +

Yes. Our base is synchronised with official Receita Federal records and we deliver 99.8% accuracy. Very different from amateur APIs running on stale data.

How fast does the API respond? +

Our API responds in under 100ms on average. We use dedicated servers and a CDN to keep performance high even under heavy request volume.

💳 Plans and Payment

How do I subscribe to the API? +

Simple and professional: 1) create your account in the Dashboard, 2) choose your plan inside the platform, 3) pay by PIX straight from the dashboard (QR code + exact amount), 4) receive your token and start using it right away.

How does billing work? +

PIX fully organised through the dashboard. You get the charge inside the platform with a QR code, the exact amount and a clear due date. No chasing by message, no guessing the amount, no confusion. Once paid, access is released automatically along with the tax invoice.

Can I cancel at any time? +

Of course. Cancel automatically from the dashboard whenever you want. No red tape, no retention calls. Your company, your rules.

Do you issue a tax invoice? +

Yes, automatically. An electronic invoice is issued on the payment date and sent by email — ready for your finance team, not a bare PIX transfer receipt.

⚙️ Technical / Integration

Is the API hard to integrate? +

Very simple. We provide ready-made examples in PHP, JavaScript, Python and cURL, plus complete documentation with real use cases. Integration takes under 10 minutes.

What is the request limit? +

Transparent, fair limits: the free plan includes 10 lookups/month for testing. Paid plans include 10,000 lookups/month and overage costs R$ 0.01 per lookup via PIX. Everything stated clearly — no surprises.

Is there a test environment? +

Yes. An interactive playground right here on the site, plus the official test CPF (000.000.001-91) for your development environments.

What is the service availability? +

We run at high availability (around 99.9%), with 24/7 monitoring and redundant infrastructure. Very different from homemade APIs that keep going offline.

🛟 Support

How does technical support work? +

Professional email support with a reply within 4 business hours, handled by a specialised technical team — not one developer answering from a phone at midnight.

Is there technical documentation? +

Complete, up-to-date documentation. Endpoints, parameters, error codes and practical examples. Everything you need, without having to ask over chat.

What if I run into integration problems? +

Our team helps you. Integration support is included on every plan. We review your code, suggest improvements and make sure it works properly.

100% Free

Start Using API CPF Nacional Now

Create your account and start using our API immediately.
Full dashboard • 10,000 lookups included • Overage via PIX