Compliance and LGPD
CPFHub.io operates in compliance with the Lei Geral de Proteção de Dados (LGPD, Brazil's data protection law, Law No. 13.709/2018) and with industry best practices.
This document is not legal advice
The information here is for general reference. To assess compliance in your specific context, consult a legal specialist.
Data returned by the API
The API returns data from the CPFHub.io validation database, made up of data licensed from private providers and of official public sources (see the Privacy Policy, section 4). No sensitive data (income, address, criminal records, health data) is provided.
| Field | Type | Source |
|---|---|---|
name | Full name | Validation database |
nameUpper | Name in uppercase | Derived from the name |
gender | Gender (M / F) | Validation database. When the source does not provide it, it is estimated from the first name |
birthDate | Date of birth | Validation database |
day, month, year | Date components | Derived from the date |
The Real-Time Lookup (POST /cpf/realtime) returns its own fields, obtained from Receita Federal (Brazil's federal tax authority) at the time of the call:
| Field | Type | Source |
|---|---|---|
name | Full name | Receita Federal, on demand |
birthDate | Date of birth (provided by you and confirmed by Receita Federal) | Receita Federal, on demand |
deathYear | Year of death (integer or null). Always present. null when no death is on record or when the value received is invalid. Does not include day or month | Receita Federal, on demand |
situation | Registration status of the CPF | Receita Federal, on demand |
emissionDate, emissionTime | Date and time the proof was issued | Receita Federal, on demand |
controlCode | Control code of the proof | Receita Federal, on demand |
validationUrl | Verification link on the Receita Federal website (the QR code destination) | Receita Federal, on demand |
validationHtmlUrl | Proof of the lookup stored by CPFHub.io (HTML, with QR code) | Generated by CPFHub.io |
Legal basis for use
The LGPD legal bases our customers use most are:
Art. 7, II: Compliance with a legal or regulatory obligation: Regulated companies (financial institutions, insurers, fintechs) can use the API to meet customer identification and anti-money-laundering obligations.
Art. 7, IX: Legitimate interest: Identity verification for fraud prevention, platform security and signup integrity, in a proportionate way and with transparency to the data subject.
Art. 7, V: Performance of a contract: Validating the data of a contracting party in order to perform the contract to which the data subject is a party.
CPFHub.io commitments
- We do not sell lists, databases or registries of personal data
- The validation database is not used for marketing or prospecting
- We do not return sensitive, financial or location data
- We do not tell a customer which CPFs other customers looked up
Customer responsibilities (you)
When you use the API, you are the controller of the data in the context of your application. In practice, this means:
- Having a legitimate purpose and a legal basis for every lookup
- Informing data subjects, in your privacy policy, that their registration data may be verified with identity validation and fraud prevention providers
- Keeping your API key on your server, without exposing it in the front end
- Keeping the results only for as long as your purpose requires
- Handling data subject requests (access, correction, deletion) about the data you store
When in doubt, ask first
The Terms of Use include examples of purposes, the rules for integrators and partners and how we handle situations outside what was agreed. If you are not sure your case fits, talk to us before you start.
Compliance with the ECA Digital (Law 15.211/2025)
Law 15.211/2025 (ECA Digital, Brazil's digital child protection law) sets age verification obligations for digital platforms that offer content or services unsuitable for minors. When you use CPFHub.io in this flow, compliance with the law is handled by your platform, and we provide the data and supporting documentation. In practice, this involves:
- Combining the CPF lookup with a way to confirm that the user is the owner of the CPF.
- Obtaining consent from the legal guardian when needed (LGPD, art. 14).
- Documenting the measures taken, for accountability.
CPFHub.io provides the verification data. The decision to grant access to the user or not rests with your platform.
Data security in transit
- All communications use TLS 1.2 or higher
- Always use
https://. Requests over plain HTTP get a redirect (301) to HTTPS, and many clients turn a redirectedPOSTinto aGET, which breaks the Real-Time Lookup and the batch lookup - Send the API key in the
x-api-keyheader. Avoid putting it in the URL, where it can show up in proxy and server logs
Data retention
CPFHub.io retains only:
| Data | Period | Purpose |
|---|---|---|
| Technical and access records | Up to 12 months | Security, diagnostics and compliance auditing (LGPD + Marco Civil, Brazil's internet civil framework law) |
| Record of each lookup (CPF looked up, result, date and the account that made it) | While the account is active | History in the dashboard, credit billing, auditing and fraud prevention |
| Proof of the real-time lookup (HTML page) | Up to 5 years | Evidence of the lookup made at Receita Federal |
| Billing data | As required by tax law | Legal obligation |
| Account data (email, name) | Lifetime of the account | Providing the service |
The CPF looked up is recorded together with your account, including when it is not found. Treat the link to the real-time lookup proof (validationHtmlUrl) as personal data and do not expose it.
Data subject rights
CPF holders can exercise directly with CPFHub.io the rights set out in arts. 18 and 19 of the LGPD, such as confirmation of processing, access, correction, information about the source of the data (by source category) and objection. To protect the data subject, CPFHub.io may ask for identity confirmation before responding.
For data subject requests: dpo@cpfhub.io
DPO contact
For compliance questions, audits or requests related to the LGPD:
Data Protection Officer: Bernardo Rocha
Email: dpo@cpfhub.io
Response time: within 15 days
Updated on October 9, 2026