API v2 Beta rate limits

You publish a daily rate limit, but I believe I hit a burst limit 429 error

QuickFile API call to ‘/clients?offset=0&limit=100’ failed (429): { “type”: “rate_limited”, “code”: “429”, “message”: “Too many requests” }

(admittedly mainly due an error in the way I was collecting all customers inside a loop when trying to post 400 invoices.)

Having worked with Xero (but use Quickfile for my company accounting) where we implement throttling so we do not exceed a calls per minute limit by pausing to stay within a time limit (I think their’s is a100 api calls per minute throttle). Do you have parameters of a similar nature in the new API? I cannot see that they are published. I would like to build that sort of limit in to the systems we build.

Regards

Steve Bloomer

Hi @SteveBloomer

There is a per-minute rate limit in place as a safety guard.

It would be a good idea to build in a limit on your end as you suggest.

Hello

What is the rate limit?

Thank you

Hi @syntaxlink

It’s 200 calls per minute.

There is a default limit of 5000 calls per day per app. If you need more than 5000, please contact us, letting us know details of the use case and we can review it on an app-by-app basis.

Hi Mathew

Excellent, I will build a throttle that keeps calls to less than 200 per minute.

Thank you for your help :slight_smile:

1 Like