Mark Prices
Retrieves mark prices of futures instruments within the specified date range. Mark prices are those recorded at futures position settlement, one record per instrument and settlement time.
An instrument code is the id property from the Instruments endpoint.
from/to accept epoch (s, ms, µs or ns) or an ISO 8601 UTC timestamp ending in Z (or YYYY-MM-DD). from must be on or after 2024-01-01, not in the future, and strictly before to; to is exclusive. If neither is given, the window is the last 7 days (starting at 00:00 UTC). If only from is given, to is from + 7 days (capped at now); if only to is given, from is 7 days earlier (at 00:00 UTC).
cursor is an opaque string. Pass the value from the previous response unchanged; it is null on the last page.
Unknown query parameters are rejected with 400 UNEXPECTED_PARAMETERS.
instrument_code?stringFutures instrument code (e.g. BTC_USD_P), or a comma-separated list of codes. If not provided, returns records for all futures instruments.
order?stringSort order by timestamp. Case-insensitive.
"DESC""ASC""DESC"from?stringStart of the time range (inclusive). Epoch (s, ms, µs or ns), ISO 8601 UTC timestamp ending in Z, or YYYY-MM-DD.
to?stringEnd of the time range (exclusive). Same formats as from. The range may span at most 366 days.
cursor?stringOpaque pagination cursor from the previous response's cursor field.
limit?integerMaximum number of records to return per page.
1 <= value <= 1000100OK
application/json- response
mark_prices*array<>from*stringEffective start of the queried range (ISO 8601, nanosecond precision).
date-timeto*stringEffective end of the queried range (ISO 8601, nanosecond precision).
date-timecursor*|Opaque cursor for the next page; null on the last page.
curl -X GET 'https://api.onetrading.com/fast/v1/mark-prices?instrument_code=BTC_USD_P&order=DESC&from=2026-09-01T00%3A00%3A00Z&to=2026-09-08T00%3A00%3A00Z&limit=2'{ "mark_prices": [ { "instrument_code": "BTC_USD_P", "timestamp": "2026-09-28T08:00:00.000000000Z", "mark_price": "109420.1" }, { "instrument_code": "ETH_USD_P", "timestamp": "2026-09-28T08:00:00.000000000Z", "mark_price": "4012.9" } ], "from": "2026-09-21T00:00:00.000000000Z", "to": "2026-09-28T10:01:30.123456789Z", "cursor": "eyJlcG9jaCI6IjE3NTkwNDY0MDAwMDAwMDAwMDEifQ=="}