Questions regarding to the Roblox API

I’m currently developing a discord bot with discord.py

As I manage things on Roblox using my discord bot, I need to make a request to the roblox endpoint.

While I was making the bot, I heard that the API limit rate is quite low(in other word, limited), so I did worry a lot about my bot being limited since the bot is for a 42K-membered group and people are constantly using the bot.

So I performed a simple “stress test” that involved people spamming commands that involved using the API such as !lookup which would get details about a roblox user.
Surprisingly enough, although me and my friends spammed the bot more than 50 times, the bot didn’t seem to get limited at all(apart from the limit from DISCORD to prevent the bot spamming).

I don’t really get this situation at all… my bot not getting limited after making about 50+ requests in less than a minute?
Can anybody explain why?

1 Like

Thank you for dropping by! I appreciate your help.
If you don’t mind, I actually got a few more questions in that case.

1: if I happen to put my bot in a multiple server(and active), could it easily be rate-limited?

2: if I run 2 bots, would they get 500 requests each or would they add up to 500 total?

3: rover and bloxlink are quite a popular bot and I daresay it exceeds about 500 requests per minute due to many people using them. How so?

1 Like

Discord bots don’t get rate-limited by discord, and they shouldn’t be by roblox, but you should really create a queue system (essentially it will respect roblox rate limit) so you would never overlap that amount. if you run 2 bots itll still be under the same author/API so yes they would add up to 500 total.
rover and bloxlink are created by a dev who has been verified and has a database, im assuming bloxlink doesn’t make any requests to roblox and instead sends information to a 3rd api/website, and the the roblox server will search-up the roblox user that just joined. So essentially roblox never ever is involved until the robloxian joins the bloxlink verfication game. (this is me just basing off theory from seeing how bloxlink works and may not be correct at all however this is a way of how bloxlink can work without being rate limited). it might also be because the bot dev is a verified bot developer.

3 Likes

Thanks for your long-written response! I was afraid nobody was going to answer my question.

If I run 2 bots, I guess I need to use different IP respectively in order to get a seperate API limit.

I’ll try my best to look up on it. Have a nice day!

1 Like