Skip to content
Fourohtwo

api.brazilayer.com/v1/cnpj/busca

Search Brazilian companies in the official Receita Federal CNPJ registry. Filters (at least one required): nome (full-text on names, accent-insensitive), uf (state), municipio (4-digit RFB code), cnae, porte (size), abertura_de/abertura_ate (opening-date window YYYY-MM-DD, for newly registered companies), situacao (default "ativa"). Paginated; total capped at "10000+". Free sample, no payment: htt

BaseAnswering
GEThttps://api.brazilayer.com/v1/cnpj/busca

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.brazilayer.com/v1/cnpj/busca?nome=padaria&por_pagina=20&uf=RJ");
console.log(await res.json());

Example input

{
  "nome": "padaria",
  "por_pagina": 20,
  "uf": "RJ"
}

More from Brazilayer CNPJ RegistryProvider status