What is API rate limiting?
Rate limiting caps how many requests a client can make in a time window. Over the limit, APIs answer 429 Too Many Requests.
Definition
CrawlFetch bills in credits: each plan adds credits every month and each successful call spends a few. Every response includes x-credits-remaining; an empty balance answers 402, while a 429 means the source platform is throttling for a moment.
In practice
Most limits use a fixed or sliding window — for example N requests per minute — on top of a monthly allowance. On credit-billed APIs the x-credits-remaining header plays that role: a well-behaved client tops up or slows down before it hits a 402.
With multiple workers, coordinate through a shared limiter (Redis token bucket, queue concurrency) rather than letting each worker discover the limit separately.
Why it matters when downloading video
- Bulk jobs need bounded concurrency.
- Honouring
Retry-Aftergets you back to full speed fastest.
FAQ
How do I handle a 429?
See handling 429.
Related
Last updated 2026-10-25