# Brazil CNPJ Business Lookup

> Brazil CNPJ Business Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.00108/call, status unknown (last checked 2026-09-15).

Looks up official Brazilian company registration data from Receita Federal by CNPJ number, returning legal name, trade name, address, partners, status, and activity codes.

## Facts

- Endpoint: GET https://2s.io/api/business/br-cnpj
- Price: $0.00108/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brazil-cnpj-business-lookup-612d0be9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q9XNi7DLOyKLIGTqYLo0W

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brazil-cnpj-business-lookup-612d0be9
```

Example prompt: Can you look up the Brazilian company with CNPJ 19131243000197 and tell me its legal name, current status, address, and who the partners are?

## When to prefer this

Use this endpoint when you need official ground-truth data about a Brazilian company registered with Receita Federal, including compliance checks, KYB (Know Your Business) workflows, partner verification, or enriching business records with legal and contact details. Prefer this over web scraping or unofficial sources for authoritative Brazilian corporate data.

## Known failure modes

- Invalid or malformed CNPJ returns an error or empty items array
- CNPJ not found in Receita Federal database returns empty result
- Network timeout or upstream BrasilAPI unavailability causes failure
- CNPJ with wrong digit count (not 14 digits) triggers validation error

## How this service works

Brazilian company registry lookup by CNPJ (the 14-digit national company tax ID). Returns the legal name (razão social), trade name, registration status and reason, start date, legal nature, company size, share capital (BRL), primary economic activity (CNAE code + description), contact email/phone, full address, and the partners/officers (QSA — name + role). Free, open Brazilian government data (Receita Federal via BrasilAPI). The canonical "who is this Brazilian company" lookup for KYB, diligence, and cross-border onboarding — complements business.lei (GLEIF) and business.sos-search (US).

## Output

Returns a JSON object with ok:true and an items array containing one company record with fields: cnpj, legalName, tradeName, status, statusReason, startDate, legalNature, primaryActivity, primaryActivityCode, shareCapitalBRL, size, phone, email, address (street, number, district, city, state, zip), and partners (name, role). Also includes a source object with provider, URL, and license info.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "cnpj"
     ],
     "properties": {
      "cnpj": {
       "type": "string",
       "description": "14-digit CNPJ (with or without punctuation)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brazil-cnpj-business-lookup-612d0be9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
