# Losbeto Brazil Macro Snapshot

> Losbeto Brazil Macro Snapshot is a paid API for AI agents from api.losbeto.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns Brazil's six official macro indicators (Selic, CDI, IPCA, IGP-M, PTAX, EUR/BRL) plus the ex-post real interest rate from BCB/SGS in a single paid call

## Facts

- Endpoint: GET https://api.losbeto.xyz/br-macro-snapshot
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-brazil-macro-snapshot-aba30f6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cPajfi4aEdGMLQukX6SPK

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-snapshot-aba30f6f
```

Example prompt: Pull me a Brazil macro snapshot — I need the current Selic rate, IPCA 12-month inflation, CDI, IGP-M, the official PTAX USD/BRL, and the real interest rate before I decide whether to add B3 exposure to my LatAm basket.

## When to prefer this

Choose this endpoint when you need a single authoritative snapshot of Brazil's official macro indicators sourced directly from BCB/SGS, especially before trading BRL-denominated instruments, B3 equities, or LatAm baskets. Prefer it over scraping BCB's website or assembling rates from multiple sources — it bundles six series plus real rate in one $0.02 call with no API keys required, payable on-chain via USDC.

## Known failure modes

- Payment not received or USDC transaction failed — returns HTTP 402 requiring payment
- BCB/SGS data source temporarily unavailable — may return stale or error response
- Invalid format query parameter — may return 400 or default to JSON
- Network timeout if BCB upstream is slow — agent should retry

## 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 Brazil's six official macro series: Selic target rate, daily CDI rate, IPCA 12-month inflation, IGP-M inflation index, official USD/BRL PTAX rate, EUR/BRL rate, and the derived ex-post real interest rate — all sourced directly from BCB/SGS.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "properties": {
    "queryParams": {
     "properties": {
      "format": {
       "description": "Response format (json)",
       "type": "string"
      }
     },
     "type": "object"
    }
   },
   "type": "object"
  },
  "output": {
   "properties": {
    "example": {
     "description": "Brazil's six official macro series in one cheap call — Selic target, daily CDI, IPCA 12-month inflation, IGP-M, official USD/BRL PTAX and EUR/BRL — plus the ex-post real interest rate, straight from the Central Bank of Brazil (BCB/SGS). The only machine-payable Brazilian macro feed on x402. Built for agents that need a BR risk read before trading BRL, B3 equities or LatAm baskets. $0.02 discovery price.",
     "type": "object"
    }
   },
   "type": "object"
  }
 },
 "required": [
  "input"
 ],
 "type": "object"
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-brazil-macro-snapshot-aba30f6f/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)
