How would I stop HTTP 429 (Too Many Requests)?

Hey! I’ve been trying to get a response from the catalog api, but it’s not sending me a response and says HTTP 429 (Too Many Requests) as the error. How would I fix this? Here’s my script:

local HTTPService = game:GetService("HttpService")

local Link = "https://catalog.rprxy.xyz/v1/search/items/details?Limit=10"


while wait(10) do
	local Response
	local s, e = pcall(function()
		Response = HTTPService:GetAsync(Link)
	end)
	if s then
		Response = HTTPService:JSONDecode(Response)
		print("success")
	else
		print('not successful')
	end
end

It’s more unsuccessful than successful, can somebody try to help me with this?
image

Thanks,
Dragon

Oh and if you have time, can you please try to help me with this? Why is the mouse clicking 2 guis?

1 Like

Thanks so much! Really appreciate it!

I have another question though, why does it sometimes say “not successful” when i’m only trying to get it only once and how would I fix that?

Is there another API endpoint I can use instead?

Oh, alright. Thanks for the help.