Shazam

FREEMIUM
Par Api Dojo | Mise à jour vor 13 Tagen | Music
Popularité

9.8 / 10

Latence

1,612ms

Niveau de service

99%

Health Check

N/A

Retour à toutes les 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 vor 2 Jahren

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 vor 2 Jahren

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 vor 2 Jahren

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.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires