Documentation Index
Fetch the complete documentation index at: https://mintlify.com/renja-g/RiftRelay/llms.txt
Use this file to discover all available pages before exploring further.
Quick start with Docker
The fastest way to get RiftRelay running is using the one-line Docker setup script:Run the setup script
Execute the following command in your terminal:The script will:
- Download the necessary Docker configuration files
- Prompt you for your Riot API token
- Start RiftRelay automatically
Pre-built Docker images are available on Docker Hub
Make your first request
Send a request through RiftRelay using the format RiftRelay will proxy this request to Riot’s API while managing rate limits automatically.
/{region}/{riot-api-path}:Replace
Someone/EUW1 with an actual Riot ID and tagline to test with real dataUnderstanding the request format
RiftRelay uses a simple URL pattern:- region: The Riot API region (e.g.,
europe,americas,asia,sea) - riot-api-path: The Riot API endpoint path without the base URL
Examples
Priority requests
By default, RiftRelay paces requests evenly across the rate limit window. For time-sensitive requests, you can bypass the pacing delay (while still respecting rate limits) using theX-Priority: high header:
What happens under the hood
When you send a request to RiftRelay:- RiftRelay determines the rate limit bucket based on the endpoint and region
- Your request enters a queue (default capacity: 2048 requests)
- The scheduler picks requests from the queue and sends them to Riot’s API when capacity is available
- Rate limits are tracked based on response headers from Riot
- Requests are spread evenly across the rate limit window to avoid bursts
- You receive a
429 Too Many Requestsresponse - The
Retry-Afterheader tells you when to retry (in seconds) - The request is not sent to Riot’s API
Next steps
Installation options
Learn about Docker Compose and running from source
Configuration
Customize queue capacity, timeouts, and enable metrics
Multiple tokens
Use multiple Riot API tokens to increase rate limits
API reference
Explore all available endpoints and options