# Losbeto ML Price Forecast

> Losbeto ML Price Forecast is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-20).

Returns quantile gradient-boosting price forecasts (p10/p50/p90 bands) for major crypto assets over user-specified time horizons, with walk-forward MAPE published per response.

## Facts

- Endpoint: GET https://markets.losbeto.xyz/forecast?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-ml-price-forecast-713f3481
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5l9Vu0cDN9yQcvhWxlEEJ

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-ml-price-forecast-713f3481
```

Example prompt: Can you give me the 24-hour price forecast for BTC with the p10, p50, and p90 bands and the model's backtest error?

## When to prefer this

Choose this endpoint when you need probabilistic, quantile-based price forecasts (p10/p50/p90 bands) for major crypto assets trained on self-hosted price history, with published backtest MAPE for transparency — especially when you want to avoid API keys, pay per call in USDC, and get an honest uncertainty range rather than a single point estimate. Prefer it over generic price-lookup endpoints when you need forward-looking ML predictions with confidence intervals, not just current or historical prices.

## Known failure modes

- Unsupported symbol (only BTC, ETH, SOL, BNB, XRP, DOGE, ADA, LINK are supported) returns an error or empty result
- Invalid horizon value outside of 6h/24h/3d/7d returns an error
- Payment failure via x402 (insufficient USDC balance or unsupported chain) blocks the request
- Node downtime or price history gap may degrade forecast quality or return an error
- Missing required query parameters (symbol or horizon) returns a validation error

## 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, Algorand and Polygon via x402.

## Output

A JSON object containing quantile gradient-boosting price forecast bands (p10, p50, p90) for the requested crypto asset over the specified horizon (6h, 24h, 3d, or 7d), along with the model's walk-forward backtest error (MAPE), all computed on-node from the service's own collected price history.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "horizon",
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Asset ticker, e.g. AAPL, TSLA, BTC, GOLD"
      },
      "horizon": {
       "type": "string",
       "description": "horizon parameter"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "description": "Machine-learning price forecast running entirely on this node: quantile gradient boosting (p10/p50/p90 bands) over 6h, 24h, 3d or 7d horizons for BTC, ETH, SOL, BNB, XRP, DOGE, ADA and LINK, trained on the node's OWN collected price history, with walk-forward backtest error (MAPE) published in every answer. No external AI API, no GPU. Not financial advice."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-ml-price-forecast-713f3481/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)
