Get Delivery Price
Get the delivery price.
Covers: USDC futures / Inverse futures / Option
info
- Option: only returns those symbols are being "DELIVERING" (UTC8~UTC12) when "symbol" is not specified;
HTTP Request
GET /v5/market/delivery-price
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
category | true | string | Product type. linear , inverse , option |
symbol | false | string | Symbol name, like BTCUSDT , uppercase only |
baseCoin | false | string | Base coin, uppercase only. Default: BTC . valid for option only |
limit | false | integer | Limit for data size per page. [1 , 200 ]. Default: 50 |
cursor | false | string | Cursor. Use the nextPageCursor token from the response to retrieve the next page of the result set |
Response Parameters
Parameter | Type | Comments |
---|---|---|
category | string | Product type |
list | array | Object |
> symbol | string | Symbol name |
> deliveryPrice | string | Delivery price |
> deliveryTime | string | Delivery timestamp (ms) |
nextPageCursor | string | Refer to the cursor request parameter |
Request Example
- HTTP
- Python
- GO
- Java
- Node.js
GET /v5/market/delivery-price?category=option&symbol=ETH-26DEC22-1400-C HTTP/1.1
Host: api-testnet.bybit.com
from pybit.unified_trading import HTTP
session = HTTP()
print(session.get_option_delivery_price(
category="option",
symbol="ETH-26DEC22-1400-C",
))
import (
"context"
"fmt"
bybit "github.com/wuhewuhe/bybit.go.api"
)
client := bybit.NewBybitHttpClient("", "", bybit.WithBaseURL(bybit.TESTNET))
params := map[string]interface{}{"category": "linear", "symbol": "ETH-26DEC22-1400-C"}
client.NewUtaBybitServiceWithParams(params).GetDeliveryPrice(context.Background())
import com.bybit.api.client.domain.CategoryType;
import com.bybit.api.client.domain.market.request.MarketDataRequest;
import com.bybit.api.client.service.BybitApiClientFactory;
var client = BybitApiClientFactory.newInstance().newAsyncMarketDataRestClient();
var deliveryPriceRequest = MarketDataRequest.builder().category(CategoryType.OPTION).baseCoin("BTC").limit(10).build();
client.getDeliveryPrice(deliveryPriceRequest, System.out::println);
const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
});
client
.getDeliveryPrice({ category: 'option', symbol: 'ETH-26DEC22-1400-C' })
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
Response Example
{
"retCode": 0,
"retMsg": "success",
"result": {
"category": "option",
"nextPageCursor": "",
"list": [
{
"symbol": "ETH-26DEC22-1400-C",
"deliveryPrice": "1220.728594450",
"deliveryTime": "1672041600000"
}
]
},
"retExtInfo": {},
"time": 1672055336993
}