Limit API calls / hits up-to 3 request per day for particular request id

Hi all!

We have to limit API calls / hits up-to 3 request per day for particular request id ?

If so, how do I configure this on Tyk API gateway?

Regards
Rohit Thakur

Hi!

Is this a auth protected API?

Request is is like some user identifier?

Do you need to limit another requests?

Hi Leon,

Is this a auth protected API?–Yes, This is auth protected API.

Request is is like some user identifier?-- It’s like request ID not user identifier.

Do you need to limit another requests?–No

Regards
Rohit

Hi @Rohit_Thakur

Just to cover the basics, which licensing are you on?

If Self Managed or Cloud, have you had a look at our Youtube videos on rate limiting in case that covers your use case.

https://www.youtube.com/watch?v=ETI7nOd3DNc

https://www.youtube.com/watch?v=n7jbmuWgPsw

If Open Source (OSS), then we have some documentation here

Per Key: https://tyk.io/docs/tyk-apis/tyk-gateway-api/token-session-object-details/

Per Policy: https://tyk.io/docs/basic-config-and-security/security/security-policies/policies-guide/

For the 3 requests per day, you may wish to set the limit on the key directly by creating a custom key

If the use case does not suit you, then could you explain further what you mean by “a particular request ID”

Is the “request ID” a value that needs to be passed for an API operation (Header, URl or Path)?

If it is then, is it something that is generated?. Also, what is the lifespan of the request ID?