# Brazilayer CNPJ Complete Company Profile

> Brazilayer CNPJ Complete Company Profile is a paid API for AI agents from api.brazilayer.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a full Brazilian company profile in one call: official registration data, all partners/shareholders, and all branch offices (filiais) from the Receita Federal CNPJ registry.

## Facts

- Endpoint: GET https://api.brazilayer.com/v1/cnpj/empresa/:cnpj/completo
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brazilayer-cnpj-complete-company-profile-06061a3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MBBG5X-yuLiiFZWzS4ihT

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 brazilayer-cnpj-complete-company-profile-06061a3e
```

Example prompt: Can you pull the complete company profile for Brazilian CNPJ 00.000.000/0001-91, including all partners, shareholders, and branch offices?

## When to prefer this

Choose this endpoint when you need a complete company dossier in a single API call — combining registration data, ownership/partner structure, and branch listings — rather than making three separate calls to the individual endpoints. Ideal for KYC, due diligence, corporate intelligence, or compliance workflows where all three data bundles are needed together.

## Known failure modes

- Invalid or malformed CNPJ returns a 400/422 error
- CNPJ not found in the Receita Federal registry returns a 404
- Receita Federal upstream outage may result in a 503 or timeout
- Rate limiting may occur for high-volume callers
- Payment failure (x402) if insufficient USDC balance

## How this service works

Complete bundle for a Brazilian company in one call: full registration data + all partners/shareholders + list of branches (filiais) with their status. Best value for a full company profile from the official Receita Federal CNPJ registry. Free sample, no payment: https://api.brazilayer.com/v1/cnpj/amostra

## Output

Returns a JSON object containing the company's official Receita Federal registration details (name, address, legal nature, CNAE activity codes, status), a list of all partners and shareholders (socios) with their roles and equity stakes, and a list of all branch offices (filiais) with their CNPJs and operational status.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "cnpj": {
      "type": "string",
      "description": "Brazilian company tax ID (CNPJ), 14 digits, with or without punctuation (e.g. 00000000000191 or 00.000.000/0001-91)"
     },
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brazilayer-cnpj-complete-company-profile-06061a3e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.brazilayer.com](https://www.zero.xyz/host/api.brazilayer.com/llms.txt)
