FlipziDocs
Guides

Rate limits & quota

There are two limits, both per account: a monthly unit quota and a per-minute request limit. Every metered response carries both sets of headers:

HeaderMeaning
X-Quota-LimitUnits in your plan's month
X-Quota-RemainingUnits left this month when the request arrived, before this call's own cost
X-Quota-PeriodThe month being counted: YYYY-MM for a calendar month, YYYY-MM-DD for a billing month starting that day (UTC)
X-Quota-Scopeaccount: the count is shared by all your keys
X-RateLimit-LimitRequests allowed per minute
X-RateLimit-RemainingRequests left in the current 60-second window
X-RateLimit-ResetUnix time when the window has fully cleared

Responses refused before metering do not carry them: 401; a 403 for an endpoint that is not on your plan; a bulk request over your plan's cap (403 or 422 BULK_LIMIT_EXCEEDED); and a 503 when quota state is unavailable. A QUOTA_EXCEEDED 429 carries the X-Quota-* headers and X-RateLimit-Limit, but not X-RateLimit-Remaining or X-RateLimit-Reset. Every response carries X-Request-Id, and every 200 an ETag: send it back as If-None-Match and an unchanged response is a 304 with no body. Quotas reset at the start of your quota month (your billing date on a paid flipzi.io plan, otherwise 00:00 UTC on the 1st).

Both limits answer 429, with Retry-After in seconds, and neither refusal is billed:

error.codeCauseRetry-Afterdetails
RATE_LIMITEDMore requests in 60 seconds than the plan allowsSeconds until a slot frees, at least 1limit_per_min, retry_after, monthly_used, monthly_limit
QUOTA_EXCEEDEDThe call would take the month over its unitsSeconds until your quota month resetsrequested_units, remaining, used, limit, percent_used, period, resets_at, resets_in_s

Both also carry your_plan and, when a larger plan exists, next_plan, upgrade_url and next_step. The per-minute window is sliding, and a refused request still counts towards it, so back off for Retry-After rather than retrying at once.

Extra units. On a paid flipzi.io plan you can also buy one-off extra units from the Usage page of the dashboard. They are added to the current quota month at once (limit and X-Quota-Limit include them) and expire when it ends; unused units do not roll over. Where they are on sale for your account, a QUOTA_EXCEEDED body also carries unit_packs_url, and next_step names it after the next plan, or on its own on Mega, the largest plan. Marketplace subscriptions are not affected.

On the free plan at flipzi.io, each Ultra-only endpoint also has a monthly allowance of 5 successful calls (one per id on a bulk call). Responses from those endpoints carry X-Endpoint-Limit and X-Endpoint-Remaining (calls left after this one), and the sixth call answers 429 with error.code ENDPOINT_LIMIT_REACHED, Retry-After set to the seconds until the month resets (00:00 UTC on the 1st), and details.endpoint, limit, used, remaining, requested_units, period, resets_at, resets_in_s, plus next_plan, upgrade_url and next_step. A refused call is not counted.

Read your own usage any time with GET /v1/meta/usage — it is never billed against your feature entitlements and reads the authoritative counter.