Rate Limits

10requests per minute for each client

Each client is limited to 10 requests per minute. Design your API calls efficiently.

Do and avoid

  • Cache data locally
  • Load all configs at startup
  • Submit scores only on improvements
  • Use the useCache parameter
  • Make repeated identical requests
  • Fetch individual configs repeatedly
  • Submit scores every frame
  • Always bypass the cache

Efficient startup pattern

Load only what you need at startup, then rely on caching for the rest.

Unity (C#)
C#
1async void Start()
2{
3 HorizonApp.Initialize();
4 await new HorizonServer().Connect();
5​
6 // Startup loads (3 requests)
7 await UserManager.Instance.CheckAuth();
8 await RemoteConfigManager.Instance.GetAllConfigs();
9 await NewsManager.Instance.LoadNews();
10​
11 // 7 requests remaining for gameplay
12}