Rate Limits & Quotas¶
Every plan comes with limits on how often you can call the API. Three things are counted:
- Rate limit — how many requests per second you can sustain.
- Burst — short spikes above that rate are okay, up to a point.
- Daily quota — total requests per day.
If you go over, the API answers with HTTP 429 and includes a Retry-After header —
the number of seconds to wait before trying again. Honor it instead of retrying
immediately. There are two cases:
- Short burst — you briefly out-paced your per-second limit.
Retry-Afteris about a second; pause, then continue. - Daily quota reached — you've used your full allowance for the day.
Retry-Afteris longer, and waiting a few seconds won't help: the daily quota resets at 00:00 UTC. Slow down, spread work across the day, or move to a higher plan.
A steady request pace within your plan avoids 429s entirely.
Check your usage anytime¶
Call the usage endpoint with your key to see how much you've used:
On Windows
These examples are written for Mac and Linux. In Windows Command Prompt, put
the whole command on one line (drop the \ line break) and write the key as
%GAMMAEDGE_API_KEY% instead of $GAMMAEDGE_API_KEY. See
Make your first request.
You'll get your request counts and remaining quota, day by day. You only ever see your own usage — never anyone else's.
Tips to stay within limits¶
- Cache what you re-read. If you ask for the same data often, store the response instead of requesting it again.
- Ask for less. Use
/v1/vold/{ticker}/latestwhen you only need the newest slice, not the whole session. - Spread out bulk work. A steady trickle beats a burst.