Skip to content

Order Book

Order Book

Http Request

GET
/api/usdt/instruments/depth

Request Frequency Restriction:

  • 10times / 1second

Request Parameters

Name Type Mandatory Description
instrument_id string YES Contract abbreviation, such as BTC, ETH, BCH, BSV, etc.
size string NO Depth gear, the values are 5, 10, 50, 100. Default value 10

Response fields description

Name Type Description
asks array Seller depth, [price, quantity, the depth consists of several orders]
bids array Buyer depth, [price, quantity, the depth consists of several orders]
contract_code string Contract abbreviation
timestamp string utc timestamp

Response

{
    "code": 200,
    "message": null,
    "data": {
        "contract_code": "BTC-SWAP",
        "asks": [
            [
                "27902.5",
                "30965",
                "1"
            ],
            [
                "27902.6",
                "3768",
                "1"
            ],
            [
                "27902.7",
                "7274",
                "1"
            ],
            [
                "27902.8",
                "3785",
                "1"
            ],
            [
                "27902.9",
                "3778",
                "1"
            ]
        ],
        "bids": [
            [
                "27902.2",
                "30809",
                "2"
            ],
            [
                "27902.1",
                "7122",
                "1"
            ],
            [
                "27902.0",
                "6622",
                "1"
            ],
            [
                "27901.9",
                "14771",
                "1"
            ],
            [
                "27901.8",
                "35012",
                "1"
            ]
        ],
        "timestamp": 1681038269930
    }
}