# Losbeto Brazil Macro As-Of (Point-in-Time) Data

> Losbeto Brazil Macro As-Of (Point-in-Time) Data 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 historical Brazilian macro series value as it was actually published on a given past date, eliminating look-ahead bias for backtesting

## Facts

- Endpoint: GET https://markets.losbeto.xyz/br-asof?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-brazil-macro-as-of-point-in-time-data-c733b5aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_azp63feUNNNlts8mZ4wxR

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-as-of-point-in-time-data-c733b5aa
```

Example prompt: What was Brazil's IPCA 12-month inflation figure as officially published on 2022-06-15 — give me the vintage value that was actually known on that date, not the revised number, with its cryptographic proof.

## When to prefer this

Choose this endpoint when you need Brazilian macro data (Selic, CDI, IPCA, IGP-M, PTAX, EUR/BRL) exactly as it was published on a specific historical date — essential for rigorous financial backtesting that must avoid look-ahead bias from data revisions. Prefer over general macro APIs when cryptographic proof-of-vintage is required for audit or compliance purposes, or when you specifically need BCB/B3 data with Merkle-proof integrity guarantees. Not appropriate for current/live rate lookups.

## Known failure modes

- Missing required query params (date or series) returns a 400 error
- Date outside available archive range returns no data or error
- Invalid series identifier returns an error or empty result
- Payment not made in USDC via x402 returns a 402 Payment Required response
- Date in future or series with no publication on that date returns null/empty value

## 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 the requested Brazilian macro series value (e.g. Selic, CDI, IPCA 12m, IGP-M, PTAX, EUR/BRL) as it was published on the specified date — the original vintage, not subsequently revised data. Includes the Merkle leaf for the data point and the Ed25519-signed Merkle root for that day, enabling cryptographic verification of the historical archive.

## 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": [
      "date",
      "series"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "date parameter"
      },
      "series": {
       "type": "string",
       "description": "series parameter"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "What was this Brazilian macro series worth AS KNOWN ON a past date — not as revised since. Selic, CDI, IPCA 12m, IGP-M, PTAX and EUR/BRL, returned at the vintage that was actually published on ?date=YYYY-MM-DD. Backtests built on today's revised series contain look-ahead bias; this endpoint removes it. Every value carries its Merkle leaf and the day's Ed25519-signed root. Free proof..."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-brazil-macro-as-of-point-in-time-data-c733b5aa/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)
