# Losbeto Brazilian CNPJ Company Lookup

> Losbeto Brazilian CNPJ Company Lookup is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-14).

Looks up a Brazilian company by CNPJ number in the federal registry, returning legal name, registration status, opening date, CNAE activity code, company size, location, and partner count

## Facts

- Endpoint: GET https://markets.losbeto.xyz/br-cnpj?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-brazilian-cnpj-company-lookup-cb685071
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pVJ1Y54JFdU7MzAAPvEs2

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 losbeto-brazilian-cnpj-company-lookup-cb685071
```

Example prompt: Can you look up CNPJ 00.000.000/0001-91 in the Brazilian federal registry and tell me whether the company is active, what their legal name is, what city they're in, and what their main business activity is?

## When to prefer this

Use this endpoint when you need to verify that a Brazilian company is real and currently active before initiating payments, onboarding, or contracts. It goes beyond checksum validation (use /br-doc for that) to confirm actual federal registration status, legal identity, and business activity. Prefer this over generic web searches when you need authoritative, structured data from the Receita Federal registry. Ideal for KYB workflows, supplier onboarding, invoice verification, and compliance checks involving Brazilian entities.

## Known failure modes

- Invalid or malformed CNPJ format returns an error (use /br-doc endpoint first to validate checksum)
- CNPJ not found in federal registry returns 404 or empty result
- Company exists but is BAIXADA (closed), SUSPENSA, or INAPTA — valid response but company is not active
- Receita Federal upstream API timeout or unavailability causes 502/503
- Payment failure via x402 if USDC balance is insufficient or chain is congested

## How this service works

OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.

## Output

A JSON object containing the company's legal name, current registry status (ATIVA, BAIXADA, SUSPENSA, or INAPTA), opening/incorporation date, primary CNAE activity code and description, company size classification, state and city of registration, and the number of listed partners/directors.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "cnpj"
     ],
     "properties": {
      "cnpj": {
       "type": "string",
       "description": "cnpj parameter"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Look up a Brazilian company by CNPJ in the federal registry: legal name, registry status (ATIVA / BAIXADA / SUSPENSA / INAPTA), opening date, main CNAE activity, size, state and city, partner count. The step after /br-doc: checksum says the number is well-formed, this says the company is real and active — the check an onboarding or payment agent runs before paying a Brazilian..."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-brazilian-cnpj-company-lookup-cb685071/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markets.losbeto.xyz](https://www.zero.xyz/host/markets.losbeto.xyz/llms.txt)
