Shazam

FREEMIUM
Verified
By Api Dojo | Updated hace 3 días | Music
Popularity

9.8 / 10

Latency

1,798ms

Service Level

99%

Health Check

N/A

Back to All Discussions

Limit to 5000

Hi, im using the api for a website and just subscribed to the PRO-version. I'm a bit worried that someone will overuse the function though, and for what I understand there is no limit to the amount of calls that can be made, which could lead to me having to pay a alot bigger amount that Im comfortable with. 

Any ideas on what I can do? Is it possible to limit the max amount of calls somehow?

Rapid account: Apidojo
apidojo Commented hace 2 años

Hello,

You may wrap our endpoints in ones of yours, check the consumption on the servers and limit the usage, then call your endpoints instead. It is easy to implement with some Proxy library.

Regards

Rapid account: Alexandergustafssonflink
alexandergustafssonflink Commented hace 2 años

I get that I get a response header with info regarding the amount of free calls that is left. However, then the call has already been made. So if someone were to use my app to make a hell of alot of calls, this header wont help me - will it? Is there not anyway for me to block further calls once the limit has been reached?

Rapid account: Apidojo
apidojo Commented hace 2 años

Hello,

You are interested in the two following fields x-ratelimit-requests-limit, x-ratelimit-requests-remaining in every response header, they help to track your consumption in real time. The headers are also mentioned in the document at https://docs.rapidapi.com/docs/response-headers You should spend time and read their documentary.

Regards.

Join in the discussion - add comment below:

Login / Signup to post new comments