Rate Limits and Access Patterns
The game
API has rate limits of approximately 200 requests per minute
Rate limit violations trigger a 429 HTTP error
Recommended configuration: Implement a throttler at 100 requests per 30 seconds for safety
Recommended Access Patterns
Safe to access:
Ongoing games
Match histories
Leaderboards
Optimization Strategy
Use a dual-API approach:
1. Game API
Primary use: Fetching ongoing observable games
Expected usage: 10-15 requests per minute
2. Community API
Use for match histories and leaderboards
Benefits from higher rate limits
Reduces load on main game
API
Actions to Avoid
Accessing chat channels
Accessing presence-related features
Making POST requests
-
Any other write operations
Error Handling
Implement logging for rate limit errors (HTTP 429) to monitor API usage patterns