Market Data
Public

Retrieves the contract size (also known as contract multiplier) for a given instrument. The contract size is the value of one contract, expressed in the same unit as the order amount: USD for inverse (reversed) futures and perpetuals, and the base currency coin for options, spots, and linear futures and perpetuals.

This value is essential for calculating position values, margin requirements, and P&L calculations. Different instruments may have different contract sizes.

This is not the quantity increment used to validate order amounts. Use min_trade_amount from public/get_instrument / public/get_instruments. On Starbase the same increment is named qty_tick_size. contract_size and min_trade_amount are not guaranteed to match.

Looks up by instrument_name, including combo IDs and expired or archivized instruments. Unknown names fail with instrument not found. The same field is included on the public/get_instrument object.

Try in API console

get/public/get_contract_size

Request

  • Base URL
    https://test.deribit.com/api/v2
  • URL
    https://test.deribit.com/api/v2/public/get_contract_size
  • Auth
    none declared

Query parameters

instrument_namestring required

Unique instrument identifier

Example:BTC-PERPETUAL

Instrument name

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

Example response

{
  "result": {
    "contract_size": 10
  }
}

Changes

    • breaking

      the / response's property type changed from integer to number for status