I am being rate limited sending 1 request every 5 seconds

Hey, so Im using the free version of the api that says my limit is 25 requests/seconds. Im hitting the nft owners endpoint, doing 1 call every 5 seconds. In the third request (like 15 seconds after the first one) I get rate limited… Too many requests.

What can I do ?

Each API endpoint has a different weighting value, so you should be able to use getNFTOwners 5 times a second.

Make sure in your code that you are actually only executing 1 call every 5 seconds, you can post it. And check that you aren’t making other calls in another part of your app or script.

how does the rate limit error message looks like?
there is also a rate limit that can be set in cloud code