Medium

FREEMIUM
Verified
By Nishu Jain | Updated vor 17 Tagen | Data
Popularity

9.8 / 10

Latency

780ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Basic plan Hard limit

Rapid account: Jungwonpark
jungwonpark
vor einem Jahr

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 vor einem Jahr

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

Join in the discussion - add comment below:

Login / Signup to post new comments