Notes:
To get information about total API limit and consumption for your org, any of the following can be used:
The limits info header returned in SOAP and REST API responses also provides information about the API calls made in last 24 hours and the daily API request limit.
SOAP API Response example:
<limitInfo> <current>700</current> <limit>15000</limit> <type>API REQUESTS</type></limitInfo>
REST API Response example:
Sforce-Limit-Info: api-usage=25/5000;
GET request to resource /services/data/vXX.X/limits/ returns information for all limits in the Org. Response include 'DailyApiRequests' which provides information about usage for last 24 hours and daily limit. Example:
"DailyApiRequests":{
"Max":106200
"Remaining":105482
}
The above will help you to check daily API Request limits and the total consumption for your Org. Also, API Usage Notification can be defined to send notification at certain thresholds of API limits consumption. Once you have information about total API limits and consumption for your Org, you will want to look into API requests consuming these Limits.
To gain visibility into the API Requests contributing to the API Usage Limits for the Org, use the 'API Total Usage' EventType available under Event Monitoring. Developer, Enterprise, Unlimited and Performance edition Orgs have access to 'API Total Usage' Event Log Files with 1-day data retention at no additional Cost. For more information about Event Monitoring, visit Event Monitoring Trailhead Module.
API Total usage event contains details about Platform SOAP API, Platform REST API, and Bulk API requests. Therefore it can be used to monitor general API consumption.
To Generate Event Log Files for API Total Usage:
After the above steps have been completed, use Event Log File Browser or REST API to fetch Log Files for API Total Usage Event.
In Event Log File Browser, log files for API Total Usage events will be available. These files can be downloaded in CSV format to get information about API requests. Each Line in the Log File represents an API request and the field values in log line provide further details about the API request. Information about what each of these Fields represent can be checked at API Total Usage Event Type Fields
Considerations:
For complete and accurate information about API limits and consumption, it is recommended to use the methods mentioned above in the Lightning section of this Article as there are certain limitations with API Usage data available in Salesforce Classic.
Available in:
Permissions required:
The 'API Usage last 7 days' report shows you the calls made by User and date for the last 7 days, including today.
Notes:
In Pardot, you can check the API requests data in API Usage Statistics page.
What data is available on API Usage Statistics page in Pardot?
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:
Please refer to the Increasing Total API Request Allocations section in the API Request Limits and Allocations page.
Salesforce Support YouTube video:
Understanding API Limits
000385367

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.