How much is the API limit?
The API limit count depends on the organization type and edition. Refer to API Request Limits for more information.
What counts towards my API limit?
SOAP (https://www.salesforce.com/developer/docs/api/Content/sforce_api_calls_list.htm) and REST API calls (which include Bulk API calls) are counted against an organization API call limit.
How can I reduce my usage of API calls?
There are different approaches to reduce the amount of API calls consumed by a given API client, which include (but are not limited to) the following:
- caching on the client side,
- sending cumulative changes, rather than incremental changes,
- resort to the Bulk API to mass upload/update records, instead of using the REST API to upload/update the same records.
Where can I get information on how many API calls were made in my org?
Go to Monitor | 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
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.
NOTE: This report displays SOAP API usage, but REST API (including Bulk API) calls are not included in the report, which might explain why the data displayed in the report does not match the figure returned by the System Overview page.
For more granular information, Event logging can be used. Refer to http://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_eventlogfile.htm for more information.
How can I use these two together to understand more about my API usage?
Here's an example of how you can use these two tools together:
Assume today is Wednesday and you go to Monitor | System Overview and you see the following
API REQUESTS, LAST 24 HOURS 25,000
This means that in the last 24 hours taking into account today, you have used 25K API calls. You can then go to the "API Usage last 7 days" report and see how many calls you have done on Wednesday (today) and part of Tuesday. You are likely to see something like this
You need to take into account that the number for Tuesday shows all the calls on Tuesday, but the System Overview number doesn't take into account all calls from Tuesday, only the ones within the last 24 hours. So the calculation is something like this:
Wednesday 15,000 + some calls from Tuesday 10,000 (starting from the last 24 hours) = 25,000