# Losbeto ML Price Forecast

> Losbeto ML Price Forecast is a paid API for AI agents from losbeto-production-dd7c.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-22).

Returns machine-learning quantile gradient boosting price forecasts (p10/p50/p90) for crypto assets over 6h, 24h, 3d, or 7d horizons, trained on locally collected price history, with walk-forward MAPE backtest error included.

## Facts

- Endpoint: GET https://losbeto-production-dd7c.up.railway.app/forecast?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-ml-price-forecast-b5b8310e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D8AbYXjalRNzg-1JhDkc7

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

Example prompt: Give me a 24-hour price forecast for BTC using the Losbeto ML model — I want the p10, p50, and p90 bands and the backtest MAPE error.

## When to prefer this

Choose this endpoint when you need a self-contained, on-node ML price forecast with quantile uncertainty bands (p10/p50/p90) for major crypto assets, especially if you want walk-forward backtest MAPE for model validation and do not want to depend on an external AI or GPU service. Prefer this over generic market data endpoints when probabilistic range forecasting (not just a point estimate) is needed. Ideal for agents making automated trading or risk decisions that benefit from uncertainty quantification. Use when no API key or account signup is acceptable and USDC micropayment via x402 is preferred.

## Known failure modes

- Missing required parameter 'symbol' or 'horizon' returns a 400 error
- Unsupported asset ticker (outside BTC, ETH, SOL, BNB, XRP, DOGE, ADA, LINK) may return empty or error response
- Invalid horizon value (not one of 6h, 24h, 3d, 7d) returns an error
- Payment failure via x402 (insufficient USDC, unsupported chain) results in 402 response and no forecast
- Node's local price history may be insufficient for a reliable model on a recently added asset
- Service unavailability on Railway hosting may return 503

## 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 asset over the specified horizon (6h, 24h, 3d, or 7d), trained on locally collected price history. Also includes walk-forward backtest MAPE error for model accuracy transparency. Supported assets: BTC, ETH, SOL, BNB, XRP, DOGE, ADA, LINK.

## 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": [
      "horizon",
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Asset ticker, e.g. AAPL, TSLA, BTC, GOLD"
      },
      "horizon": {
       "type": "string",
       "description": "horizon parameter"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "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-b5b8310e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from losbeto-production-dd7c.up.railway.app](https://www.zero.xyz/host/losbeto-production-dd7c.up.railway.app/llms.txt)
