Create Request | Connect APIs to Sheets [2023] | API Connector (2024)

API Connector includes a built-in directory of popular and interesting APIs. For this quick start, we'll fetch data from one of the preset integrations available through the directory.

If you'd prefer to create your own custom API request, please check this article: Create a Custom Request

If you like videos, also check out this video guide to using API Connector.

Contents

  • Before You Begin
  • Step 1: Open the Sidebar
  • Step 2: Add a New Request
  • Step 3: Select an API
  • Step 4: Set Authentication
  • Step 5: Select an Endpoint
  • Step 6: Set Parameters
  • Step 7: Set a Destination Sheet
  • Step 8: Choose Output Options
  • Step 9: Edit Fields
  • Step 10: Name and Run

Before You Begin

Click here to install the API Connector extension from the Google Marketplace.

Step 1: Open the Sidebar

After installing the plugin in Google Sheets, click Extensions > API Connector > Open

Step 2: Add a New Request

Once the sidebar opens, clickCreate requestto start a new request.
Create Request | Connect APIs to Sheets [2023] | API Connector (1)

Step 3: Select an API

To access the directory, browse or search for an application in the application menu.

Create Request | Connect APIs to Sheets [2023] | API Connector (2)

Step 4: Set Authentication

Authentication requirements will vary by API:

  • Open APIs don't require any authentication at all. They are marked with a green "unlocked" icon.
    Create Request | Connect APIs to Sheets [2023] | API Connector (3)
  • OAuth APIs can be connected to by clicking a blue Connect button.
    premium
    Create Request | Connect APIs to Sheets [2023] | API Connector (4)
  • Some APIs require header keys or tokens. In these cases, enter the value into the input field. Additional instructions are provided in the Auth Info link.
    Create Request | Connect APIs to Sheets [2023] | API Connector (5)
  • Some APIs use query string parameters. These can be entered in the parameters section.
    Create Request | Connect APIs to Sheets [2023] | API Connector (6)

Step 5: Select an Endpoint

Each API's data is organized into endpoints, which can be thought of as individual data sets or tables. Select an endpoint from the dropdown menu.

Create Request | Connect APIs to Sheets [2023] | API Connector (7)

Step 6: Set Parameters

All available parameters will appear below the associated endpoint. Any required parameters will be marked as such, while other parameters can optionally be used to filter and customize the response data.

Create Request | Connect APIs to Sheets [2023] | API Connector (8)

Step 7: Set Destination Sheet

Enter a destination sheet or click Set current to send the response data to the currently focused cell.

Create Request | Connect APIs to Sheets [2023] | API Connector (9)

Step 8: Choose Output Options

(optional) Click the Output options button and customize your request. Options include setting the output mode to overwrite vs. append, choosing a report style, applying pagination, and more.
Create Request | Connect APIs to Sheets [2023] | API Connector (10)

Step 9: Edit Fields

(optional) Click the Edit Fields button to preview your request. This will bring up a preview window where you can map fields to specific columns and choose which fields to display in your sheet.
Create Request | Connect APIs to Sheets [2023] | API Connector (11)

For more information on the visual field editor, see here: Edit Fields

Step 10: Name and Run

Give your request a name and click Run.

Create Request | Connect APIs to Sheets [2023] | API Connector (12)

Questions?

Please leave a comment below, contact support, or leave a message in the API Connector user community. You'll receive a response shortly.



Create Request | Connect APIs to Sheets [2023] | API Connector (2024)

FAQs

Create Request | Connect APIs to Sheets [2023] | API Connector? ›

The Google Sheets API is a RESTful interface that lets you read and modify a spreadsheet's data. The most common uses of this API include the following tasks: Create spreadsheets. Read and write spreadsheet cell values.

How do I create an API connector? ›

6 Steps to Creating a Custom Connector
  1. Build your API. ...
  2. Secure your API. ...
  3. Describe the API and define the custom connector. ...
  4. Use your connector in a Logic App, Power Automate, or PowerApps app. ...
  5. Share your connector. ...
  6. Certify your connector.
Nov 27, 2019

Can you build an API in Google Sheets? ›

The Google Sheets API is a RESTful interface that lets you read and modify a spreadsheet's data. The most common uses of this API include the following tasks: Create spreadsheets. Read and write spreadsheet cell values.

How do I call an API in Google Sheets? ›

Go to https://script.google.com/home/all. Select your project (should be “TEMPLATE — Google Sheet to JSON API”) Go to Project details > Triggers (see below) Add trigger (by default it adds a trigger on the “Spreadsheet open” event)

Is API connector for Google Sheets free? ›

The free version of API Connector includes 250 monthly API requests and many powerful features for working with APIs. The paid plans allow more requests, scheduling, pagination handling, and more.

