Get instruments
Get available trading instruments for Block RFQ.
Endpoint
block/rfqs/get_instruments
Parameters(params)
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | string | true | Product type. spot,linear,inverse,option |
| symbol | string | false | like BTCUSDT, uppercase only |
| currency | string | false | Base coin, uppercase only - Applies to linear,inverse,option only - option: returns BTC by default |
| status | string | false | Instrument status. - PreLaunch - Trading - Delivering - Closed |
| count | integer | false | Limit for data size per page. [1, 1000]. Default: 500 |
| continuation | string | false | Continuation token for pagination |
Request Example
{
"rid": 10001,
"method": "block/rfqs/get_instruments",
"params": {
"kind": "option",
"symbol": null,
"currency": "BTC",
"status": null,
"count": 5,
"continuation": null
}
}
Response(result)
| Name | Type | Description |
|---|---|---|
| kind | string | Product type |
| continuation | string | Continuation token for pagination |
| results | array of objects | Array of instrument objects |
| > symbol | string | The name of the Instrument per the underlying exchange's naming conventions |
| > contractType | string | Contract type. - InversePerpetual - LinearPerpetual - LinearFutures USDT/USDC Futures - InverseFutures |
| > optionKind | string | The kind of Option. null if instrument is not an Option. Valid values include call, put, null |
| > status | string | Instrument status. - PreLaunch - Trading - Delivering - Closed |
| > baseCurrency | string | The currency the Instrument is exposed to. Valid values include BTC, ETH |
| > quoteCurrency | string | Quote coin |
| > expiration | long | Instrument expiration timestamp in unix milliseconds since the epoch. null if Instrument does not have an expiration |
Response Example
{
"rid": 10001,
"result": {
"kind": "option",
"continuation": "0%2C5",
"results": [
{
"symbol": "BTC-26JUN26-280000-P-USDT",
"optionKind": "Put",
"status": "Trading",
"baseCurrency": "BTC",
"quoteCurrency": "USDT",
"expiration": 1782460800000
},
{
"symbol": "BTC-26JUN26-280000-C-USDT",
"optionKind": "Call",
"status": "Trading",
"baseCurrency": "BTC",
"quoteCurrency": "USDT",
"expiration": 1782460800000
},
{
"symbol": "BTC-26JUN26-260000-P-USDT",
"optionKind": "Put",
"status": "Trading",
"baseCurrency": "BTC",
"quoteCurrency": "USDT",
"expiration": 1782460800000
},
{
"symbol": "BTC-26JUN26-260000-C-USDT",
"optionKind": "Call",
"status": "Trading",
"baseCurrency": "BTC",
"quoteCurrency": "USDT",
"expiration": 1782460800000
},
{
"symbol": "BTC-26JUN26-240000-P-USDT",
"optionKind": "Put",
"status": "Trading",
"baseCurrency": "BTC",
"quoteCurrency": "USDT",
"expiration": 1782460800000
}
]
}
}