If you need a price forecast inside an app, a bot or a spreadsheet, https://forecast.veriql.app/v1/latest/BTC answers with plain JSON. It needs no key and no sign-up, and CORS is open. It tells you where Bitcoin is likely to be when the current 8-hour and 24-hour windows end, as an 80% and a 90% range. It also gives the chance that the price touches a level such as +2% or -3% before the window closes. Ether, XRP, Solana, NEAR, gold, silver and the gold/silver ratio work the same way.

We built this API (Veriql Forecast), so read this as a tutorial from the people who run it. It shows ranges and odds, never buy or sell calls. Forecast, not financial advice.

One request

curl https://forecast.veriql.app/v1/latest/BTC 

Here is part of the answer for the 24-hour window that opened at 00:00 UTC on 27 Nov 2026. The numbers are rounded, and live values differ:

{ "asset": "BTC", "horizons": { "24h": { "start_price": 60492.37, "range90": { "low": 57350.88, "high": 64020.33, "low_pct": -5.19, "high_pct": 5.83 }, "range80": { "low": 58167.38, "high": 62828.31, "low_pct": -3.84, "high_pct": 3.86 }, "ends_at": 1795824000, "status": "live" } }, "credits": ["Price data: Bitstamp"], "disclaimer": "Forecast, not financial advice." } 

How to read it:

  • range90: the price should end the window inside this range about 9 times in 10. range80 is the narrower range for 8 times in 10.
  • ends_at: when the window closes, in unix seconds (UTC). Every time in the API uses unix seconds.
  • status: live means a forecast is open. You may also see warming_up for a market that is still collecting data, or market_closed for gold and silver outside trading hours. In that case closed_until says when trading opens again.

Touch odds: "will it get there before the window ends?"

Each horizon also has a touch list. This is from the 8-hour BTC window that opened at 16:00 UTC on 27 Nov:

{ "level": 0.02, "side": "up", "chance_text": "30%", "beyond_end_text": "15%" } 

Here chance is the probability that the price trades at least 2% above the start before the window ends. beyond_end is the probability that it is still beyond that level when the window ends. The two answer different questions: a price can touch +2% and fall back. A stop-loss or a take-profit order cares about the touch. A bet on where the price closes cares about the end.

All assets in Python

import requests data = requests.get("https://forecast.veriql.app/v1/latest", timeout=10).json() for code, asset in data["assets"].items(): h = asset["horizons"].get("24h") or {} if h.get("status") != "live": print(f"{code}: {h.get('status')}") continue r = h["range90"] print(f"{code}: 24h 90% range {r['low']:,.2f} to {r['high']:,.2f}") print(data["disclaimer"]) 

The asset codes are BTC, ETH, XRP, SOL, NEAR, XAU (gold), XAG (silver) and XAUXAG (gold/silver ratio).

In the browser

CORS answers Access-Control-Allow-Origin: *, so a static page can call the API directly:

const res = await fetch("https://forecast.veriql.app/v1/latest/ETH"); const { horizons, credits, disclaimer } = await res.json(); const r = horizons["8h"].range90; console.log(`ETH 8h: ${r.low.toFixed(0)}–${r.high.toFixed(0)} (90%)`, credits.join(", "), disclaimer); 

If you'd rather not write code, the widget kit puts the same forecast on a page with one script and one tag. The embed page builds the tag for you: https://forecast.veriql.app/embed

Hour by hour

/v1/hourly/BTC returns 24 ranges for the day's forecast, one for each hour, so you can draw a widening cone instead of a single bar.

How the record is kept

  • Each forecast is published before its window opens and scored in public after the window closes. Misses are included.
  • /v1/scorecard shows how often the ranges held, per asset and window, over the last 365 days. /v1/record is the short version.
  • /v1/seals publishes a daily hash of the record, so a past forecast can't be edited quietly afterwards.

The live record started on 25 Nov 2026, so only a few windows have been scored so far. Check /v1/scorecard for the current numbers rather than taking our word for it.

Fair use

  • Respect the Cache-Control header. Forecasts can be cached for 300 seconds.
  • Call /v1/now at most once a minute.
  • Show the credits from the credits field next to the forecast ("Price data: Bitstamp", plus "Metal prices: gold-api.com" for gold and silver), together with "Forecast, not financial advice."

For AI agents

Agents that pay per call can get the same forecast over x402 at https://veriql.app/api/v1/forecast and https://veriql.app/api/v1/forecast-odds. Each call costs $0.01 in USDC on Base, Polygon, Arbitrum, Avalanche or Solana, and no account is needed. An unpaid request returns HTTP 402 with the payment details.

Links

Disclosure: the Veriql team runs this API. This post was drafted by an AI agent working for the Veriql team, and every example was run against the live API before publishing. Forecast, not financial advice.