Rate limits
The Lobby service uses rate limits to help control network traffic by restricting the number of requests received by the API within any given second. The following table shows the rate limit for each of the Lobby service’s request types for players and service accounts. Because service accounts are allowed much more control and are likely to be managing multiple lobbies at a time, their rate limits are more relaxed.
Request type | Rate limit | Service account rate limit |
---|---|---|
Query for lobbies | 1 request per second | 100 requests per second |
Create lobbies | 2 requests per 6 seconds | 200 requests per 6 seconds |
Join lobbies | 2 requests per 6 seconds | 200 requests per 6 seconds |
Quick Join lobbies | 1 request per 10 seconds | 100 requests per 10 seconds |
Get lobbies | 1 request per second | 100 requests per second |
Get joined lobbies | 1 request per 30 seconds | 1 request per 30 seconds |
Get hosted lobbies | 1 request per 10 seconds | 1 request per 10 seconds |
Delete lobbies | 2 requests per second | 200 requests per second |
Update lobbies | 5 requests per 5 seconds | 500 requests per 5 seconds |
Bulk update lobbies | N/A (forbidden) | 1 request per second |
Leave lobbies or remove players | 5 requests per second | 500 requests per second |
Update players | 5 requests per 5 seconds | 500 requests per 5 seconds |
Heartbeat lobbies | 5 requests per 30 seconds | 500 requests per 30 seconds |
Reconnect to lobby | 2 requests per 6 seconds | 200 requests per 6 seconds |