Introduction
A marketplace or delivery app entering Brazil needs three identity checks: sellers, verified by CPF (Brazil's individual taxpayer ID) or CNPJ (Brazil's company registry number), couriers, verified by CPF with name and date of birth matching, and buyers, with a lighter CPF check where fraud or invoicing requires it. The rule of thumb is simple: the more money or physical access a role gets, the stronger the check.
This guide maps each role to the checks that make sense and shows how to run them with an API.
Why identity matters more for two-sided platforms
On a marketplace or delivery app, you do not just sell to someone. You let strangers sell to, deliver to and get paid by each other through your platform. That creates fraud paths a single-sided store does not have:
- Fake sellers who take payment and never ship.
- Account takeovers and rented accounts, where a verified courier lends their account to someone else.
- Payout fraud, where money goes to an account that does not belong to the seller or courier you approved.
- Buyer fraud, such as stolen card purchases or chargeback abuse.
In Brazil, all of these flows run through the CPF or the CNPJ, which is why both are worth verifying at onboarding.
Sellers: CPF or CNPJ
Brazilian sellers come in two forms:
- Individuals selling under their own CPF.
- Companies, from MEIs (individual micro-entrepreneurs, who have their own CNPJ) to larger businesses, identified by the CNPJ.
Verifying an individual seller
Look up the CPF, match the name and date of birth with what the seller typed, and confirm they are an adult. For sellers with higher volumes or early payouts, add the Real-Time Lookup for the registration status at the Receita Federal (Brazil's federal tax authority).
Verifying a company seller
The CNPJ is registered with the Receita Federal, which explains it on its CNPJ page. The CPFHub.io CNPJ Lookup returns the company's legal name (razao_social), trade name (nome_fantasia), registration status (situacao_cadastral), address, main activity code (cnae_principal), size, Simples Nacional and MEI flags, and the list of partners, with the partners' CPFs masked.
What to check:
- Status: the company should be active. A suspended or closed company should not receive payouts.
- Activity: the main activity should make sense for what the seller lists.
- Representative: the person opening the account should be a partner or have authority to act for the company. Verify that person's CPF too.
curl --max-time 10 \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept: application/json" \
https://api.cpfhub.io/cnpj/00000000000000
The CNPJ data comes from the Receita Federal's public CNPJ base, refreshed monthly, so a very recent change may not show yet. The API also accepts the new alphanumeric CNPJ format. For a single manual check, the Receita Federal has a public CNPJ query. More on company checks in KYB in Brazil.
Couriers and drivers: CPF first
Delivery couriers and drivers get physical access to customers' homes and goods. A solid courier onboarding:
- CPF lookup with name and date of birth matching, to block made-up and borrowed identities.
- Age check, from the date of birth returned by the lookup.
- Registration status, with the Real-Time Lookup, to catch suspended, cancelled or deceased-holder CPFs.
- Document and selfie, with liveness and face match, so the person on the bike is the person you approved. CPFHub.io's Identity Verification runs this step, including the CNH (driver's license).
Repeat the selfie step from time to time, or before payouts, to catch rented accounts. See delivery for the full use case.
Buyers: keep it light
Most buyers do not need heavy checks. Ask for the CPF where Brazilian invoicing or your payment provider needs it, validate the check digits in the form, and run a CPF lookup at signup or first purchase when fraud rates justify it. Save stronger checks for high-value orders or suspicious behavior. See e-commerce.
Checks by role
| Role | CPF lookup | Real-Time Lookup | CNPJ Lookup | Identity Verification |
|---|---|---|---|---|
| Buyer | When fraud justifies it | No | No | No |
| Individual seller | Yes | For higher volumes | No | For high-risk categories |
| Company seller | Representative | Optional | Yes | Optional |
| Courier or driver | Yes | Recommended | No | Yes |
Protecting payouts
Most marketplace losses happen when money leaves the platform. Two controls catch most problems:
- Pay out only to the verified identity. Prefer a Pix key or bank account held by the seller's own CPF or CNPJ, and compare the account holder name with the name you verified.
- Re-check before the first payout. A status check or a fresh selfie before the first payout costs little compared with a lost payment.
For existing seller bases, the bulk CNPJ lookup and bulk CPF lookup let you re-verify your own registered sellers and couriers in one job.
Data about sellers, couriers and buyers is personal data under the LGPD (Brazil's data protection law). Document the legal basis for each check and confirm it with Brazilian counsel.
Frequently asked questions
How do I verify a Brazilian seller?
Ask whether the seller is an individual or a company. For individuals, look up the CPF and match the name and date of birth. For companies, look up the CNPJ, confirm it is active, and verify the representative's CPF.
What is an MEI?
An MEI (microempreendedor individual) is a simplified company form for individual micro-entrepreneurs. It has its own CNPJ, and the CNPJ Lookup shows whether a company is an MEI.
Should couriers go through a selfie check?
For delivery and mobility apps, yes. A CPF lookup confirms the identity exists and matches, and a selfie with liveness and face match confirms the person using the account is its holder.
Does a CNPJ lookup cost the same as a CPF lookup?
Both use the same credit balance, and a CNPJ that is not found does not use a credit, the same as a CPF. See pricing.
Read also
- CPF vs CNPJ: Brazil's Individual and Company Tax IDs Explained
- KYB in Brazil: How to Verify a Company with the CNPJ
- Onboarding Brazilian Customers: A Fraud Prevention Checklist
- Bulk CPF Verification: Checking Thousands of Brazilian IDs at Once
Conclusion
Marketplaces and delivery apps entering Brazil should verify every role in proportion to its risk: CNPJ and representative checks for company sellers, CPF checks with name and date of birth matching for individuals and couriers, document and selfie checks where people get physical access or money, and a light CPF check for buyers. Tie payouts to the verified identity and most fraud paths close.
Start with 50 free credits and no credit card at cpfhub.io.
CPFHub.io
Ready to integrate the API?
50 free credits to test now. No credit card. Instant access to the documentation.




