---
title: "Using UrlFetchApp.fetch vs. fetchAll in Google Apps Script"
author: "Martin Hawksey"
date: 2021-05-09T14:26:23+00:00
modified: 2021-05-09T14:27:02+00:00
canonical_url: https://pulse.appsscript.info/p/2021/05/using-urlfetchapp-fetch-vs-fetchall-in-google-apps-script/
markdown_url: https://pulse.appsscript.info/p/2021/05/using-urlfetchapp-fetch-vs-fetchall-in-google-apps-script.md
categories:
  - "Intermediate"
  - "Solutions"
  - "V8"
tags:
  - "@schoraria911"
  - "script.gs"
featured_image: https://pulse.appsscript.info/files/2021/05/urlfetchapp-fetch-vs-fetchall.png
description: "Make multiple, asynchronous API calls simultaneously using UrlFetchApp.fetchAll in Apps Script. mostly when running through a list of resources against which an API call needs to be triggered, we end up using the UrlFetchApp's fetch service; however, in case if the list is well-defined and needs to be consumed as a whole, you could make use of the fetchall service instead."
---

# Using UrlFetchApp.fetch vs. fetchAll in Google Apps Script

![Using UrlFetchApp.fetch vs. fetchAll in Google Apps Script](https://pulse.appsscript.info/files/2021/05/urlfetchapp-fetch-vs-fetchall.png)

> [https://script.gs/using-urlfetchapp-fetch-vs-fetchall-in-google-apps-script/](https://script.gs/using-urlfetchapp-fetch-vs-fetchall-in-google-apps-script/)
> Make multiple, asynchronous API calls simultaneously using UrlFetchApp.fetchAll in Apps Script. mostly when running through a list of resources against which an API call needs to be triggered, we end up using the `UrlFetchApp`‘s [fetch](https://developers.google.com/apps-script/reference/url-fetch/url-fetch-app#fetchurl,-params) service; however, in case if the list is well-defined and needs to be consumed as a whole, you could make use of the [fetchall](https://developers.google.com/apps-script/reference/url-fetch/url-fetch-app#fetchallrequests) service instead.

In this post sourabh choraria highlights the benefits of `UrlFetchApp.fetchAll()`when making asynchronous API calls in Google Apps Script.

Source: *[using UrlFetchApp.fetch vs. fetchAll in google apps script*](https://script.gs/using-urlfetchapp-fetch-vs-fetchall-in-google-apps-script/)

---

*Published by [Martin Hawksey](https://pulse.appsscript.info/p/author/admin/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2021/05/using-urlfetchapp-fetch-vs-fetchall-in-google-apps-script/](https://pulse.appsscript.info/p/2021/05/using-urlfetchapp-fetch-vs-fetchall-in-google-apps-script/)*
