Api Endpoint

Brazilayer CNPJ Registry

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: https://api.brazilayer.com/v1/cnpj/amostra

Open interactive test console

Offering

Provider
api.brazilayer.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Legal And Compliance
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.brazilayer.com/v1/cnpj/busca
MIME type
Not provided
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
brazil, cnpj, company-search, lead-generation

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x3Cc1D8ee1dfdFd326c19B0884B8dF4b24B623f0c"
  }
]

Observed health

Status
Healthy
Latest latency
294 ms
Average latency
1222 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "queryParams": {
      "properties": {
        "abertura_ate": {
          "description": "opening date to (YYYY-MM-DD)",
          "type": "string"
        },
        "abertura_de": {
          "description": "opening date from (YYYY-MM-DD), for newly registered companies",
          "type": "string"
        },
        "cnae": {
          "description": "7-digit CNAE activity code",
          "type": "string"
        },
        "com_investidor": {
          "description": "only companies with a VC/PE fund in the ownership structure (a public proxy for venture-backed startups)",
          "type": "boolean"
        },
        "municipio": {
          "description": "4-digit RFB city code",
          "type": "string"
        },
        "nome": {
          "description": "full-text search on company names",
          "type": "string"
        },
        "pagina": {
          "description": "page number, default 1",
          "type": "integer"
        },
        "por_pagina": {
          "description": "page size, default 20, max 50",
          "type": "integer"
        },
        "porte": {
          "description": "company size: micro_empresa | pequeno_porte | demais",
          "type": "string"
        },
        "situacao": {
          "description": "registration status: ativa (default) | baixada | suspensa | inapta | nula",
          "type": "string"
        },
        "uf": {
          "description": "2-letter Brazilian state code, e.g. SP",
          "type": "string"
        }
      },
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "abertura_ate": {
              "description": "opening date to (YYYY-MM-DD)",
              "type": "string"
            },
            "abertura_de": {
              "description": "opening date from (YYYY-MM-DD), for newly registered companies",
              "type": "string"
            },
            "cnae": {
              "description": "7-digit CNAE activity code",
              "type": "string"
            },
            "com_investidor": {
              "description": "only companies with a VC/PE fund in the ownership structure (a public proxy for venture-backed startups)",
              "type": "boolean"
            },
            "municipio": {
              "description": "4-digit RFB city code",
              "type": "string"
            },
            "nome": {
              "description": "full-text search on company names",
              "type": "string"
            },
            "pagina": {
              "description": "page number, default 1",
              "type": "integer"
            },
            "por_pagina": {
              "description": "page size, default 20, max 50",
              "type": "integer"
            },
            "porte": {
              "description": "company size: micro_empresa | pequeno_porte | demais",
              "type": "string"
            },
            "situacao": {
              "description": "registration status: ativa (default) | baixada | suspensa | inapta | nula",
              "type": "string"
            },
            "uf": {
              "description": "2-letter Brazilian state code, e.g. SP",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}