Market Data
Public market data endpoints expose the historical price data without authentication.
The base URL for the Market Data service is: https://market-data-api.evedex.com/
Historical Price Data
The exchange provides a public REST endpoint for historical market data per instrument. This data is typically used for:
Building candlestick charts
Backtesting and research
Generating custom indicators and analytics
Historical data is read-only and does not require authorization.
Endpoint
Method:
GET /api/history/{instrument}/listSwagger:
GET /api/history/{instrument}/list
Path Parameters
instrument— instrument name, e.g.BTCUSD.You may find available instruments using the Exchange /api/market/instrument request.
after— lower bound of the requested interval (inclusive), in ISO 8601 format.before— upper bound of the requested interval (inclusive), in ISO 8601 format.group— candlestick timeframe. Supported values:"1s"
"1m"
"3m"
"5m"
"15m"
"30m"
"1h"
"4h"
"6h"
"12h"
"1d"
"1w"
"1mo"
Response
The response of the method is in the standard Candle format:
Timestamp (in milliseconds)
Open price
Close price
Max Price
Min Price
VolumeUsd (notional volume in USD)
Volume (instrument base asset)
type Candle = [
number, // timestamp (ms)
number, // open
number, // close
number, // high
number, // low
number // volumeUsd
number, // volume
];
type HistoryResponse = Candle[];
Sample response:
[
[
1763164800000,
3110.975,
3139.125,
3149.175,
3109.1,
153899.39618428
49.14,
],
[
1763168400000,
3139.125,
3172.545,
3177.715,
3122.27,
258460.29556746
82,
]
]Rate limit
The endpoint returns up to 100 000 candlesticks in a single response.
WebSocket Market Data (Last Candlestick)
For low-latency updates of the currently forming candlestick, EVEDEX provides a WebSocket feed. You can subscribe to the following channel to receive real-time updates for the last candle per instrument and timeframe:
market-data:last-candlestick-{instrument}-{timeframe}Where:
instrument — the same instrument identifier as used in the REST API (e.g. BTCUSD).
timeframe — one of the supported group values (e.g. 1m, 1h, 1d, etc.).
The payload format is identical to the REST candle representation:
[1763494975613, 93545.491, 93436.58650459, 93545.491, 93325.95, 2242.47807611016, 0.024]
Last updated