Skip to main content
APIBrasil

Built by devs, for devs

Build any software connected to Brazil

More than 170 APIs for CPF, CNPJ, credit, anti-fraud, vehicles, WhatsApp, SMS, postal codes and much more. Integrate with REST, official SDKs, webhooks and MCP for AI agents.

Quick signup, no card. You pay per query or by monthly subscription.See the API catalog

Meta Tech ProviderMetaTech Provider

Explorer

consulta-cnpj

autenticacao

por-credito

por-plano

BASE=https://gateway.apibrasil.io/api/v2
BODY='{"tipo":"cnpj-cadastral","cnpj":"44959669000180"}'
curl --request POST \
  --url "$BASE/consulta/cnpj/credits" \
  --header "Authorization: Bearer $APIBRASIL_BEARER_TOKEN" \
  --header "Content-Type: application/json" \
  --data "$BODY"
TerminalOutput200 OK
{
  "error": false,
  "response": {
    "razao_social": "APIBRASIL PROCESSAMENTO DE DADOS LTDA",
    "situacao_cadastral": "ATIVA"
  }
}
  • 137anti-fraud APIsidentity, credit, vehicle and documents
  • 12official SDKspublished in the registries, open source
  • +170APIs in the catalogall with a public price, in plain sight
  • 20categories in the catalogfrom postal codes to anti-fraud, filterable on the page

APIBRASIL PROCESSAMENTO DE DADOS LTDA · CNPJ 44.959.669/0001-80 · trademark no. 930993071

Anti-fraud is our core

Fraud doesn't come in through one door — and neither does your defense

Identity, vehicle history, company health and document standing: check all four fronts before approving a signup, a proposal or a sale.

137 APIs across the four fronts

How the anti-fraud gateway assesses a query

Request

POSTunverified data
{
  "tipo": "cpf",
  "cpf": "182.***.***-04"
}

The same query accepts more than one type of input — plate or chassis, CPF or CNPJ. Each one is a request: you send the one you have, in the tipo field.

https://gateway.apibrasil.io

  • People59
  • Vehicles50
  • Companies16
  • Compliance12

Response

High risk

Fraud blocked

Declined before it becomes a loss.

Medium risk

Under review

Held for manual review.

Low risk

Approved, no fraud

Moves through with no friction.

APIBrasil returns the data for each query. The verdict is your system's rule, applied to what the APIs answered.

Beyond anti-fraud

WhatsApp

Send and receive messages, files, buttons and lists with webhooks.

Support, notifications and chatbots

Explore APIs

SMS

Fire off SMS messages for notifications and verification codes.

2FA, alerts and transactional campaigns

Explore APIs

Registration data

Look up CPF and CNPJ with registration status, ownership structure and activities.

Onboarding and database enrichment

Explore APIs

Vehicles and FIPE

Look up license plates, vehicle data and up-to-date values from the FIPE table.

Insurers, dealerships and automotive apps

Explore APIs

Postal codes and location

Complete addresses automatically with data from Correios and coordinates.

Checkout, signup and logistics

Explore APIs

Documents

Validate and look up documents and certificates to cut registration errors.

Forms, contracts and compliance

Explore APIs

Validations

Validate e-mails, phone numbers and registration data before writing to your database.

Data cleansing and error prevention

Explore APIs

These are the most used families.See the full catalog, with the price of each API

Pricing

You pay per query or per number

Data lookups debit credit per call. WhatsApp is a subscription per number — it costs the same whether it's connected or not.

Per credit

Data and lookups

R$ 0,02per query

The lowest price among the 171 APIs — each has its own, in plain sight in the catalog.

Minimum top-upR$ 50,00

  • Top up a balance and pay only for what you look up
  • Authenticates with the Bearer Token, with no device to create
  • No monthly fee: an idle month costs nothing
See the price of each API

Per number, monthly

WhatsApp only

R$ 12,90per number/month

The smallest plan in the catalog, per number subscribed. Meta's official channels are priced on request.

Minimum subscriptionR$ 69,90per month

  • A dedicated, reserved number: it costs the same connected or not
  • Requires a DeviceToken on top of the Bearer Token
  • Webhooks for incoming messages and delivery status
Create an account and subscribe

