![ruby_rails ruby_rails](https://community.airtable.com/legacyfs/online/avatars/3X/7/c/7cf878b53d662ce3ab79db941c631109f3246b48.png)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 02, 2023 02:53 AM - edited ‎Feb 02, 2023 02:55 AM
Hey Guys,
My question is how many external API calls we can make in Scipting Extension Block per execution.
FYI, my usecase is to read records(around 2000) from a table view, make 2000 API calls for all of these records, and then finally update the records in a batch update of 50.
I particularly want to know that if there's any limitation on making external API calls in scripting extension block?
Thanks!!
Solved! Go to Solution.
Accepted Solutions
![Rupert_Hoffsch1 Rupert_Hoffsch1](https://community.airtable.com/legacyfs/online/avatars/3X/c/c/cc13622dccb6e75e27bcf5f30b61e5ab4efb4587.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 02, 2023 09:32 AM
Hi @ruby_rails, it's a good question... I have setups, where I am making 200+ API calls, but not 2000. The 30 second run time limit only counts for automation scripts, so no issue there. I think there is some limit related to remoteFetchAsync, but if it's individual fetch calls for every record, it should be fine. Will just take a very long time.
![Rupert_Hoffsch1 Rupert_Hoffsch1](https://community.airtable.com/legacyfs/online/avatars/3X/c/c/cc13622dccb6e75e27bcf5f30b61e5ab4efb4587.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 02, 2023 09:32 AM
Hi @ruby_rails, it's a good question... I have setups, where I am making 200+ API calls, but not 2000. The 30 second run time limit only counts for automation scripts, so no issue there. I think there is some limit related to remoteFetchAsync, but if it's individual fetch calls for every record, it should be fine. Will just take a very long time.
![ruby_rails ruby_rails](https://community.airtable.com/legacyfs/online/avatars/3X/7/c/7cf878b53d662ce3ab79db941c631109f3246b48.png)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 02, 2023 09:51 AM
That's Awesome! Thanks 🙂
![](/skins/images/DD0CD7D0ACF200EF4456420D87029A3D/responsive_peak/images/icon_anonymous_message.png)