Skip to Content
Public

Market Ticker For Instrument

GET
/v1/market-ticker/{instrument_code}

Get market statistics on a single market. Only markets in state ACTIVE, POST_ONLY or SUSPENDED are available; the statistics are calculated as for the all-markets ticker. Ticker data is cached and may be up to a minute old.

Path Parameters

instrument_code*string

The market to get the market ticker data for, e.g. BTC_USDC.

Response Body

OK

application/json
  1. response
base_volume*string

Traded volume in the base asset over the last 24 hours.

high*string

Highest trade price over the last 24 hours.

highest_bid*string

Best bid price. 0 when unavailable.

instrument_code*string

The instrument code.

last_price*string

Price of the most recent trade. 0 if there have been no trades in the last 24 hours.

low*string

Lowest trade price over the last 24 hours.

lowest_ask*string

Best ask price. 0 when unavailable.

price_change_percentage*string

Percentage change between the first trade in the 24-hour window and the last price.

price_change*string

Absolute change between the first trade in the 24-hour window and the last price.

quote_volume*string

Traded volume in the quote asset over the last 24 hours.

sequence*integer

Nanosecond timestamp of the order-book snapshot used for highest_bid/lowest_ask; 0 when no snapshot is available. It is set whether or not the market has traded in the last 24 hours. The value exceeds 2^53 and the server reads it as an IEEE-754 double, so it reaches you already rounded (the last few digits are not exact). Use it for ordering, not as an exact timestamp.

state*string

Market state. Only ACTIVE, POST_ONLY and SUSPENDED markets appear in the ticker.

Value in"ACTIVE""POST_ONLY""SUSPENDED"
type*string

Market type.

Value in"SPOT""PERP""EQUITY_FUTURE""EQUITY_INDEX_FUTURE""DATED_FUTURE"
global_volume*string

Global 24-hour trading volume of the base asset across all venues (from CoinGecko). 0 when unavailable.

open_interest?string

Futures only. Open interest in the base asset.

open_interest_usd?|

Futures only. Open interest converted to USD, or null when no USD price is available for the base asset.

mark_price?|

Futures only. Current mark price; null when unavailable.

funding_rate?|

Futures only. Current funding rate; null when unavailable.

next_funding_payment?|

Futures only. Time of the next funding payment; null when unknown.

Formatdate-time
Example Request
curl -X GET 'https://api.onetrading.com/fast/v1/market-ticker/BTC_EUR'
Example Response
{  "base_volume": "0.90000",  "high": "100000.00",  "highest_bid": "99950.00",  "instrument_code": "BTC_USDC",  "last_price": "100000.00",  "low": "99000.00",  "lowest_ask": "100050.00",  "price_change_percentage": "1.01",  "price_change": "1000.00",  "quote_volume": "89550.00",  "sequence": 1731326923439826000,  "state": "ACTIVE",  "type": "SPOT",  "global_volume": "41234567890.12"}