Market Data

public/get_ticker

Returns the latest ticker snapshot for a single instrument named by instrument_name. The payload matches the data of a ticker_slim.{instrument}.{interval} subscription update (mark/index prices, best bid/ask, sizes, greeks, and related fields). Returns an error if no ticker is available. Public endpoint.

post/public/get_ticker

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/public/get_ticker
  • Auth: none declared

Request body

instrument_namestring required

Response

Success

Astring required

Amount of contracts / tokens available at the best ask price.

Bstring required

Amount of contracts / tokens available at the best bid price.

Istring required

Index price.

Mstring required

Mark price.

astring required

Best ask price.

bstring required

Best bid price.

fstring nullable

Current hourly funding rate (perpetuals only; null otherwise).

maxpstring required

Maximum price at which an aggressive buyer can be matched. Any portion of a market order that would execute above this price is cancelled. A limit buy order with limit price above this value is treated as post only (i.e. it is rejected if it would cross any existing resting order).

minpstring required

Minimum price at which an aggressive seller can be matched. Any portion of a market order that would execute below this price is cancelled. A limit sell order with limit price below this value is treated as post only (i.e. it is rejected if it would cross any existing resting order).

tinteger required

Snapshot creation timestamp, in milliseconds since the Unix epoch.

Changes

No recorded changes to this operation across all 1 revision of this API.