How do I add API connector to Google Sheets? ›

Click here to install the API Connector extension from the Google Marketplace.
  1. Step 1: Open the Sidebar. ...
  2. Step 2: Add a New Request. ...
  3. Step 3: Select an API. ...
  4. Step 4: Set Authentication. ...
  5. Step 5: Select an Endpoint. ...
  6. Step 6: Set Parameters. ...
  7. Step 7: Set Destination Sheet. ...
  8. Step 8: Choose Output Options.
Mar 2, 2023

What is the difference between an API and a connector? ›

Connectors make it easier for the creator of the integration application to work with those APIs since they don't have to program directly against those APIs. Overall, APIs make it easier to get data in and out of the systems as they are usually included within these systems.

How do I fetch API data in Google Sheets? ›

Extracting data from Google Sheets via API
  1. Configure the Google Cloud Platform and enable the Google Sheets API.
  2. Generate and retrieve the API key.
  3. Allow your sheet to be accessible via API key and retrieve the Spreadsheet ID and Range parameter.
  4. Build and format the API request in Query Builder.
Apr 6, 2022

Can you query API in Google Sheets? ›

With the Advanced Queries API, your team can automatically pull in traffic data to your other data analysis tools like Google Sheets, Excel, or Tableau.

What can I use instead of Google Sheets API connector? ›

Pull API data directly into Google Sheets. No code required.

The best alternatives to API Connector for Sheets 2.0 are Sheety, G Suite, and Coefficient for Google Sheets. If these 3 options don't work for you, we've listed a few more alternatives below.

How do I Create an API key for Google Sheets? ›

To create your application's API key:
  1. Go to the API Console.
  2. From the projects list, select a project or create a new one.
  3. If the APIs & services page isn't already open, open the left side menu and select APIs & services.
  4. On the left, choose Credentials.
  5. Click Create credentials and then select API key.

How to use JSON API in Google Sheets? ›

Part I.) Use a free ImportJSON Script
  1. Open a Google Sheet. Open a new or existing Google Sheet. ...
  2. Open Script Editor. ...
  3. In the script editor, remove the placeholder content. ...
  4. Copy and paste an open-source script. ...
  5. Save and name the script. ...
  6. Go back to your Google Sheet. ...
  7. Add your JSON API URL. ...
  8. Import your JSON data.

How do I get an API access token in Google Sheets? ›

Obtaining Access Token and Refresh Token

Navigate to OAuth 2.0 Playground and click the OAuth 2.0 Configuration button in the top right corner of your screen. Select Use your own OAuth credentials, and provide the obtained Client ID and Client Secret values. Click on Close.

Does it cost to use Google Sheets API? ›

Pricing. All use of the Google Sheets API is available at no additional cost.

What is an API connector? ›

An API connector provides Azure Active Directory with the information needed to call API endpoint by defining the HTTP endpoint URL and authentication for the API call. Once you configure an API connector, you can enable it for a specific step in a user flow.

Does Google charge for API? ›

All use of Google Search Console API is free of charge. However, it is subject to usage limits.

How do I send a Webhook to Google Sheets? ›

From start to finish, this will take five steps:
  1. Create a spreadsheet (or pick an existing one) and give it column headers in the first row.
  2. Create a new Zap.
  3. Add the Webhooks by Zapier Retrieve Poll trigger.
  4. Add the Google Sheets Create Spreadsheet Row action.
  5. Test the action and publish the Zap.
Jul 4, 2022

How do I import JSON API into Google Sheets? ›

Import JSON to Google Sheets
  1. Open Google Apps Script. ‍ You can open Google Apps Script by clicking Extensions in the main menu, then selecting Apps Script. ...
  2. Copy the ImportJSON Script from Github. ‍ ...
  3. Paste the script to Google Apps Script. ‍ ...
  4. Save and name the script. ‍ ...
  5. Use the script as =IMPORTJSON(“url”) in your sheet. ‍

How do I interconnect in Google Sheets? ›

How do I link one spreadsheet to another in Google Sheets? To link data from one data range in a separate spreadsheet into another spreadsheet is via hyperlinks. Select the cell where you want your imported data to live, select Insert, then Insert Link Data from the menu.

What are the 4 API types? ›

There are four different types of APIs commonly used in web services: public, partner, private and composite.

Can I build a connector without REST API? ›

Requirements. Q: Can I build a connector without REST APIs? A: For Power Apps and Power Automate, you must support stable HTTP REST APIs for your service. For Logic Apps, you also have the option of using a SOAP API.

Is API just a link? ›

API are special urls / links , which provide data in json format so that we can parse them and use them in the way we need to use them.

How to extract data from website to Google Sheets automatically? ›

