Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Developer API Quota

Returns the current developer API quota for the user identified by api_key. This endpoint is only available to developer plan.

GET https://openapi.misttrack.io/v1/developer_api_quota?api_key=YourApiKey

Request

Query Parameters

Parameter
Type
Required
Description

api_key

string

yes

Your API key.

Response

The three quota values are top-level fields, not nested under data. The endpoint returns the non-expired quota record with the highest ID. If there is no non-expired record, all three values are 0.

Parameter
Type
Description

success

bool

Whether the request succeeded.

msg

string

Empty on success; otherwise an error code.

total_quota

int

Total quota in the selected record.

used_quota

int

Used quota in the selected record.

remaining_quota

int

Remaining quota in the selected record.

Sample Response

{
  "success": true,
  "msg": "",
  "total_quota": 1000,
  "used_quota": 250,
  "remaining_quota": 750
}

Error Responses

HTTP Status
Response
Meaning

200

{"success": false, "msg": "InvalidApiKey"}

API key is missing, invalid, or deleted.

200

{"success": false, "msg": "PermissionDenied"}

The user is not a developer user.

402

{"success": false, "msg": "ExpiredPlan"}

The API plan has expired.

Last updated