# Losbeto Brazil Macro Documentation

> Losbeto Brazil Macro Documentation is a paid API for AI agents from api.losbeto.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Returns Brazil-specific macroeconomic market data documentation covering BCB and B3 data sources

## Facts

- Endpoint: GET https://api.losbeto.xyz/br-doc?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-brazil-macro-documentation-53044be8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DUqm8rfOcnMQ1nkyn4foy

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-brazil-macro-documentation-53044be8
```

Example prompt: Pull up the Losbeto documentation for Brazil macro data — I want to see what BCB and B3 data fields are available before I start querying live prices.

## When to prefer this

Use this endpoint when you need to understand the schema and available fields for Losbeto's Brazil-specific macroeconomic data (BCB/B3) before making live data calls, or when building an agent that needs to reference Brazil macro data documentation without requiring API keys or account registration.

## Known failure modes

- 402 Payment Required if USDC micropayment via x402 is not included
- Service unavailable if api.losbeto.xyz is down
- Empty or malformed JSON if documentation endpoint has no content
- Network timeout for slow connections

## How this service works

Validate a Brazilian CNPJ or CPF by its modulo-11 check digits and return it formatted, plus whether a CNPJ is a headquarters (branch 0001). Catches typos and fabricated identifiers before they enter a workflow. Zero...

## Output

JSON documentation describing the available Brazil macroeconomic data endpoints, fields, schemas, and data sources (BCB and B3) offered by the Losbeto pay-per-call market data service.

## 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": [
      "doc"
     ],
     "properties": {
      "doc": {
       "type": "string",
       "description": "doc parameter"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Validate a Brazilian CNPJ or CPF by its modulo-11 check digits and return it formatted, plus whether a CNPJ is a headquarters (branch 0001). Catches typos and fabricated identifiers before they enter a workflow. Zero upstream calls. This confirms the number is well-formed, NOT that it is registered or active — for registry status an official Receita Federal query is required."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-brazil-macro-documentation-53044be8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.losbeto.xyz](https://www.zero.xyz/host/api.losbeto.xyz/llms.txt)