Integrating WhatsApp? There are five ways to connect: three are covered by the plan above and two are Meta's official channels, which go through sales.Compare the five

For developers

SDK, REST or AI agent — the same key in all three

Three routes to the same gateway: the official SDK for your language, a direct request with a Bearer Token, or the MCP Server inside your assistant.

From login to the first result: authenticate and call — two steps in the language you already use, with an SMS delivered and a CNPJ looked up at the end. There are 12 official SDKs, all open source.

Authorization: Bearer— the only header the credit-based routes need. No DeviceToken.

examples — Ruby
gem install apigratis-sdk-ruby

repositoryRubyGems

The full flow in cURL, with balance, sandbox mode and the catalog's tipo field, is in apigratis-exemplos and in the official documentation.

Use cases

Where the call fits into your product

The moment the data is missing from the flow, and the call that fills it — by type of business.

  • ERP

    The buyer only has the supplier's CNPJ. Legal name, registration status and address come back filled in from the Receita Federal.

  • Customer service platform

    Every client answers from a different number. They all come in as instances and the messages arrive by webhook in a single place.

  • Automotive software

    Appraising a used car depends on what was typed in. From the license plate come the vehicle's data and its FIPE value.

  • Fintech

    A new account needs a decision in seconds. Identity, credit and risk are checked before approval.

  • Marketplace

    A wrong address only shows up when delivery fails. Postal code and registration are validated while the customer is still on the screen.

  • SaaS

    A code that never arrives becomes a support ticket. Transactional SMS and product alerts go out through the API.

  • AI agent

    The assistant knows how to answer, but not how to look things up. With the MCP Server it reads Brazilian data inside the conversation.

  • Anything else

    It's HTTP with JSON: if your stack can make a request, it already speaks to APIBrasil. Any language, any framework, from a one-line script to a legacy system.

    See SDKs and examples

Integrations

Works with the tools you already use

The API is REST with a Bearer Token and fires webhooks — so any tool that can make an HTTP call consumes the catalog, with no plugin to install.

  • n8n
  • Typebot
  • WhatsApp
  • BotConversa
  • Evolution API
  • Webhooks

Third-party trademarks, shown for technical compatibility — there is no commercial relationship with APIBrasil.

Reviews

Rated 4.4 on Google

What customers wrote on APIBrasil's public listing — in their own words, with the link to check them at the source.

  • Empresa de confiança e completa em várias áreas. Utilizo a quase 1 ano. Super recomendo!

    Daniel Vergilio
  • Muito ruim você não consegui nem testa a api já deu consumo total como, vamos adquirir sem testar, o limite gratuito consome só no teste de conexão no proprio painel.

    Eligiomax Lisboa
  • Utilizo a API há 2 anos, e recomendo. Os planos cabem no bolso, o suporte é eficiente e serviços funcionais.

    Isabelle Gois
  • Já utilizei os serviços e recomendo, ótimo tempo de resposta do suporte e qualidade!

    gabriel martins
  • Tudo certo por enquanto, funcionando perfeitamente. Me responderam no ticket e resolveram o meu problema.

    Junior Desisa

FAQ

Frequently asked questions

Billing, credentials, limits and support — straight to the point.

Didn't find your answer?
Talk to our team.

How does billing work?

There are two models. The data APIs (lookups and validations) are billed per credit: you top up a balance and pay per query performed. The WhatsApp products (WPP, Baileys and WhatsMeow) run on a monthly plan. There is no free usage tier: creating an account costs nothing, but usage is charged according to the API or the plan you subscribe to.

What's the difference between credits and plans?

Credits are a prepaid balance consumed by the data APIs, authenticated with a Bearer Token — each API has its own price per query, shown in the catalog. Plans are monthly subscriptions for the WhatsApp products, which require an active plan, an integration and a DeviceToken on top of the Bearer Token.

Do I need a plan to use all the APIs?

No. Plans are required only by the WhatsApp products. The other data APIs run on credits, with no monthly subscription: all you need is a balance in your account.

Do I need a CNPJ to use the APIs?

For most of the catalog, no. CPF and personal data lookups, WhatsApp, SMS, postal codes, the FIPE table, vehicles and the other data APIs work on an individual account, with the ordinary signup. A smaller group of APIs is released only to business accounts: in the catalog they are marked "with CNPJ" and their price is on request, becoming visible in the dashboard once the account is registered with a CNPJ. The "With CNPJ" filter in the gallery shows exactly which ones they are.

