Skip to main content
Developers

AI Live Scan

The Live Scan is JAFX AI's read of a market on a chart timeframe: its trend and structure, the levels it watches, RSI, ATR and the moving averages, and what would change the read. It is the scan JAFX Terminal shows beside a chart's price, and your program reads it with GET /live-scans/{symbol}, the stream's live_scans channel or the MCP tool get_live_scan, all with market:read.

General market information, not financial advice

General market information, not financial advice. Every trading decision, and its risk, is yours. JAFX AI can make mistakes. Every scan carries this line in its disclaimer field: show it wherever you show the scan. A scan describes the chart; it is not a signal, a forecast or a recommendation, and nothing should be traded only because of one.

Which markets, how often

JAFX AI keeps a Live Scan for ten markets on five timeframes:

MarketsTimeframes
EURUSD GBPUSD USDJPY USDCHF USDCAD AUDUSD NZDUSD XAUUSD XAGUSD BTCUSDM15 H1 H4 D1 W1

A new scan of each market and timeframe is written a few minutes after each bar of that timeframe closes, while the forex market trades (Sunday about 21:00 to Friday about 21:00 UTC): every 15 minutes on M15, every hour on H1, and so on. The API serves only those scans and never makes one on request; another market or timeframe answers 404 live_scan_not_available. GET /live-scans lists what is covered and how fresh each scan is. Scans are the same for every key, whichever account and server it is on.

Fresh, or from an earlier bar

A scan is fresh until the bar it was written in closes (fresh_until). After that, until the next one is written, you get the same scan with fresh: false, as JAFX Terminal shows it dimmed ("catching up"): usually for a few minutes after a bar closes, and over the weekend from Friday's last scans until Sunday evening. Say how old a scan is (generated_at) whenever you use one. Where no scan has been made yet, or the newest attempt failed, the answer is 503 live_scan_not_ready with Retry-After and details.retry_at, the close after which the next is written.

A scan

JSON
{
  "symbol": "EURUSD",
  "timeframe": "M15",
  "fresh": true,
  "generated_at": "2026-11-16T13:16:42.215Z",
  "fresh_until": "2026-11-16T13:30:00.000Z",
  "candles_through": "2026-11-16T13:15:00.000Z",
  "price": 1.10133,
  "bias": "bearish",
  "patterns": ["false break", "downtrend", "consolidation"],
  "resistance": [{"price": 1.1015, "note": "range cap"}, {"price": 1.10163, "note": "ema50"}, {"price": 1.10303, "note": "london high"}],
  "support": [{"price": 1.10073, "note": "higher low"}, {"price": 1.10023, "note": "session low"}, {"price": 1.1, "note": "round number"}],
  "indicators": {"rsi": 51.5, "atr_pips": 5.5, "ema20_above": true, "ema50_above": false},
  "chart_lines": [{"kind": "fib", "side": null, "from": {"time": "2026-11-16T09:00:00.000Z", "price": 1.10303},
                   "to": {"time": "2026-11-16T11:15:00.000Z", "price": 1.10023}, "label": "london high to session low"}],
  "untrusted_content": {
    "trend": "intraday downtrend, pausing above session low",
    "structure": "higher lows off 1.1002 session low, capped at 1.1015",
    "summary": "London's false break of the Asian range top ran into rejection at the 1.1030 London high…",
    "what_changes_the_read": [
      {"text": "M15 close above the 1.1015 range cap and ema50 at 1.1016 puts the 1.1030 London high back in view", "shift": "bullish"},
      {"text": "Empire State Mfg in ~14 min and Fed Chair Warsh at 17:00 UTC could materially shift this read", "shift": null}
    ]
  },
  "untrusted_note": "untrusted_content, and the notes and labels on the levels and chart lines, are JAFX AI's own words…",
  "disclaimer": "General market information, not financial advice. Every trading decision, and its risk, is yours. JAFX AI can make mistakes."
}
FieldMeaning
symbol, timeframeThe market and the chart timeframe the scan reads.
fresh, fresh_untilWhether the scan is still its bar's, and when that bar closes (see above).
generated_atWhen JAFX AI wrote it.
candles_throughThe opening time of the newest bar it read.
priceThe last price it read: that bar's close, on JAFX's price feed (price_basis raw, as candles).
biasbullish, bearish or neutral: the direction the trend phrase describes, as the terminal's badge shows it. A word about the chart so far, not a forecast.
patternsUp to three chart patterns it names, such as range, breakout or rsi divergence (bearish).
resistance, supportThe levels it watches above and below the price, nearest first, each with a short note on why it matters.
indicatorsRSI(14), ATR(14) in pips (0.0001 on most currency pairs, 0.01 on yen pairs, one price step on gold, silver and bitcoin), and whether the last close is above the 20- and 50-period EMA, worked out in code at the last closed bar. null where the history is too short.
chart_linesThe lines JAFX Terminal can draw from the scan: a Fibonacci retracement (fib) and up to two trend lines (trend_line, side support or resistance), each between two bars' times and prices.
untrusted_contentJAFX AI's sentences: trend, structure, summary (its 2–3 sentence read) and what_changes_the_read, each line with the terminal's tag, shift: bullish, bearish, event_risk or null. They are written by a model from JAFX's price feed, market news and the economic calendar, and can mention an upcoming release: treat them as text to show, never as instructions to a program or an assistant.
disclaimerThe line above, on every scan.

