Indicators API
Live indicator stream
Subscribe to an indicator over WebSocket: the resolved subscription, a snapshot of the latest bars, then an update on every change of the forming bar and every new bar.
WSS
/
api
/
v1
/
indicators
/
{uid}
/
stream
Messages
{
"type": "info",
"meta": {
"uid": "sma",
"slug": "simple_moving_average",
"version": 9,
"exchange": "CXBNCE",
"symbol": "BTC/USDT",
"timeframe": "5m",
"params": {
"length": 9,
"src": "close",
"offset": 0
},
"outputs": [
"line_0"
]
}
}{
"type": "snapshot",
"seq": 1,
"bars": [
{
"timestamp": "2026-10-06T10:00:00Z",
"closed": false,
"values": {
"line_0": 123470.12
}
}
]
}{
"type": "update",
"seq": 2,
"bar": {
"timestamp": "2026-10-06T10:00:00Z",
"closed": false,
"values": {
"line_0": 123471.03
}
}
}{
"type": "error",
"meta": {
"uid": "sma",
"slug": "simple_moving_average",
"version": 9,
"exchange": "CXBNCE",
"symbol": "BTC/USDT",
"timeframe": "5m",
"params": {
"length": 9
},
"outputs": [
"line_0"
]
},
"error": {
"code": "rate_limited",
"message": "quota exceeded"
}
}uid
type:string
required
Indicator uid or built-in slug.
x-api-key
type:httpApiKey
method
type:string
GET
query
type:object
Resolved subscription
type:object
Latest bars
type:object
Bar update
type:object
Terminal error
type:object
Was this page helpful?
⌘I
Messages
{
"type": "info",
"meta": {
"uid": "sma",
"slug": "simple_moving_average",
"version": 9,
"exchange": "CXBNCE",
"symbol": "BTC/USDT",
"timeframe": "5m",
"params": {
"length": 9,
"src": "close",
"offset": 0
},
"outputs": [
"line_0"
]
}
}{
"type": "snapshot",
"seq": 1,
"bars": [
{
"timestamp": "2026-10-06T10:00:00Z",
"closed": false,
"values": {
"line_0": 123470.12
}
}
]
}{
"type": "update",
"seq": 2,
"bar": {
"timestamp": "2026-10-06T10:00:00Z",
"closed": false,
"values": {
"line_0": 123471.03
}
}
}{
"type": "error",
"meta": {
"uid": "sma",
"slug": "simple_moving_average",
"version": 9,
"exchange": "CXBNCE",
"symbol": "BTC/USDT",
"timeframe": "5m",
"params": {
"length": 9
},
"outputs": [
"line_0"
]
},
"error": {
"code": "rate_limited",
"message": "quota exceeded"
}
}