# Losbeto Brazil Macro Snapshot

> Losbeto Brazil Macro Snapshot 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-11).

Returns a real-time snapshot of Brazil's six official macroeconomic indicators (Selic, CDI, IPCA, IGP-M, USD/BRL PTAX, EUR/BRL) plus the ex-post real interest rate, sourced from BCB/SGS, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://markets.losbeto.xyz/br-macro-snapshot?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-brazil-macro-snapshot-d0f81d65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VOdTcR2uhdK-Oftr6pjYj

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-d0f81d65
```

Example prompt: Pull the latest Brazil macro snapshot — Selic, CDI, IPCA inflation, IGP-M, and the official USD/BRL and EUR/BRL PTAX rates — so I can assess Brazil risk before rebalancing my LatAm equity basket.

## When to prefer this

Choose this endpoint when you need official, BCB-sourced Brazilian macro indicators (Selic, CDI, IPCA, IGP-M, PTAX) in a single pay-per-call API call with no API key or account required. Prefer it over general forex or EM data providers when you specifically need BCB/SGS authoritative figures for BRL, B3 equities, or LatAm portfolio risk assessment. It is uniquely suited for AI agents that need to pay programmatically in USDC via x402 without subscription overhead.

## Known failure modes

- BCB/SGS upstream outage returns stale or error data
- Payment verification failure via x402 returns 402 with payment instructions
- Invalid format query parameter returns a parsing or 400 error
- Rate or data unavailability on BCB publish schedule returns partial dataset

## 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 rolling inflation, IGP-M inflation index, official USD/BRL PTAX rate, EUR/BRL rate, and the computed ex-post real interest rate, all sourced directly from the Central Bank of Brazil's SGS system.

## 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": [],
     "properties": {
      "format": {
       "type": "string",
       "description": "Response format (json)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "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..."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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