Live OHLC Candle Data 🆕
Get live OHLC candle data for a pair (OpenAPI does not support websocket, Plese test with websocket client)
Query parameters
api_keystringRequired
API key required for Pro/Enterprise plans (WebSocket)
Body
typestringOptional
Type of message "topic"
topicstringOptional
Topic of message "chart"
Responses
101
WebSocket connection established
application/json
Responseobject
400
Invalid request parameters
application/json
401
Unauthorized
application/json
get
GET /v1/ws/ohlc_candle HTTP/1.1
Host: api.dexcheck.ai
Content-Type: application/json
Accept: */*
Content-Length: 120
{
"type": "topic",
"topic": "chart",
"data": {
"pair": "4w2cysotX6czaUGmmWg13hDpY4QEMG2CzeKYEQyK9Ama",
"chain": "sol",
"tf": "15m"
}
}
{
"type": "message",
"topic": "chart",
"data": {
"timestamp": 1756125900,
"open": 0.2169977623837747,
"close": 0.21633460421041284,
"high": 0.21743844585861258,
"low": 0.21633460421041284,
"volume": 2390.081126154782
}
}