API
Usage
Query your API consumption by endpoint for the current period. Zero credit cost.
GET /usage — your API consumption grouped by endpoint for the current period. Not billed (0 credits).
Example response for GET /usage:
{
"code": "0",
"msg": "success",
"data": [
{ "endpoint": "public.hl.spot.holders", "calls": 1240, "credits": "1240" },
{ "endpoint": "public.hl.perp.liquidation-map", "calls": 87, "credits": "174" }
]
}You can also view your remaining balance and per-endpoint consumption on the Usage tab of the developer portal.