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.
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/public/get_contract_size
- Authnone declared
Query parameters
Unique instrument identifier
Instrument name
Response
Success response
Example response
{
"result": {
"contract_size": 10
}
}Changes
- breaking
the
/response's property type changed fromintegertonumberfor status
- breaking