Get Index List

Get the index price of all contracts (Authentication type: None, See Interface Permission)

Request Format

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

Request Limit

See Detailed Rate Limit

Request Parameter

None

Request example

curl https://api-cloud.bitmart.com/contract/v1/ifcontract/indexes

Response Data

Field Type Description
index_id int Index ID
name string Index name
base_coin string Index base coin
quote_coin string Index quote coin
brief_en string Abbreviation (English)
brief_zh string Abbreviation (Chinese)
price_unit string Price precision
created_at string Create time

Instruction

Contract may be an empty list, indicating that the contract pair is not online.

Example of returned data format

{
    "code": 1000,
    "trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
    "message": "OK",
    "data":[
        {
            "index_id":40,
            "name":"HCUSDT",
            "base_coin":"HC",
            "quote_coin":"USDT",
            "brief_en":"",
            "brief_zh":"",
            "price_unit":"0.0001",
            "created_at":"2020-03-31T07:22:07.750953Z",
            "member":[
                {
                    "index_id":40,
                    "coin_code":"HC",
                    "weight":"1",
                    "market":[
                        {
                            "market_name":"Coinw",
                            "weight":"1"
                        }
                    ]
                }
            ],
            "contract":[
                {
                    "contract_id":45,
                    "index_id":40,
                    "name":"HCUSDT",
                    "display_name":"HCUSDT 永续合约",
                    "display_name_en":"HCUSDT SWAP",
                    "contract_type":1,
                    "base_coin":"HC",
                    "quote_coin":"USDT",
                    "price_coin":"HC",
                    "exchange":"*",
                    "contract_size":"1",
                    "begin_at":"2020-03-30T00:00:00Z",
                    "delivery_cycle":28800,
                    "min_leverage":"1",
                    "max_leverage":"20",
                    "price_unit":"0.0001",
                    "vol_unit":"1",
                    "value_unit":"0.0001",
                    "min_vol":"1",
                    "max_vol":"1000000",
                    "liquidation_warn_ratio":"0.85",
                    "fast_liquidation_ratio":"0.3",
                    "settle_type":1,
                    "open_type":3,
                    "compensate_type":1,
                    "status":3,
                    "block":1,
                    "rank":1,
                    "created_at":"2020-03-31T07:49:43.801453Z",
                    "depth_bord":"1.01",
                    "max_rate":"0.00375",
                    "min_rate":"-0.00375"
                }
            ]
        }
    ]
}

results matching ""

    No results matching ""