Exceeding your API Requests
For those of you who don’t know, salesforce.com limits the number API requests you can make in a given 24 hour period. An API request occurs when you connect to the salesforce.com API and call a method. Everyone is guaranteed a minimum limit of 5,000 calls per 24 hour period. The maximum limit varies depending on the number of licenses you have but is capped at 1,000,000 (5,000,000 for UE and sandbox orgs).
So what does this all mean? Well, if you’re building an integration that is going to connect to salesforce.com’s API, you have to make sure to build it so that it wont exceed this limit. For example, let’s say you only have 1 license, so your limit is 5,000 calls per 24 hour period and you’re going to send purchases made on your website one at a time into salesforce. You have to ensure that you don’t send over 5,000 purchases in a 24 hour period, because if you do, anything over 5,000 wont be received by salesforce.com.
There are various workarounds. You could use Apex to callout to your website instead. You could pass data in batches on a regular schedule. You could also use Force.com sites to create public webservices which have higher limits.
What limits in salesforce have you hit? How have you overcome them?



