CPFHub.io

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.

FieldTypeSource
nameFull nameValidation database
nameUpperName in uppercaseDerived from the name
genderGender (M / F)Validation database. When the source does not provide it, it is estimated from the first name
birthDateDate of birthValidation database
day, month, yearDate componentsDerived 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:

FieldTypeSource
nameFull nameReceita Federal, on demand
birthDateDate of birth (provided by you and confirmed by Receita Federal)Receita Federal, on demand
deathYearYear 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 monthReceita Federal, on demand
situationRegistration status of the CPFReceita Federal, on demand
emissionDate, emissionTimeDate and time the proof was issuedReceita Federal, on demand
controlCodeControl code of the proofReceita Federal, on demand
validationUrlVerification link on the Receita Federal website (the QR code destination)Receita Federal, on demand
validationHtmlUrlProof of the lookup stored by CPFHub.io (HTML, with QR code)Generated by CPFHub.io

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 redirected POST into a GET, which breaks the Real-Time Lookup and the batch lookup
  • Send the API key in the x-api-key header. Avoid putting it in the URL, where it can show up in proxy and server logs

Data retention

CPFHub.io retains only:

DataPeriodPurpose
Technical and access recordsUp to 12 monthsSecurity, 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 activeHistory in the dashboard, credit billing, auditing and fraud prevention
Proof of the real-time lookup (HTML page)Up to 5 yearsEvidence of the lookup made at Receita Federal
Billing dataAs required by tax lawLegal obligation
Account data (email, name)Lifetime of the accountProviding 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