Skip to main content

Misc

ContractMisc

Get Market Price

URL
https://big.one/api/contract/v2/instruments/prices
HTTP Request Method

GET

Request Parameters

No parameter needed.

Request Example URL

Request Example URL

Response Example

Note:Unit of BTCUSD is USD, unit of other contracts are BTC.

{
"BTCUSD": [
{
"time": 1562223600000, // timestamp (milliseconds from 1970-1-1)
"price": 11290 // contract price (unit: USD)
},
{
"time": 1562222700000,
"price": 11290
},
{
"time": 1562221800000,
"price": 11290
}
],
...
}

Get 24H Change of Market Price

URL
https://big.one/api/contract/v2/instruments/difference
HTTP Request Method

GET

Request Parameters

No parameter needed.

Request Example URL
https://big.one/api/contract/v2/instruments/difference
Response Example
{
"BTCUSD": -0.009252547648488466,
"BTCUSDT": "No Data"
}

Get OrderBook Snapshot

URL
https://big.one/api/contract/v2/depth@{symbol}/snapshot
HTTP Request Method

GET

Request Parameters
ParametersRequiredTypeNote
symbol:white_check_mark:stringContract types, includes BTCUSD, BTCUSDT, ETHUSDT, EOSUSDT
Request Example URL
https://big.one/api/contract/v2/depth@BTCUSD/snapshot
Response Example
{
"to": 90289544,
"bestPrices": {
"ask": 11778.5,
"bid": 11776
},
"lastPrice": 11777.0,
"bids": {
"11770.5": 783,
"11776": 1943,
"6500": 300,
"11766": 5148
},
"asks": {
"11790": 28285,
"11778.5": 3333,
"12350": 1000
},
"from": 0
}

Get List of Contracts’ Detail

URL
https://big.one/api/contract/v2/instruments
HTTP Request Method

GET

Request Parameters

No parameter needed.

Request Example URL
https://big.one/api/contract/v2/instruments
Response Example
[
{
"turnover24h": 2606.3164679306547,
"openInterest": 3009639,
"volume24hInUsd": 29738395,
"fundingRate": 0,
"volume24h": 29738395,
"last24hMaxPrice": 12063,
"btcPrice": 11767.48,
"latestPrice": 11769.5,
"symbol": "BTCUSD", // contract type
"last24hPriceChange": -0.07677342823250297,
"openValue": 255.98924199050046,
"last24hMinPrice": 10950.5,
"openTime": 0,
"markPrice": 11767.48,
"indexPrice": 11767.48
},
...
]