Age Verification API: Key Use Cases in Brazil
Where age verification APIs are used in Brazil under the Digital ECA: alcohol, betting, e-commerce and social, and what each one needs.

Contents
In this guide
Jump to the part you need.
Key Takeaways
- Brazil's Digital ECA (Lei 15.211/2025), in force since 17 March 2026, asks for effective age verification for products prohibited for under-18s.
- Industries such as alcohol sales, online gaming, and e-commerce require robust age verification processes.
- For prohibited products an age estimate alone is not enough, and document copies may not be kept.
- Integrating an age verification API enhances trust and safety for both businesses and consumers.
- Choosing the right API provider is critical for accuracy, reliability, and compliance.
Introduction to Age Verification APIs in Brazil
In Brazil, ensuring that age-restricted products and services are not accessible to minors is a significant concern. The Digital ECA and Decreto 12.880 list alcohol, tobacco, betting, loot boxes and pornography among the products prohibited for minors, and ask for effective age verification. For apps, see ECA Digital and Google Play.
Age verification APIs (Application Programming Interfaces) provide a streamlined and automated way to verify the age of individuals accessing these restricted goods and services. These APIs integrate directly into a business's existing systems, such as websites, mobile apps, and point-of-sale (POS) systems, to perform real-time age checks. Confirm with counsel which rule applies to your service.
Didit offers a selfie estimate, Age Estimation, at $0.10 and a document check for the cases that need it. No solution is approved by ANPD.
Key Industries Benefiting from Age Verification APIs
Several industries in Brazil benefit substantially from integrating age verification APIs. Here are some prominent examples:
Alcohol Sales
The sale of alcoholic beverages to individuals under 18 is strictly prohibited in Brazil. Bars, restaurants, supermarkets, and online retailers selling alcohol must verify the age of their customers. Online, the decree asks sellers of prohibited products to verify age at sign-up or at purchase.
Example: An online liquor store verifies the buyer's age with an ID document and a selfie with liveness, and deletes the document data after the age is captured. A selfie estimate can come first, but not alone.
Online Gaming and Gambling
Brazil's online gaming and gambling market is rapidly growing, but it is also heavily regulated. Operators must ensure that only adults participate in these activities. Age verification APIs can be integrated into registration processes to confirm the age of new users. Stores and operating systems must block betting apps that present no age verification solution.
Example: An online poker platform uses Didit's ID Verification API during the registration process. New users are required to upload a copy of their government-issued ID. Didit's system extracts the date of birth from the ID and checks that the user is at least 18 years old. The document image may not be kept after that.
E-commerce
E-commerce platforms selling age-restricted products, such as tobacco, vaping products, and certain over-the-counter medications, must verify the age of their customers. Age verification APIs can be used during the checkout process to prevent minors from purchasing these items.
Example: A marketplace blocks products prohibited for minors by default and unlocks them only after verification. Unlocking by self-declaration is barred by the decree.
Social Media and Online Communities
Social media platforms and online communities that host age-sensitive content can use age verification APIs to restrict access to minors. Accounts of users up to 16 must be linked to a parent or guardian.
Example: A social platform reads the store signal, runs a selfie estimate where it is missing or only declared, and asks for a document only in the borderline band.
Store signal first, your own check second
In Brazil app stores and operating systems supply an age signal, and the law keeps the app responsible for what it does with it. Read the signal first: the Play Age Signals API guide explains it, and the fallback guide covers a missing or only declared age. An own check there can only tighten, because the more protective result applies.
Benefits of Using Didit's Age Verification API
When it comes to age verification APIs in Brazil, Didit offers:
- Modular Architecture: Didit's platform is designed with a modular architecture, allowing businesses to select and integrate only the specific verification checks they need. This flexibility ensures cost-effectiveness and efficiency.
- AI-Native Technology: Didit leverages advanced AI algorithms to estimate age and to verify documents, with liveness detection.
- Developer-First Approach: Didit offers clean APIs, comprehensive documentation, and an instant sandbox environment, making it easy for developers to integrate age verification into their applications.
- No Setup Fees: Didit does not charge any setup fees, reducing the initial investment required to implement age verification.
Implementing Age Verification APIs: Best Practices
To effectively implement age verification APIs in Brazil, consider the following best practices:
- Choose a Reliable Provider: Select an API provider with a proven track record of accuracy and reliability.
- Ensure Data Privacy: Use data collected to verify the age of minors only for that purpose, keep no document copy, and review LGPD duties with counsel.
- Provide Clear Communication: Clearly communicate the age verification process to users and explain why it is necessary. Transparency builds trust and encourages cooperation.
- Offer Alternative Verification Methods: Provide alternative age verification methods for users who may not have access to digital IDs or other required documents.
- Regularly Monitor and Update: Continuously monitor the performance of your age verification system and update it as needed to address emerging threats and regulatory changes.
Conclusion
Age verification APIs help businesses in Brazil that sell or show what minors may not access. Match the method to the risk, keep the data small, and start from the store signal where you have one.
Ready to Get Started?
See how an age check would look in your product.
Want to see age estimation in your app? Get a demo.
Prefer to try it yourself? Start free in the Business Console.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alejandro Rosas
Co-founder and CTO

Questions
Blog questions
Who writes the Didit blog?
Which topics does the blog cover?
Is the blog available in my language?
Where do I find product updates?
Are these posts legal advice?
How do I find posts on one topic?
Are posts dated?
Do posts link to the docs?
Is the blog the same as the docs?
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


