function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SwaroopSwaroop 

External Http Callout Limits

I am working on building application on SFDC which will have http callouts to external REST API. 

 

https://help.salesforce.com/apex/HTViewHelpDoc?id=integrate_api_rate_limiting.htm&language=en According to this link, 

 

"Any action that sends a call to the API counts toward usage limits, except the following:

Outbound messages

Apex callouts"

 

My question is, do external HTTP callouts count towards this API limit? If not, is there a limit on number of external HTTP API calls I can make?

 

Apologies if this has been answered before. 

 

Thanks,

Swaroop

Best Answer chosen by Admin (Salesforce Developers) 
jody_blyjody_bly

Confirmed. 

 

Apex callouts are exempted from limits for total API requests and concurrent requests. 

Apex callouts have other limits listed in the docs whose links I provided. 

 

Cheers!
Jody

All Answers

jody_blyjody_bly

Hi Swaroop,

 

These docs should give you the limit info you need:

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_timeouts.htm

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm

 

The text you quoted is a bit confusing, I'm thinking it means that Apex callouts don't count towards total API requests (calls) per 24-hour period for an organization, but I'll check on that. 

 

Jody

SwaroopSwaroop

Thanks Jody,

 

Looking forward to your confirmation on this one.

jody_blyjody_bly

Confirmed. 

 

Apex callouts are exempted from limits for total API requests and concurrent requests. 

Apex callouts have other limits listed in the docs whose links I provided. 

 

Cheers!
Jody

This was selected as the best answer
sfdcfoxsfdcfox
Apex callouts are external callouts-- therefore, they don't have a limit...
Chris VogeChris Voge
About the following rule:
  • You can make up to 20 concurrent callouts to endpoints outside of your Salesforce org’s domain. You can make unlimited concurrent callouts to internal endpoints.
We have an application that makes concurrent HTTP REST callouts to an external endpoint. The endpoint has resource for each service.
EX.
www.site.com/rates
www.site.com/summary
www.site.com/reports
...
We use Visualforce Remoting to make the calls from Apex. 

We have 1 visualforce page that makes 5 calls to retrieve data to populate the page. If 5 users
are using this at the same time, will some calls potentially error out ?

Thanks, Chris
MuraliKrishna G 1MuraliKrishna G 1
Is there any specific limits for callouts with respet to customer community or based on user in community?