+ Start a Discussion
Pedro Da GreatPedro Da Great 

Way to get the Total API Requests USED for an org via either Apex or the API?

Here is my issue, I am getting the old "REQUEST_LIMIT_EXCEEDED: TotalRequests Limit exceeded" error. I want to at least do my best to not cause that moving forward by throttling what I'm doing if I see the limits creeping up. I know how to login and go to the company info tab and see but I would love to do this programmatically. Any help would be greatly appreciated.

 

See screenshot if you are not sure what I am talking about.

 http://www.tiikoni.com/tis/view/?id=6fec473

 

Thanks!

Ben PovlichBen Povlich

As far as I know, there is no way to do this through any of the API's, if you figure it out, though, I would very much like to know how to do this.