API Limits

Hello,
I'm currently facing the following message : "You have been rate-limited. Please try again later or contact [email protected] for assistance".
I searched in your documentation, but i didn't find any message about limits.
Can you explicit your API limits ?
Regards,
Best Answer
-
Hey @Adrien !
I'm sorry for the trouble here.
Can you please tell me what you were attempted to do via the API when you got this message? Please tell me as much as you can without giving away any personal financial/expense/userInfo/partnerSecret data.
In general, we have a 50-requests-per-minute limit you cannot exceed.
I look forward to your reply!
Answers
-
Hi @Karisa Caudill,
We are currently building scripts that download daily reports and import them into our information system.
=> Everyday we will just get the delta between our previous daily run.However, we need to initialize our system with a first global synchronization
In order to speed up the process we are making parallel calls to the API and then we encounter the following error message: "You have been rate-limited. Please try again later or contact [email protected] for assistance".I'll reduce our call number per minute and try again.
Regards,
-
Hi @Karisa Caudill ,
We just removed parallel calls to the API and our process is now running.
May you update the doc to explain what are API's limits ?Regards,
-
Sheena Trepanier Expensify Team, Approved! Accountant, Expensify Student Ambassador Posts: 1,362 Expensify Team
@Adrien, thank you so much for following up and for the suggestion about the docs. I've created a request to have that updated and I'll pop back into this thread to let you know once it has been.
Cheers!
-
Sheena Trepanier Expensify Team, Approved! Accountant, Expensify Student Ambassador Posts: 1,362 Expensify Team
Hi @Adrien, I hope you've been well! I just wanted to let you know we've updated the API docs to include the rate limit. Thanks again for the suggestion, take care!
-
Thanks @Sheena Trepanier.
-
Hi
Can you let me know what the rate limit is. The documentation suggests there is a general limit of 50 jobs per minute. Is it 50 jobs per account or per partnerUserID?
We have multiple clients and we they add our user as an auditor. We query and fetch the expense records for all our customers using the same user credentials.
Can you please confirm if the 50 jobs per minute is per userID or per customer account.
-
This is based on the account that is logged in at the time the request is made. If all of your customers are coming through using the same authentication, then this 50 job per minute limit would apply across the board.