FlipziDocs
API referenceMeta

Current usage

GET
/v1/meta/usage

Scans used and remaining for the current UTC month.

Reads the authoritative counter rather than a cache, so this is the number to reconcile your own billing against.

Quota is counted against your account, not an individual key: every key you hold draws on the same monthly allowance and the same per-minute rate limit. Check the scope field to be sure. When the scope is account, by_key breaks the same total down per key.

This endpoint costs no quota and is never refused for being over quota, so it still answers when you are at your cap.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Your Flipzi Scanner API key (e.g. fzs_live_...), issued from the developer dashboard at flipzi.io/account. Rotating a key keeps the old one valid for 24 hours, so you can roll it out without downtime.

Response Body

Usage for the current UTC month.

application/json
  1. response
period?string

Current UTC month, YYYY-MM.

period_type?"month"
Value in"month"
used?integer
limit?integer
remaining?integer
plan?string
resets_in_s?integer

Seconds until 00:00 UTC on the 1st.

scope?string

What used is counted over. account means every key you hold shares this allowance.

Value in"account""key"
by_key?array<>

Per-key breakdown of the same total. Present only when scope is account.

curl -X GET "https://example.com/v1/meta/usage" \  -H "X-API-Key: YOUR_API_KEY"
{  "period": "2026-09",  "period_type": "month",  "used": 1840,  "limit": 10000,  "remaining": 8160,  "plan": "pro",  "resets_in_s": 2394772,  "scope": "account",  "by_key": [    {      "key_id": "1e779c8a-6786-4c89-b7c3-a6666f5fd6b5",      "prefix": "fzs_live_",      "label": "production",      "revoked": false,      "used": 1200    }  ]}