13

Is there an API method to return how much API calls were used and how much total calls is allowed by my SF org?

8

There's currently no API access to see the API call counts/limits. You can run a report that shows usage over the last 7 days (see the administrative reports section)

| improve this answer | |
  • 1
    that's unfortunate. we build an apex app, so we have access only to API, not Salesforce org itself – Mark Kofman Oct 7 '12 at 1:55
  • You can also see the API usage in the Company Information section, although this again is also on the org itself. – techtrekker Oct 7 '12 at 7:10
  • Can you setup the app in a development org? They're free... – Randy E Oct 8 '12 at 4:56
  • 1
    This is now accessible at /services/data/v34.0/limits. – pchittum Aug 19 '15 at 0:27
1

System Overview

Go to Setup | Quick Find System Overview and there you will find the API REQUESTS, LAST 24 HOURS. This shows you how many API calls you've made in the last 24 hours including today. For example, if you are viewing this on Monday at 2:30 PM, it'll show you the calls made since Sunday at 2:30 PM.

The "API Usage last 7 days" report

NOTE: 'View Setup and Configuration' permission on your profile is required to see this report.

The 'API Usage last 7 days' report shows you the calls made by user and date for the last 7 days including today. Take into account that the counters for this report reset at 12am Greenwich Mean Time (GMT) or UTC.

Event logging

For more granular information, Event logging can be used. Refer to our SOAP API Developer Guide for more information.

Use Limits from REST API

/services/data/v43.0/limits

Use Event Monitoring to check API Usage

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.