Extract Data From a Website to Google Sheets: Tables
  1. Click an appropriate empty cell.
  2. Enter =IMPORTHTML(
  3. Enter the URL inside quotation marks.
  4. After a comma, enter the query inside quotes. In this case, it's “table”
  5. Enter another comma then the index to fetch, in this example, it's 1.
  6. Press enter to execute the fucntion.
Dec 27, 2022

How to get data from API using requests? ›

Authorization
  1. Register your App.
  2. Enable Microsft Graph Permissions.
  3. Authorization Step 1: Get an access code.
  4. Authorization Step 2: Use your access code to get a refresh token.
  5. Authorization Step 3: Use your refresh token to get an access token.
  6. Using Windows Task Scheduler.
Mar 18, 2020

Can Google Sheets pull data from database? ›

Import data to Google Sheets from other databases

Almost every database system offers the choice of exporting your data in a batch using CSV files. As soon as you have your CSV files with all your data ready, you can load them into Google Sheet.

Why is my query not pulling all data in Google Sheets? ›

To fix the issue, select the entire data range, then in your top menu click Format > Number > Plain text. After making that change, all the mixed data will be text and it the QUERY will give you a copy as you expect.

How do I connect power query to Google Sheets? ›

Connect to Google Sheets data from Power Query Desktop

To connect to Google Sheets from Power Query Desktop, take the following steps: In the Get Data experience, search for and select Google Sheets. You'll be prompted for a Google Sheets URL. Copy and paste the URL from your browser address bar into the input prompt.

What is an alternative to API connector? ›

Top Alternatives for API Connector
  • Dovetail | Integration Made Easy.
  • Lobster_data.
  • Traefik.
  • ShareDocs Enterpriser.
  • Capital Open Banking.

Does Google Sheets support OData? ›

OData APIs for Google Sheets

Runs anywhere: on-premise, or in the cloud.

Can you use Google Sheets as a backend? ›

To use Google Sheets as a backend, you'll first need to set up a Google Sheet and make it accessible via the API. This involves creating a project in the Google Developers Console, enabling the Google Sheets API, and creating credentials. You can then use these credentials to access your sheet data via the API.

Is creating Google API key free? ›

API Keys is currently free of charge. If you are using Cloud Endpoints to manage your API, you might incur charges at high traffic volumes. See the Endpoints pricing and quotas page for more information.

How to set API key in GPT for sheets? ›

Set up your OpenAI API key
  1. Create a Google spreadsheet.
  2. Click Extensions > GPT for Sheets and Docs > Launch sidebar. ...
  3. Paste your secret key where indicated, then click Next.
  4. (Highly recommended) Test your key by typing a simple formula in a cell and get a response from GPT:

How to generate API key for REST API? ›

Generate a User Token REST API Key
  1. In the web app, navigate to User Icon My Profile User Settings.
  2. In the section API Access, click Create API User Token.
  3. Enter a Description to help you identify the key later.
  4. Click Create Key.

How to use JSON file as API? ›

Using JSON API Web Client
  1. Enter the following command into the input field: [ {"command" : "ServerInfoService. getVersion"}, {"command" : "Examples. ...
  2. Press Submit Query button. After the page is reloaded you will get the response from the service with the results of your commands: [ { "result" : { "version" : "9.0.9000"

How to create Google API JSON file? ›

In the Google Cloud console, go to Menu menu > IAM & Admin > Service Accounts. Select your service account. Click Keys > Add key > Create new key. Select JSON, then click Create.

How to get API in JSON format? ›

To get JSON from a REST API endpoint, you must send an HTTP GET request to the REST API server and provide an Accept: application/json request header. The Accept: application/json header tells the REST API server that the API client expects to receive data in JSON format.

How do I call a Google sheet API from a postman? ›

Using Postman to access a Google API
  1. Give your project a name, and select a location and an organization:
  2. The notification modal will pop up. ...
  3. Next, in the side navigation menu, hover over APIs & Services and select Library:
  4. From the library, search for “Google Sheets API” and enable it:
  5. Step 2: Get your credentials.
Mar 13, 2023

How do I add a token to API request? ›

Authorization
  1. Step 1: Create authorization request link.
  2. Step 2: Request the user for authorization.
  3. Step 3: Exchange authorization code with access tokenpost.
  4. Step 4: Use access token for REST API requests.

Where do I put access token in API request? ›

Once an application has received an access token, it will include that token as a credential when making API requests. To do so, it should transmit the access token to the API as a Bearer credential in an HTTP Authorization header.

What is the limit of Google API request? ›

By default, it is set to 100 requests per 100 seconds per user and can be adjusted to a maximum value of 1,000. But the number of requests to the API is restricted to a maximum of 10 requests per second per user.

What is the difference between Google Sheets API and Google Apps Script? ›

In most cases, Google-Apps-Script works faster for same tasks. Use API for special purposes only, when Apps-Script can't do smth API can. Using Api, you can use the language of your choice-like python, java,C,nodejs,etc.

Is API Connector safe? ›

Are API Connector requests secure? Yes. API Connector does not view or store API credentials or any of the data that gets retrieved.

How to build an API connector? ›

6 Steps to Creating a Custom Connector
  1. Build your API. ...
  2. Secure your API. ...
  3. Describe the API and define the custom connector. ...
  4. Use your connector in a Logic App, Power Automate, or PowerApps app. ...
  5. Share your connector. ...
  6. Certify your connector.
Nov 27, 2019

How do I open a custom connector API? ›

Go to make.powerapps.com or flow.microsoft.com. On the left pane, select Data > Custom connectors. Select New custom connector, and then select Import an OpenAPI file. Enter a name for the custom connector, go to the OpenAPI definition that you downloaded or created, and then select Continue.

What is an example of an API connection? ›

APIs are mechanisms that enable two software components to communicate with each other using a set of definitions and protocols. For example, the weather bureau's software system contains daily weather data. The weather app on your phone “talks” to this system via APIs and shows you daily weather updates on your phone.

How much does Google API cost per request? ›

Per call pricing
API calls per month per billing accountCost per million API calls
0-2M$0.00
2M-1B$3.00
1B+$1.50

How much does it cost to build an API connection? ›

How Much Does an API Cost to Build? On average, it costs $20,000 to build a relatively simple API. This figure assumes that you're building a secure, documented, fully-featured API with the services of an experienced API developer based in the United States.

Is Google API free for business? ›

The Google My Business API is available to registered users at no charge.

How do I Create a custom connector? ›

Start the custom connector wizard
  1. Sign in to Power Apps or Power Automate.
  2. On the left pane, select Data > Custom connectors.
  3. Select New custom connector > Create from blank.
  4. Enter a name for the custom connector, and then select Continue. Parameter. Value. Custom connector title. SentimentDemo.
Apr 28, 2023

How do I manually Create API? ›

Create an API
  1. Navigate to your API Management service in the Azure portal and select APIs from the menu.
  2. From the left menu, select + Add API.
  3. Select HTTP from the list.
  4. Select Create.
Jun 30, 2022

How do I Create an API connection in Excel? ›

Import the API data as XML
  1. In Microsoft Excel, select the File tab, then go to Options > Customize Ribbon.
  2. In the Customize the Ribbon drop-down menu select Main Tabs.
  3. Select the Developer check box then OK to apply.

What are the different types of API connectors? ›

There are four different types of APIs commonly used in web services: public, partner, private and composite.

What must you do to use a connector in your API design? ›

To have an auto-generated connector, update your API specification to use one of these supported security schemes. If the operations defined in your API specification support multiple security schemes, the one that comes first in the list of supported schemes is selected.

How do you Create a connector section? ›

To create a connector section:
  1. From the main menu bar, select Connector Section Create. ...
  2. Enter a section name. ...
  3. Choose one of the following connection types: ...
  4. Click Continue. ...
  5. In the editor, you can edit the connection type and add, delete, and change behaviors as follows: ...
  6. Click OK to save the data and to exit the editor.

Is Custom connector free? ›

A: No. Unfortunately, we currently only release certified connectors as Premium.

How to create API without coding? ›

How to create an API Endpoint on the no-code platform AppMaster.io. Log into your account for an existing project. Go to Data Model Designer. In Data Model Designer you will see models with data that you want to process using the endpoints API.

Is it easy to create an API? ›

Creating your own APIs can seem daunting if you're new to the practice, but sticking to a design-first approach will keep you on the right track. A simple three-step process—design, verify, code—can increase your chances of building an API that benefits the people who use it.

Can you put an API in Excel? ›

You can use the Excel REST API in Microsoft Graph to extend the value of your Excel data, calculations, reporting, and dashboards.

Can Excel call a REST API? ›

The REST API in Excel Services is new in Microsoft SharePoint Server 2010. By using the REST API, you can access workbook parts or elements directly through a URL. The Excel Services REST API for SharePoint Online will no longer be supported for Microsoft 365 accounts from February 28th, 2022 forward.

How to use JSON API in Excel? ›

How to pull JSON data to Excel
  1. Select JSON as a source app. ...
  2. Specify the JSON URL to import data from. ...
  3. Configure the connection to the JSON API and the query using the optional parameters. ...
  4. Select Excel as a source app, connect your Microsoft account, and select the workbook and worksheet to pull JSON data to.

Top Articles
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 6671

Rating: 4.8 / 5 (58 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.