Get Maker Credit Usage
Frequency limit: 10 times/1s (UID)
Description
Get maker credit limit and usage
HTTP Request
- GET /api/spot/v2/maker-credit/credit-usage
Request Example
curl "https://api.****.com/api/spot/v2/maker-credit/credit-usage?coinName=BTC" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
Request Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| coinName | String | No | Coin name, e.g. BTC |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1683875302853,
"data": [
{
"userId": 10001,
"coinName": "BTC",
"orderCredit": "10.00000000",
"usedAmount": "3.50000000",
"usageRate": "0.35000000"
}
]
}
Response Parameter
| Parameter | Type | Description |
|---|---|---|
| userId | Long | Maker user ID |
| coinName | String | Coin name |
| orderCredit | Decimal | Credit limit |
| usedAmount | Decimal | Used amount of open orders (absolute value) |
| usageRate | Decimal | Usage rate: |usedAmount| / orderCredit, null when orderCredit is 0 |