Question about Query Call Limits to ICP Canisters from a Server

Hi everyone,

I’m running a Telegram bot that interacts with some canisters on the Internet Computer, and I’m trying to understand the best practices to avoid getting blocked or rate-limited by the boundary nodes.

Specifically:

  • How many query calls can a server make to a canister per minute/hour/day?
  • Is there a recommended or safe frequency to avoid being temporarily or permanently banned by the boundary nodes?
  • Are there long-term risks (e.g. IP ban or throttling) if a bot continuously sends a high volume of query calls?

I couldn’t find clear documentation about the limits or rate-limiting policies for query calls, so any guidance or experience would be very helpful. Thanks!

Hey @ckPaul

I can just provide you some information about limits at the boundary node infrastructure: HTTP gateways and API boundary nodes.

In general, there are no limits on query calls. However, there are some global limits on the number of requests a single client can make in given amount of time. If a client exceeds that limit, it will be banned for a couple of minutes from all access to anything hosted on the Internet Computer. Specifically, a client is banned for 10mins if it exceeds 1k rps.