Riot API rate limits
Rate limits are applied per API key. When exceeded, the API returns a429 status code and valaw raises RiotAPIResponseError.
Development key limits
- 20 requests per second
- 100 requests per 2 minutes
Production key limits
Higher limits that vary by application approval level. See the Riot Developer Portal for your specific limits.Handling rate limits
Valaw does not automatically retry rate-limited requests — this is intentional so you have full control. Handle429 responses yourself:
Best practices
Space out requests — avoid making many requests in rapid succession, especially in loops. Cache responses — data like account info and content rarely changes. Store results rather than re-fetching:More information on rate limiting can be found in the Riot API documentation.

