Rate limit on data/construction APIs

Hi Team
I am running the rosetta node in my network and then access the data and construction APIs for ICP. I want to to know what the rate limit on these APIs if any exist

Hey @Kashif

First of all, it really depends what API you are accessing.

I can only speak for the boundary nodes. In general there are no rate-limits, but there are some exceptions:

  • Each BN only allows for 1k update calls per subnet and second. If you run into this, you will get 429 status codes in your responses;
  • Each BN shed load if the system utilization reaches a certain threshold. If you run into this, you will get 429 status codes in your responses;
  • Excessive amounts of requests (> 1k rps) will lead to a temporary ban of a few minutes. If you run into this, you won’t be able to connect to the boundary nodes for the time of the ban;

Hey @rbirkner I am accessing the Fetch account Balance APIs mostly