GET /public/get_instruments
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/deribit/public/get_instrumentsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeInstrument metadata for a currency and kind: state, tick size, contract size, strike, expiry, settlement period and fees.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
currency | query | str | required | Currency, e.g. BTC. example: BTC |
kind | query | strfuture | option | spot | future_combo | option_combo | optional | Instrument kind (default: future). example: future |
expired | query | bool | optional | Include expired instruments when true. example: False |
Response
type: object
data key: result
pagination: none
sample: {
"jsonrpc": "str",
"result": "array[12]",
"usIn": "int",
"usOut": "int",
"usDiff": "int",
"testnet": "bool"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/deribit/public/get_instruments?currency=BTC&kind=future&expired=False"