# Crypto Price Forecast API (forecast.0000402.xyz)

> Crypto Price Forecast API (forecast.0000402.xyz) is a paid API for AI agents from forecast.0000402.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Generates probabilistic price forecasts with historical data and confidence bands for 50 supported cryptocurrencies over 24h, 7d, or 30d horizons, for $0.10 USDC per call.

## Facts

- Endpoint: POST https://forecast.0000402.xyz/predict
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-price-forecast-api-forecast-0000402-xyz-6b104659
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VQPCw6qdMBmsVcjO_dHTf

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 crypto-price-forecast-api-forecast-0000402-xyz-6b104659 -d '<json body>'
```

Example prompt: Can you get me a probabilistic price forecast for Bitcoin over the next 7 days, with the historical prices and forecast confidence bands included?

## When to prefer this

Choose this endpoint when you need a ready-made probabilistic price forecast — with confidence bands and historical context — for any of 50 major crypto assets, and want a pay-per-call model ($0.10 USDC) without API key signup. Ideal for agents automating trading research, building charting dashboards, or generating market outlooks on demand. Prefer alternatives if you need real-time tick data, order book depth, or assets outside the supported 50-symbol list.

## Known failure modes

- Unsupported asset ticker returns validation error — must use one of the 50 enumerated symbols
- Invalid horizon value (not 24h, 7d, or 30d) causes request rejection
- Payment failure (insufficient USDC balance or x402 protocol error) blocks the request
- Network latency or model unavailability may cause timeouts
- Stale or missing market data could degrade forecast quality without explicit error

## How this service works

Pay $0.10 USDC to generate a probabilistic crypto price forecast. Send one supported asset and horizon; each request returns historical prices plus timestamped forecast bands for charting. Network: Base Mainnet.

## Output

Returns historical price data for the requested asset alongside timestamped probabilistic forecast bands (upper/lower confidence intervals) for the chosen horizon (24h, 7d, or 30d), suitable for charting and quantitative analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asset": {
   "enum": [
    "BTC",
    "ETH",
    "BNB",
    "XRP",
    "SOL",
    "TRX",
    "DOGE",
    "ZEC",
    "XLM",
    "LINK",
    "ADA",
    "TON",
    "BCH",
    "LTC",
    "HBAR",
    "SUI",
    "AVAX",
    "SHIB",
    "NEAR",
    "TAO",
    "WLFI",
    "UNI",
    "ASTER",
    "WLD",
    "ONDO",
    "AAVE",
    "DOT",
    "ICP",
    "SKY",
    "MORPHO",
    "ETC",
    "DEXE",
    "PEPE",
    "QNT",
    "ATOM",
    "RENDER",
    "ALGO",
    "POL",
    "JST",
    "NEXO",
    "JUP",
    "ENA",
    "FIL",
    "PUMP",
    "NIGHT",
    "APT",
    "INJ",
    "ARB",
    "CAKE",
    "DASH"
   ],
   "type": "string",
   "description": "Crypto ticker to forecast. Must be one of the symbols returned by GET /symbols."
  },
  "horizon": {
   "enum": [
    "24h",
    "7d",
    "30d"
   ],
   "type": "string",
   "description": "Forecast window. Use 24h, 7d, or 30d."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-price-forecast-api-forecast-0000402-xyz-6b104659/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from forecast.0000402.xyz](https://www.zero.xyz/host/forecast.0000402.xyz/llms.txt)
