# Brazil CNPJ Company Lookup (Receita Federal)

> Brazil CNPJ Company Lookup (Receita Federal) is a paid API for AI agents from api.ssh.autos, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-14).

Looks up Brazilian company information by CNPJ number using Receita Federal open data

## Facts

- Endpoint: POST https://api.ssh.autos/v1/br/cnpj?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brazil-cnpj-company-lookup-receita-federal-ac0862ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RVDptRAunjwQQAaHIYr0c

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-company-lookup-receita-federal-ac0862ec -d '<json body>'
```

Example prompt: Can you look up the Brazilian company with CNPJ 19.131.243/0001-97 and tell me their registered name, address, and status?

## When to prefer this

Use this endpoint when you need to verify or enrich data about Brazilian companies using their CNPJ identifier, especially for KYC, supplier onboarding, invoice validation, or competitive research. It is backed by official Receita Federal open data, making it authoritative for Brazilian business registration. Prefer this over general web search when you need structured, machine-readable corporate records.

## Known failure modes

- Invalid CNPJ checksum — the API validates the check digits and will reject malformed CNPJs
- CNPJ not found — returns succeeded_empty with zero records if the CNPJ doesn't exist in Receita Federal data
- Malformed input — CNPJ string too short or too long (must be 14-18 characters)
- Upstream Receita Federal data unavailability — may return errors if the open data source is down

## How this service works

Live web and public-record data: marketplaces, real estate, social media, job listings, company registries and government tenders. Pay per call in USDC over x402 with no account, subscribe on the Apify Store, or buy a finished, sourced report.

## Output

Returns an array of company records from Receita Federal matching the provided CNPJ, along with a summary object indicating the status (e.g. succeeded_empty if no records found) and the count of records returned. Each record typically includes company name, registration status, address, and business activity codes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cnpj": {
   "type": "string",
   "title": "Cnpj",
   "examples": [
    "19131243000197"
   ],
   "maxLength": 18,
   "minLength": 14,
   "description": "CNPJ, bare or masked (e.g. 19.131.243/0001-97); checksum-validated."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "records": [],
  "summary": {
   "status": "succeeded_empty",
   "records": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brazil-cnpj-company-lookup-receita-federal-ac0862ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ssh.autos](https://www.zero.xyz/host/api.ssh.autos/llms.txt)
