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
Greg FinzerGreg Finzer 

Limits of calling external APIs

What is the call limit and data limit for an external rest API?  I am planning to write an APEX batch job what will be scheduled to run hourly.  This batch job will call an external Rest API up to 300 times and retrieve 4500 records which will be inserted as Big Objects.  Is this possible with Salesforce?
Best Answer chosen by Greg Finzer
KrishnaAvvaKrishnaAvva
Hi Greg,

Please use the llimits class https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_limits.htm
to dynamically query the number of callouts made and the number of remaining callouts before making the next call.

Please find the per transaction limits of Salesforce : https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_gov_limits.htm

Please mark this as SOLVED if had helped you. Thanks!

Regards,
Krishna Avva