Medium

FREEMIUM
Verified
Par Nishu Jain | Mise à jour 17일 전 | Data
Popularité

9.8 / 10

Latence

780ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

Basic plan Hard limit

Rapid account: Jungwonpark
jungwonpark
일 년 전

Hi! I have two questions.

  1. Can I use Hard Limit while I’m using Basic plan?
    For example I’d like to limit API Calls up to 500Times.
    is it possible?
    If not, can you add this limit function?

  2. If someone is keep calling API in my website maliciously, can I prevent this?

thanks.

Rapid account: Nishujain 199719 Vg Ifu FH Zx VZ
nishujain199719-vgIfuFHZxVZ Commented 일 년 전

Hello Jungwonpark,

Yes, there is a hard limit function available on RapidAPI and we have tried it as well. Unfortunately, we cannot implement it because it allows users to create multiple fake accounts without needing to put their credit card details. The last time when we did this, some malicious user from Singapore created dozens of fake accounts to get more number of free API calls per month. Hence, we now stick to soft limit.

To ensure that you don’t exceed your free API calls, you can keep track of it in a count variable, and put a condition in your code to not to make API calls if count > 150.

Coming to your second question … preventing malicious users on a website depends on how the website is structured and deployed. For example, it would be a really bad idea to put your RapidAPI Key on a static website, in the frontend code. You must always keep your API Key a secret and use it in backend. Never exposing it.

If you need any help in the development or have any questions related to Medium API, feel free to contact me at nishu@mediumapi.com

Regards
Nishu

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

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