Get Open Interest
- GET /capi/v2/market/open_interest
Weight(IP): 2
Request parameters
| Parameter | Type | Required? | Description | 
|---|---|---|---|
| symbol | String | Yes | Trading pair | 
Request example
curl "https://api-contract.weex.com/capi/v2/market/open_interest?symbol=cmt_1000satsusdt"
Response parameters
| Parameter | Type | Description | 
|---|---|---|
| symbol | string | Trading pair | 
| amount | string | Total open interest | 
| base_volume | string | Base currency volume | 
| target_volume | string | Quote currency volume | 
| timestamp | string | Timestamp | 
| forwardContractFlag | boolean | Whether it is a forward contract | 
Response example
[
    {
        "symbol": "cmt_1000satsusdt",
        "amount": "0",
        "base_volume": "0",
        "target_volume": "0",
        "timestamp": "1716709712753",
        "forwardContractFlag": true
    }
]