# Losbeto Cross-Asset Market Data API

> Losbeto Cross-Asset Market Data API is a paid API for AI agents from api.losbeto.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Provides pay-per-call multi-asset market data including crypto prices, forex, equities, commodities, sentiment, and Brazil macro data via x402 micropayment protocol — no API keys required.

## Facts

- Endpoint: GET https://api.losbeto.xyz/llm
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-cross-asset-market-data-api-2c0ac28a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rQxjmHw377xCM673f1Jjs

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-cross-asset-market-data-api-2c0ac28a
```

Example prompt: Can you get me the current consensus price for Bitcoin and the market sentiment score right now — paying per call with no API key needed?

## When to prefer this

Choose this endpoint when your AI agent needs real-time, cross-asset market data spanning crypto, forex, equities, commodities, and Brazil macro without the overhead of API key management or subscriptions. It is ideal for lightweight, pay-per-use scenarios via x402 micropayments on Base, Solana, or Algorand, especially when multi-oracle price consensus or sentiment data is required alongside traditional market data in a single unified API.

## Known failure modes

- Payment not received or insufficient USDC balance — 402 Payment Required returned
- Unsupported asset symbol or market type — returns error or empty result
- Network latency causing stale or unavailable data from upstream oracles
- Invalid query parameters — malformed request returns error response
- Oracle consensus unavailable for requested asset at time of call

## 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 response containing current market data such as consensus prices from multiple oracles, sentiment scores, forex rates, equity prices, commodity prices, and Brazil-specific macro indicators (BCB/B3 data) for the queried asset or market.

## 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",
     "properties": {
      "q": {
       "type": "string",
       "description": "Free-text search query"
      },
      "max_tokens": {
       "type": "string",
       "description": "max_tokens parameter"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "LLM inference as a pay-per-call commodity — ask anything (?q=...) and get the first live answer from a multi-provider failover chain (Groq, Gemini, paid tiers when configured). One flat price, any subject, no API keys to manage. This is the high-frequency SKU agents refill daily: summarization, extraction, drafting, classification. OpenAI-compatible door at POST /v1/chat/completions — point any SDK at this base_url and pay per call in USDC instead of juggling provider keys."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-cross-asset-market-data-api-2c0ac28a/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)
