Get subscription quota
GET/api/v1.0/quote/quotas/subscriptionReturns subscription quota usage for the authenticated user. Identical subscription keys are deduplicated across connections within each region (K-line keys include symbol, interval, and adjustment), and account used is the sum across all regions. Derived depth consumes no extra slots, and options share the same pool as equities. No pagination.
Request parameters
This endpoint takes no request parameters.
Request example
bash
curl -s "https://webapi.futunn.com/api/v1.0/quote/quotas/subscription" \
-H "Authorization: Bearer <AccessToken>"Response fields
Fields under data.
| Field | Type | Description |
|---|---|---|
total | integer | Current entitlement total limit |
used | integer | Current used subscription count |
remaining | integer | Remaining quota after used (max(total - used, 0)) |
Response example
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"remaining": 2000,
"total": 2000,
"used": 0
}
}Errors
| ret_code | error.code | Description |
|---|---|---|
| -3 | missing_uid | Authenticated user identity is missing |
| -9 | permission_denied | Access denied by policy |
| -11 | rate_limited | Rate limit exceeded; back off for Retry-After seconds when provided |
| -13 | quota_unavailable | Entitlement or usage service temporarily unavailable |
Notes
- Total limits depend on account quote entitlements (example totals are illustrative, not fixed quotas for all accounts). WebAPI usage is tracked independently of OpenD.
- Entitlement or usage-query failures return a business error rather than reporting zero usage.