Skip to main content
POST
AI chart analysis: deterministic pattern geometry + LLM narrative

Path Parameters

symbol
string
required

Body

application/json

Analyze the candles currently rendered on the client's chart.

interval
enum<string>
required

Candle interval of the supplied bars

Available options:
1m,
2m,
5m,
15m,
30m,
1h,
1d
period
enum<string>
required

Chart period of the supplied bars

Available options:
1d,
5d,
1m,
3m,
6m,
1y,
5y
candles
CandleIn · object[]
required

OHLCV bars in chart order (oldest first), warmup excluded

Required array length: 20 - 1500 elements

Response

Successful Response

Deterministic geometry + LLM narrative. Levels never come from the LLM.

symbol
string
required
interval
enum<string>
required
Available options:
1m,
2m,
5m,
15m,
30m,
1h,
1d
period
enum<string>
required
Available options:
1d,
5d,
1m,
3m,
6m,
1y,
5y
pattern
string | null

Detected pattern label

bias
enum<string> | null
Available options:
bullish,
bearish,
neutral
note
string | null

LLM narrative (None if unavailable)

resistance
number | null

Resistance trendline at last bar

support
number | null

Support trendline at last bar

target
number | null

Breakout target (res + 0.32*range)

invalidation
number | null

Invalidation (sup - 0.12*range)

trendlines
TrendlinesOut · object | null
provider
string | null
model
string | null
cached
boolean
default:false
error
string | null