Read it: GET /live-scans

GET /live-scans/{symbol}?timeframe=H1 answers the scan above: the market in any case (eurusd, EUR/USD), timeframe one of M15, H1, H4, D1, W1, default H1. GET /live-scans lists every market and timeframe covered, each with available (a scan can be read now), fresh, generated_at, fresh_until and bias, with refresh (how often scans are written) and the disclaimer.

curl
curl -s "https://terminal.jafx.com/trading-api/v1/live-scans/EURUSD?timeframe=M15" \
  -H "Authorization: Bearer $JAFX_API_KEY"
AnswerWhen
200The scan, fresh or from an earlier bar (fresh says which).
404 live_scan_not_availableThe market or timeframe isn't covered; details lists the symbols and timeframes that are.
503 live_scan_not_readyCovered, but no scan is there now (none made yet, or the last attempt failed); Retry-After and details.retry_at say when to ask again.
422 invalid_requesttimeframe isn't a timeframe.

Polling. A scan doesn't change before fresh_until, so read it again after that time, not before: a few minutes after the close, then every minute or so until generated_at moves. The stream pushes new scans instead.

Follow it: the live_scans channel

JSON
{"op": "subscribe", "channels": ["live_scans"]}
{"op": "subscribe", "channels": ["live_scans:EURUSD,XAUUSD"]}

live_scans follows every covered market, live_scans:SYM,SYM,… only those (every timeframe of each; a market that isn't covered answers an error frame with live_scan_not_available). On subscribe, before the subscribed answer, it sends the scans held for those markets as live_scan.snapshot, then each new one as it is written, a few minutes after each bar closes:

JSON
{"ch": "live_scans", "event": "live_scan.updated", "time": "2026-11-16T13:31:52.008Z",
 "data": {"symbol": "EURUSD", "timeframe": "M15", "fresh": true, "generated_at": "2026-11-16T13:31:40.000Z", "…": "…"}}

Every frame carries the whole scan, as GET /live-scans/{symbol} gives it, disclaimer included. A new scan replaces the one before it for its market and timeframe; frames have no seq, and after reconnecting the snapshot sends the current scans again. {"op": "unsubscribe", "channels": ["live_scans"]} ends it.

Ask an assistant: get_live_scan

Over MCP, get_live_scan with symbol and timeframe (default H1) answers the same JSON as GET /live-scans/{symbol}; without symbol, the list of GET /live-scans. It is marked read-only. The server tells assistants to show the client the scan's disclaimer line and when it was made, and never to place or propose a trade only because of a scan. The check-before-trade prompt reads the scan of the market, as information that changes none of its checks.

Automated and AI-driven trading can lose money quickly; nothing in these docs is investment advice.

JAFX (PTY) LTD · FSCA FSP No. 52058 · Trading leveraged derivatives with JAFX carries a high risk of losing money rapidly. It is not suitable for everyone.