What are the roblox ratelimits? Or how can I handle them?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want to have my bot handle ratelimits, but this has to be done through either the 429 errors, or the Retry-After method.However, roblox doesn’t have the Retry-After header during 429 requests. Does anyone know how to roughly get the ratelimits on the web API’s?

  2. What is the issue? Roblox doesn’t have a public documentation about their web API ratelimits

  3. What solutions have you tried so far? Not really, either incomplete or abanded/outdated

Ohh right, forgot to mention. This is not inside Roblox, it’s Java.

(For the web API’s, like Groups Api)

You can use pcall to check if the request was successful or not, if the request fails you can try again later.

1 Like

Ohh right, forgot to mention. This is not inside Roblox, it’s Java.

Why would you use java for sending http requests? Why not node.js or python?

On the other note, the rate limit is probably 5-3 requests per minute

1 Like

Because my bot is made in Java. Everyone has their own language for programming.

Not 100% sure on that, I have had moments where I could send 2 requests per second to:
https://groups.roblox.com/v2/users/25900585/groups/roles and this for around 3000 requests

What i meant is after after sending 10-3 requests in a short period of time, roblox will just rate limit you until the next minute passes

So roblox ratelimits by the minute? Could I wait for 429’s and wait a minute before continuing with requests?

(At least, if any 429’s apply)

You can probably do that. Although its pretty inefficient

It’s the best I got, unless someone else has a better idea. I already use a bucket based system. But I have no idea what the ratelimits roughly are

you should check this out, it appears to be open source.

Java/outside of roblox, not Lua

1 Like