Skip to content

Query Futures Trading Pair Information

Endpoint: /v1/futures/info

Request Parameters

None

Method

GET

Example

Bash
curl -X GET "https://oapi.websea.com/v1/futures/info?symbol=BTC-USDT"

Query Parameters

Parameter Required Type Example Description
symbol No String BTC-USDT Trading pair

Response Parameters

Parameter Required Type Example Description
errno Yes int 0 Status code
errmsg Yes String success Status message
result Yes list See example Result list

result Fields Description

Field Required Type Example Description
symbol Yes String BTC-USDT Trading pair name
contract_type Yes String future Contract type. future indicates a perpetual contract
contract_price Yes String 1 Contract face value, i.e., how much of the underlying asset one contract represents
contract_price_currency Yes String USDT Quote currency

Response Example

JSON
{
  "errno": 0,
  "errmsg": "success",
  "result": [
    {
      "symbol": "EOS-USDT",
      "contract_type": "future",
      "contract_price": "0.01",
      "contract_price_currency": "USDT"
    },
    {
      "symbol": "BTC-USDT",
      "contract_type": "future",
      "contract_price": "0.001",
      "contract_price_currency": "USDT"
    }
  ]
}