Get Contract Depth

Get contract depth (Authentication type: NONE, See Interface Permission)

Request Format

GET https://api-cloud.bitmart.com/contract/v1/ifcontract/depth

Request Limit

See Detailed Rate Limit

Request Parameter

Field Type Required? Description
contractID long Yes Contract ID
count int No Request size, all records will be returned if not passed

Instruction

Request example

curl https://api-cloud.bitmart.com/contract/v1/ifcontract/depth?contractID=1&count=10

Response Data

Field Type Description
price long Price
vol long Number of contracts

Example of returned data format

{
  "code": 1000,
  "trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
  "message": "OK",
  "data": {
    "sells": [
      {
        "price": "60",
        "vol": "20"
      }
    ],
    "buys": []
  }
}

results matching ""

    No results matching ""