What it does
GET /usage/ returns your check usage for the current billing cycle: how
many checks you used, your plan limit, your per-second rate tier, and
whether you've exceeded the limit.
GET
/usage/Current billing-cycle usage stats for your API key.
Example request
curl --request GET \
--url 'https://shildmatrix.binomatrix.com/api/v1/usage/' \
--header 'accept: application/json' \
--header 'X-API-Key: $SHILDMATRIX_API_KEY'Windows shells: this snippet uses bash/zsh syntax (\ line continuations and single quotes). In cmd.exe use ^ for line breaks and escaped double quotes (\"); in PowerShell use a backtick for line breaks and curl.exe on Windows PowerShell 5.1. Git Bash and WSL run it unchanged.
Example response
{
"success": true,
"plan": "pro",
"checks_used": 12430,
"checks_limit": 300000,
"rate_limit_per_second": 50,
"period": "2026-11",
"period_end": "2026-11-15T12:00:00+00:00",
"exceeded": false
}Authentication
X-API-Key header (API key only — JWT is not accepted).
Errors
401— missing or invalid API key.402— the account has no active plan; the body is the samesubscription_requiredobject asPOST /check/:{ "success": false, "error": "subscription_required", "message": "Choose a plan to activate your API key." }
Response fields
| Field | Type | Description |
|---|---|---|
success | boolean | Always true on success |
plan | string | Plan id (starter, pro) |
checks_used | number | Checks used in the current billing period |
checks_limit | number | Monthly check limit for the plan (Starter 50,000, Pro 300,000) |
rate_limit_per_second | number | Per-second rate tier (Starter 10, Pro 50) |
period | string | Current billing period, YYYY-MM |
period_end | string | null | ISO 8601 timestamp of the current cycle's end (subscription-anchored) |
exceeded | boolean | true when checks_used >= checks_limit. Exceeding the limit is never an API error — checks fail open (see quota on POST /check/) |