Brazil

API

Community-driven API for Brazil's public government data

Visit Website

Overview

The Brazil API is a community-driven RESTful service offering access to diverse Brazilian public government data. Key endpoints include CEP (postal code) lookup, IBGE regional codes, CPF/CNPJ tax ID validation, bank details, and more. Responses are in JSON format, enabling seamless integration into web/mobile apps. Use cases range from auto-filling addresses in e-commerce platforms to validating user tax IDs for business services, or accessing regional statistics for research. Maintained by a developer community, it ensures ongoing updates to public data sources.

Example Integration (JavaScript)

script.js JS

fetch('https://brasilapi.com.br/')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful
  • JSON Support
  • No Auth Required
  • Community-Driven
  • Multiple Public Data Sources

Frequently Asked Questions

? Is Brazil API free to use?

Yes, the Brazil API is free for both personal and commercial use, subject to rate limits to ensure fair access.

? Does it require an API Key?

No, most endpoints do not require an API key; you can send requests directly without authentication.

? What is the response format?

All responses are returned in JSON format, which is lightweight and compatible with most programming languages.

Top Alternatives

IBGE Public Data API Search Google

People Also Ask about Brazil

Brazil vs IBGE Public Data API Brazil 2025 review

Tool Info

Pricing Free
Category Government
Platform Public API

Pros

  • Free to Use
  • Easy Integration
  • Wide Range of Brazilian Public Data
  • Regular Updates

Cons

  • Rate-Limited
  • No Official SLA
  • Data Accuracy Dependent on Third-Party Sources

More Government Tools