Do I need a credit card to create an account?

No. Signing up is free, requires no credit card and takes just a few seconds.

How do I get my credentials?

Once your account is created, you access and generate your credentials directly in the customer dashboard, in the credentials area.

What's the difference between a Bearer Token and a DeviceToken?

The Bearer Token identifies your account and authenticates every request. The DeviceToken identifies one specific device or connection and is required by the WhatsApp products, alongside the Bearer Token.

Is there a test environment?

Some of the APIs offer a sandbox environment. Check the documentation to see whether the API you intend to use provides one.

Is there a request limit?

It depends on the model. The credit-based APIs have no monthly allowance: what counts is the balance — while there is credit, you query, and when it runs out you just top up. The WhatsApp products follow the limits of the plan you subscribed to. Technical limits for each route are in the documentation, and for high volumes the sales team puts together dedicated terms with a contractual SLA.

How do I keep track of usage?

The customer dashboard shows the requests made, the usage, the balance and the usage statistics of each API, plus the logs of every call.

Which SDKs are available?

There are 12 official SDKs published: C++, Python, Lua, PHP, Java, Ruby, C# / .NET, Node.js / TypeScript, Go, Rust, Dart / Flutter e Elixir — all of them in each ecosystem's package manager, with the code on APIBrasil's GitHub. Scala already has its source open on GitHub, with the same documented flow, but the package hasn't been published yet. Erlang, Haskell, Delphi, F#, Clojure, Nim, Kotlin, Crystal e Zig are on the roadmap. In every language the WhatsApp flow is the same: login to get the Bearer Token, start to open the session and read the QR Code, and sendText to send.

How do webhooks work?

On the APIs that support them, you register your endpoint's URL and receive events in real time — incoming WhatsApp messages, for example. Webhook availability is stated in each API's documentation.

What is the MCP Server?

It's APIBrasil's server compatible with the Model Context Protocol. It lets AI agents and tools use the platform's resources, such as data lookups, without you having to build each integration from scratch.

Can I use the APIs in production?

Yes. The APIs support production integrations. Before going live, check the documentation to see whether the API you chose offers a sandbox environment to validate your integration.

Can I cancel whenever I want?

Yes. There is no lock-in and you can cancel at any time, with no penalty.

Is there technical support?

Yes. The specialized support team is available Monday to Friday, during business hours, by WhatsApp, phone and e-mail.

Where do I check service availability?

On the public status page (status.apibrasil.io), which shows the operational state of the platform's services.

Is APIBrasil an official WhatsApp provider?

No. APIBrasil has no official affiliation with Meta. The WhatsApp integrations use our own technologies, and usage must comply with the platform's policies.

Why use APIBrasil instead of integrating each source separately?

Breadth and consistency. More than 170 APIs across 20 categories — registry data, credit, fraud prevention, vehicles, messaging — behind a single account, one credential and one bill. Everything responds in the same REST-and-JSON shape, so your second integration reuses what the first one built. And you can verify before you depend on it: each query's price is in the catalog, the platform status is public and the SDK code is open on GitHub — no card at sign-up and no lock-in.

How do I reach the sales team?

Through the sales WhatsApp, by phone at +55 31 3995-2985 or by e-mail, Monday to Friday during business hours. The channels are in the site footer.

After the first integration

Query from anywhere, and don't integrate alone

Two things that exist and almost nobody knows about: the app for querying away from the desk, and the group of people who already went through what you're going through.

  • Queries on your phone, in the field

    A plate in the lot, a CNPJ at the client's door, a CPF before closing the sale. The app queries with your account, no computer needed.

    Get it on Google Play

    On iPhone, the site itself installs as an app: open the share menu and choose "Add to Home Screen".

  • Developer group

    Integration questions answered by people who already integrated, notices of API changes, and what ships first. It's where the technical conversation happens.

    Join the group

    The group is community-run. Billing, balance and account matters go through official support.

Start with the query you already need to run

Create the account, top up the minimum and test in production — at the same prices listed in the catalog.

Sign up with no card. No lock-in: cancel whenever you want.