Every symbol, every timeframe, every candle — the central scenario, the 80% range of closes, the model's reach odds and honest direction labels — served as clean JSON from the same forecast the website shows, refreshed every 15 minutes. Plug PRISM into your terminal, your strategy, your product.
GET /v1/forecast?symbol=XAUUSD&timeframe=H1
{
"symbol": "XAUUSD",
"timeframe": "H1",
"anchor_utc": "2026-10-13T20:00:00Z",
"horizon_hours": 48,
"model": "PRISM-2: PRISM's candle network blended with a statistical range model",
"candles": [
{ "t": "2026-10-12T20:00:00Z", "kind": "future",
"o": 4169.185, "h": 4171.383, "l": 4167.428, "c": 4169.267, // expected (median) candle
"dir_prob": 0.508, "sigma": 6.764,
"scenario": { "open": 4169.185, "high": 4172.403, // the central scenario candle
"low": 4164.095, "close": 4167.607 },
"close_lo80": 4162.016, "close_hi80": 4176.967 }, // 80% range of the simulated closes
"… 47 more candles …"
],
"summary": { "bias_pct": -0.02, "p_up_end": 0.492, "confidence_sigma": 33.593 },
"model_info": { // which model drew THIS forecast
"sampler": "prism2", // prism2 = PRISM-2 (live since 13 Oct 2026), reference = the statistical range model
"track_version": "adapter143+prism2", "label": "PRISM-2",
"name": "PRISM-2: PRISM's candle network blended with a statistical range model",
"validated": true,
"validation": "Validated out of sample Oct 2025–Sep 2026 against the statistical reference.",
"probabilities_calibrated": false,
"interval80_validation": { "validated": true, "period": "Oct 2025–Sep 2026",
"text": "Validated out of sample Oct 2025–Sep 2026 against the statistical reference." } },
"direction": {
"end": { "label": "no_clear_edge", "p_up": 0.492, "noise_band": 0.06, "text": "no clear edge · 49% up" },
"first": { "label": "no_clear_edge", "p_up": 0.508, "noise_band": 0.06, "text": "no clear edge · 51% up" } },
"end_change": { "pct": -0.024, "label": "flat", "text": "≈ flat −0.02%" },
"interval80": [4104.891, 4226.643],
"reach": { "pct": 0.01, "level_up": 4210.877, "level_down": 4127.493,
"p24_up": 0.228, "p24_down": 0.271, "p48_up": 0.366, "p48_down": 0.425 },
"price_decimals": 3,
"display": { "reach": { "pct": "1", "up": { "level": "4,210.877", "p48": "37%", "p24": "23%" }, … },
"interval80": "4,104.891 – 4,226.643" },
"scenario_rule": "central: endpoint nearest the median close among typical-volatility paths"
}
GET /v1/briefing?symbol=XAUUSD
{
"symbol": "XAUUSD",
"written_at": "2026-09-20T04:00:00Z",
"stance": "neutral", "confidence": 45, "risk": "medium",
"headline": "Fed hawkishness lifts dollar; gold forecast flat despite rate risk",
"summary": "Warsh's accommodation language pushed the 2-year yield and the
dollar higher, typically headwinds for gold. Yet the model
predicts almost no movement over the next 24 hours…",
"risk_note": "If real yields spike further, gold could break below 4513.",
"levels": [
{ "side": "support", "kind": "caution", "level": 4513.13, "from": 4508.74, "to": 4517.52,
"label": "Support 4513.13",
"why": "A break below this level would invalidate the flat view." },
{ "side": "resistance", "kind": "opportunity", "level": 4573.52, "from": 4569.13, "to": 4577.91,
"label": "Resistance 4573.52", "why": "…" }
],
"key_levels": { // every real H1 swing level the briefing could pick from
"atr": 17.57,
"support": [ { "price": 4513.13, "touches": 4, "hours_ago": 21 }, … ],
"resistance": [ { "price": 4573.52, "touches": 5, "hours_ago": 5 }, … ]
},
"live_alert": { "kind": "caution", "from": 4508.74, "to": 4517.52,
"price_when_reached": 4512.20, "since": "2026-09-20T06:12:00Z" },
"drivers": [ { "title": "2-year yield and dollar spike", "impact": "bearish" } ],
"sources": [ "ActionForex", "Federal Reserve — Press releases" ],
"forecast": { "anchor": 4544.06, "predicted_low": 4513.13, "predicted_high": 4573.52 },
"off": false, "generated_at": "2026-10-12T21:10:48Z",
"forecast_issue": "2026-10-12T20:00:00Z", "forecast_is_current": true,
"model_info": { "sampler": "prism2", "name": "PRISM-2: PRISM's candle network blended with a statistical range model", … },
"edge_tag": { "agreement": "no directional edge", "no_edge": true, "text": "model: no directional edge" },
"features": { "events": true, "theme": true, "changes": true, "touch": true, "weekly": false, … },
"scheduled_events": { "events": [ { "t": 1791854448, "cur": "USD", "title": "CPI m/m", "impact": "High" } ],
"sentence": "The forecast range assumes a normal hour for Tue 13 Oct 12:30 UTC (USD CPI m/m); …" },
"what_changed": { "since_utc": "20:10 UTC", "items": [ "risk raised medium -> high" ], "prev_note": "…" },
"reach": { "pct": 0.01, "level_up": 4210.877, "p48_up": 0.366, … }, // levels[] also carry "touch": {"24h", "48h"}
"market_theme": { "headline": "Dollar steady before CPI", "usd_view": "…", "risk_mood": "cautious", … },
"price_decimals": 3
}
Want working code instead of docs? 🐍 Download the Python example → — one function, full forecast, CSV export.
model_infoEvery answer
names the model behind the forecast you received — today PRISM-2, PRISM's candle network blended with a
statistical range model. Check model_info.sampler (prism2 today) before comparing numbers
across days; validated and validation say whether that model is validated out of sample
(PRISM-2: Oct 2025–Sep 2026, against the statistical reference).
direction, end_changeWith 256
simulated paths, a share within ±6% of 50% (noise_band 0.06) is statistical noise: direction.end
and direction.first then say no_clear_edge instead of up or down. end_change.label is
flat when the expected move is smaller than a tenth of the 80% half-width at the end (the website's “≈ flat”).
The numbers stay; the labels say when they mean nothing. PRISM-2 is built without a directional lean: direction
stays near 50/50 by design.
Each candle keeps the expected
(median) o h l c and adds scenario — the candle of the most representative simulated path
(scenario_rule says how it was picked) — and close_lo80 / close_hi80, the 80% range of
the simulated closes: the shaded cone on the website and in MT5.
reachOne typical 48-hour move up and down
and the model's chance that price touches it within 24 h / 48 h (null when the forecast has no touch data).
display carries the website's strings, with the instrument's decimals (price_decimals); the JSON
numbers themselves are unrounded.
/v1/briefing
returns the card the forecast page shows. Assistant switched off → 503 {"off": true, "reason": "assistant_off"} (same status as before);
a plan without the AI → 403; a forecast newer than the card (for example right after a model switch) →
503 {"pending": true} until the next cycle. Each feature switch adds or removes its own key:
scheduled_events, what_changed, disagree, track_public, reach
with levels[].touch, market_theme, weekly; levels is empty while the zones
are hidden; edge_tag reads “model: no directional edge” when no horizon has one.
Field names stay put —
model is the one-line model description, model_info the structured block — and errors keep
their codes and messages.
Metals, FX majors and crosses, US indices, Nasdaq 100, WTI and Bitcoin — plus 20 newer markets (US stocks, European and Asian indices, Brent, Copper, Platinum and more crypto) on the plans that open all 17 — one authentication, the whole board.
192 × M15 · 48 × H1 · 12 × H4 · 2 × D1 per symbol — all exactly consistent, all in one payload if you want it.
Every candle carries the share of simulated paths ending up, ±σ, the 80% range of closes and the central-scenario candle — with labels that say when a reading is noise.
A new forecast is issued every 15 minutes, a
few minutes after the full hour; anchor_utc and model_info tell you which one you have.
REST endpoints with clean JSON, or flat CSV exports for research pipelines and spreadsheets.
Per-key rate limits and usage reporting. Sandbox keys for evaluation.
/v1/briefing
returns the same read the live page shows — stance, confidence, risk, the support/resistance zones it chose
(side says which; kind is opportunity where forecast and news agree, caution where the view is most likely wrong),
every real swing level it could choose from in key_levels, plus live_alert when price is inside a zone right now. Structured fields, not prose.
Tell us about your use-case — trading desk, platform integration, research. We'll reach out with documentation, sandbox credentials and pricing.
Install the PRISM app on your phone — full-screen live charts, your own icon, and live alerts from the AI assistant as phone notifications. Free, no store account needed.