# 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-16).

Provides pay-per-call, multi-oracle consensus market data for AI agents across crypto, forex, equities, commodities, sentiment, and Brazil macro data with no account setup required

## Facts

- Endpoint: POST https://api.losbeto.xyz/v1/chat/completions
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-cross-asset-market-data-api-7e718a08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WD6pMbAPYD8-nLYuY3yLM

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-7e718a08 -d '<json body>'
```

Example prompt: What's the current consensus price for Bitcoin right now — pull it from Losbeto's multi-oracle feed and also give me the market sentiment score for BTC?

## When to prefer this

Choose Losbeto when building AI agents that need cross-asset market data with no API key or account setup overhead, especially for crypto multi-oracle consensus pricing, Brazil-specific macro and B3 data, or when pay-per-call micropayment billing via USDC on Base/Solana/Algorand is preferred over subscription plans. Ideal for autonomous agents that need to pay for data on-demand using x402 protocol.

## Known failure modes

- Insufficient USDC balance causes payment failure and request is not processed
- Unsupported asset symbol or market category returns an error or empty result
- Network latency from oracle aggregation may occasionally cause slow responses
- Invalid or malformed POST body results in a 4xx error
- Blockchain payment confirmation delay on Base, Solana, or Algorand may time out the request

## 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

Returns a JSON object containing consensus market data, which may include aggregated price from multiple oracles, sentiment score, forex rate, equity price, commodity price, or Brazilian macro indicators depending on the query — all without requiring API keys or account registration

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "method": {
     "type": "string",
     "description": "POST"
    },
    "bodyParams": {
     "type": "object",
     "required": [
      "messages"
     ],
     "properties": {
      "model": {
       "type": "string",
       "default": "losbeto-fast",
       "description": "Model alias; any string accepted (failover chain picks the live provider)."
      },
      "messages": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "role",
         "content"
        ],
        "properties": {
         "role": {
          "enum": [
           "system",
           "user",
           "assistant"
          ],
          "type": "string"
         },
         "content": {
          "type": "string"
         }
        }
       },
       "description": "OpenAI chat messages, oldest first."
      },
      "max_tokens": {
       "type": "integer",
       "default": 1024,
       "description": "Completion cap, 16-2048."
      },
      "temperature": {
       "type": "number",
       "default": 0.4,
       "description": "Sampling temperature, 0.0-1.5."
      }
     },
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "OpenAI-compatible chat completions over x402: POST the standard {model, messages, max_tokens} body and receive a standard chat.completion response — any OpenAI SDK works by changing only base_url. Payment is the x402 challenge (USDC on Base, Solana or Algorand), so an agent needs no provider account, no credit card, no API key. Failover chain behind the door: Groq first for speed, Gemini and paid tiers as backup. v1: no streaming, tools or vision — declared in every error response."
    }
   }
  }
 }
}
```

## 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-7e718a08/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)
