# Losbeto BR Archive — Brazilian Market Data Historical Snapshot

> Losbeto BR Archive — Brazilian Market Data Historical Snapshot is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.09/call, status unknown (last checked 2026-10-12).

Returns a cryptographically signed, point-in-time snapshot of Brazilian market data (BCB macro indicators, Ibovespa, fear/greed) for a specific past date, verifiable via Ed25519 signature.

## Facts

- Endpoint: GET https://markets.losbeto.xyz/br-archive?utm_source=zero.xyz
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-br-archive-brazilian-market-data-historical-snapshot-dd9d8903
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rIaSxzuiQ5ztpt_BCHgON

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-br-archive-brazilian-market-data-historical-snapshot-dd9d8903
```

Example prompt: Pull the Losbeto BR archive snapshot for March 15, 2024 — I need the Selic rate, IPCA, PTAX, and Ibovespa close for that day, with the Ed25519 signature so I can verify it offline.

## When to prefer this

Choose this endpoint when you need a cryptographically verifiable, immutable historical record of Brazilian macro indicators (BCB: Selic, CDI, IPCA, IGP-M, PTAX) and Ibovespa data for a specific past date. It is uniquely suited for compliance, auditing, backtesting, or dispute resolution where tamper-evidence (Ed25519 signature) is required. Prefer this over generic financial data APIs when you need BCB-specific indicators or provable data integrity for Brazilian markets specifically.

## Known failure modes

- Missing or invalid 'day' query parameter returns an error or defaults to latest snapshot
- Requested date predates archive coverage — returns error indicating no record exists
- Malformed date format (not YYYY-MM-DD) causes rejection
- Service unavailable or payment not processed via x402 — 402 Payment Required response
- Date in the future returns no data

## 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 and Algorand via x402.

## Output

A JSON object containing a signed, frozen snapshot of Brazilian macro and market indicators for the requested date: BCB-sourced Selic, CDI, IPCA, IGP-M, and PTAX rates; Ibovespa closing price and fear/greed index; plus an Ed25519 digital signature from the Losbeto node for offline tamper-proof verification. Data cannot be backfilled or retroactively altered.

## 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-br-archive-brazilian-market-data-historical-snapshot-dd9d8903/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)
