API quotas by plan

API, bridge and webhook quotas by plan (Premium, Pro, Network), technical limits and rate headers.

On this page Quotas by plan Rate and quotas: the headers Technical limits

The developer platform requires the Premium plan or higher: the Free plan has no access (plan_required). Quotas are measured per server and depend on the plan of the queried server.

Quotas by plan

Limit Premium Pro Network
API keys 2 10 50
REST requests per day and per key 5,000 20,000 100,000
Real-time bridges 1 5 25
Bridge messages per minute and per bridge 30 120 300
API outgoing webhooks 2 10 50
Days of statistics (/analytics) 90 365 730
Simultaneous giveaways Unlimited Unlimited Unlimited

The request counter resets at midnight UTC. Full plan comparisons are in Plans and pricing and Limits by plan (Robert).

Beyond a count limit (keys, bridges, webhooks, giveaways), the API answers 402 limit_reached; if the plan does not include them at all, 402 plan_required.

Rate and quotas: the headers

Every response carries:

Header Content
X-RateLimit-Limit The quota (daily for the REST API, per minute for a bridge)
X-RateLimit-Remaining What is left
X-RateLimit-Reset The Unix timestamp of the reset
Retry-After Only with a 429: seconds to wait
Situation Response
Daily quota exceeded 429 quota_exceeded, details: {"limit": …, "reset": …}
Too many requests per minute from the same IP address 429 rate_limited. The api category allows 120 requests per minute, with a burst of 60
Bridge messages beyond the rate The excess is dropped (dropped with rate_limited), not queued
Too many console commands or link codes 429 rate_limited

When you receive a 429, wait for the Retry-After duration then retry, preferably with a delay that grows on each failure. The SDKs do this for reads.

Technical limits

Item Limit
Results per page (limit) 100 at most
Wait for a write with ?wait=true 10 seconds
Long-polling wait (wait) 25 seconds
Retention of a server's events 24 hours, or 10,000 events
Retention of a bridge's queue 10 minutes (500 events)
Events per batch sent by a bridge 50
Bridge message length 1,900 characters
Discord message (content) 2,000 characters
Embed 6,000 characters in total, 25 fields, title 256, description 4,096
Idempotency key 100 characters, kept 24 hours
Players in a heartbeat 200
A bridge's whitelist entries 50
Timeout duration (timeout) 28 days
Giveaway duration 60 seconds to 60 days
Request body size 1 MB
Bridge heartbeat every 30 seconds; "offline" after 90 seconds
Webhook delivery wait 8 seconds, 4 attempts, disabled after 50 consecutive failures
Delivery log last 100

Save your quota

Cache reads (a leaderboard, a few minutes), use ?limit=100 to reduce the number of pages, replace a polling loop with a webhook and batch a bridge's events.