Clarity on API rate limit

susheelk
The following doc mentions rate limit, but its not clear, on what level is the rate limit - https://www.kite.trade/docs/connect/v3/exceptions/#api-rate-limit
I've also read few discussions here but still not clear.

Lets say I am using portfolio api to get use's holding, which I assume will fall under other end points, i.e., 10 req / sec.
Is this 20 limit on app/api-key level limit or user level limit?

For example, lets say I have 1000 different users (~different access tokens) who authenticated their Zerodha accounts, and all 1000 users hitting the api simultaneously at the very same second, but only once each. Will it hit the limit?
Tagged:
  • salim_chisty
    Kite Connect API rate limits are enforced at the API key level, not per individual user or access token. All requests originating from a single API key are aggregated across users and endpoints, and the combined request rate must not exceed 10 requests per second. This limit applies uniformly to portfolio, holdings, and other APIs; the order-related rate limit will apply to the individual client id or user. Consequently, if multiple users authenticate under the same API key and make concurrent requests, the aggregate volume is evaluated, and exceeding the threshold will result in rate limiting.
  • susheelk
    susheelk edited 7:40AM
    @salim_chisty Thanks for the clarification. I think it would be better to mention this info under rate limiting section as I see similar questions asked often.

    Also, if this is the case, is the kite api only intended for individual use and not to build actual production applications for mass?

    Because with such limits, the app wouldn't scale. Even if I am queueing and scheduling the api calls, it would exhaust at certain fixed point.

    Or am I approaching this the wrong way?
Sign In or Register to comment.