# Losbeto Brazil Archive Market Data

> Losbeto Brazil Archive Market Data is a paid API for AI agents from api.losbeto.xyz, paid per call via x402, $0.09/call, status unknown (last checked 2026-10-19).

Fetches archived Brazil macro and financial market data from BCB/B3 sources for AI agents via pay-per-call

## Facts

- Endpoint: GET https://api.losbeto.xyz/br-archive?utm_source=zero.xyz
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-brazil-archive-market-data-016c3a6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__8doEbXlZXFNyyyfF54k3

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-archive-market-data-016c3a6b
```

Example prompt: Pull archived Brazil macro data from Losbeto — I need historical Selic interest rate values from BCB going back to 2020 so I can analyze the rate cycle.

## When to prefer this

Choose this endpoint when you need archived or historical Brazil-specific macroeconomic data sourced from BCB or B3, particularly when you need no account setup and are willing to pay per call in USDC. Best for agents doing backtesting, economic research, or Brazil macro analysis requiring time-series history rather than real-time prices.

## Known failure modes

- Payment not received or insufficient USDC — 402 Payment Required response
- Invalid date range or out-of-bounds historical query — 400 or empty result
- Requested symbol or BCB series ID not found — empty dataset or 404
- Network timeout on data provider side — 503 or timeout error
- Malformed query parameters — 400 Bad Request

## How this service works

What did Brazilian markets actually look like on a specific past day — provably? One signed, point-in-time snapshot per day: BCB macro (Selic, CDI, IPCA, IGP-M, PTAX), Ibovespa close and fear/greed, frozen exactly as...

## Output

Returns a JSON response containing archived Brazil macroeconomic and financial market data, potentially including historical rates (Selic, CDI), inflation series (IPCA, IGPM), B3 equity prices, BRL exchange rates, and other BCB/B3 time-series data points for the requested parameters.

## 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": [
      "day"
     ],
     "properties": {
      "day": {
       "type": "string",
       "description": "day parameter"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "What did Brazilian markets actually look like on a specific past day — provably? One signed, point-in-time snapshot per day: BCB macro (Selic, CDI, IPCA, IGP-M, PTAX), Ibovespa close and fear/greed, frozen exactly as published and signed Ed25519 with this node's key. Call ?day=YYYY-MM-DD (default: latest). The history cannot be backfilled or altered retroactively — verify the..."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-brazil-archive-market-data-016c3a6b/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)
