Import TikTok Data To Google Sheets

Reading Time: 5 minutes

Do you know that you can import TikTok data like search results, video details, user’s details, engagement metrics, and many more to Google Sheets? Yes, you can. With Amigo you can import any sort of TikTok data to Google Sheets in just a matter of seconds. If you are a content creator or advertiser who wants to analyze channel statistics or engagement metrics, then this article is for you.

In this article, we will learn how to create a TikTok Google Sheets integration and import TikTok data to Google Sheets using Amigo, a Google Sheets extension. You can import various kinds of data like search results, video details, account details, and many more using TikTok API.

TikTok data imported into Google Sheets
Snippet of TikTok data imported into Google Sheets

To import TikTok data to Google Sheets, we will follow the steps below:

TikTok data imports to Google Sheets

Here’s the step-by-step guide to import TikTok data to Google Sheets.

Install the Amigo extension

Install the Amigo Google Sheets add-on from the Google Workspace Marketplace to create a TikTok-Google Sheets integration.

Install Amigo to import TikTok data to Google Sheets

Alternatively, you can get it from Google Sheets.

  • Open a new sheet
  • Go to Extensions→Add-ons→Get add-ons
  • Search for Amigo and install it.

Generate the API key

We’ll use a third-party TikTok data API on RadpiAPI to import TikTok data to Google Sheets. It is simpler and easier to use than the official TikTok API.

Sign up or log in to RapidAPI.

RapidAPI page to sign up

Once logged in, search for TikTok API from the RapidAPI Hub. Or just go to the TikTok API documentation in RapidAPI. With this TikTok data API, we can retrieve TikTok’s data.

Tiktok data API documentation page

Choose a subscription plan from the Pricing menu. After subscribing to the TikTok data API, we’ll be able to use the TikTok API and import TikTok data to Google Sheets.

Subscribe to the TikTok API

Click on Endpoints to go back to the TikTok API documentaion and scroll down a bit. You will find your API key under the Header Parameters.

The key for RapidAPI

Choose an endpoint

A list of all TikTok API endpoints is given on the left side of the TikTok API documentation.

Data available for import on the TikTok API documentation

Click on any of the endpoints to import TikTok data to Google Sheets from the TikTok API documentation.

For this tutorial, we will import user data with the User’s Video endpoint. This endpoint allows you to import video engagement metrics. In the required parameter section, type in the username of the TikTok user for whose data you want to extract.

Select an endpoint from the TikTok API documentation

Click the Test Endpoint option to run the query.

Runt the TikTok API query

The success message indicates that the TikTok API endpoint working and that our parameter is valid.

The TikTok API endpoint URL and the headers are found under Code Snippets above the results.

On the right side under Code Snippets, change (Node.js) Axios to Shell-> cURL from the dropdown menu.

Select the cURL from the dropdown menu

Copy the URL excluding the apostrophes and also note the headers. This is the TikTok API endpoint URL to be used to import TikTok data to Google Sheets.

TikTok API endpoint URL and headers

Import TikTok data to Google Sheets

Go back to Google Sheets and launch the Amigo extension to import TikTok data to Google Sheets. Click Extensions→Amigo→Connect.

Launch Amigo to connect TikTok to Google Sheets

Select Custom API from the list of sources.

Selecting the source in Amigo Data

Enter the TikTok API endpoint URL in the API URL field.

Pasting the TikTok API endpoint URL

Expand the Details tab and enter the following as headers (as given in the Code Snippets):

Name: X-RapidAPI-Host, Value: tiktok-api6.p.rapidapi.com

Name: X-RapidAPI-Key, Value: your_key

Replace your_key with your RapidAPI key.

Entering the TikTok API headers

Then click the PREVIEW button to retrieve the TikTok data and preview the data.

Flatten the data points and then click IMPORT.

Preview of TikTok data to import to Google Sheets

In a little short while, the TikTok data will be imported into Google Sheets.

A snippet of the imported data showing engagement metrics like the number of comments, number of likes, number of reposts, etc.

Snippet of imported data

You can likewise import other types of data using TikTok API. To explore more endpoints go through the documentation.

After importing the data, you can set a refresh schedule so that the data are updated automatically at regular intervals. By this, you can automate importing TikTok data to Google Sheets. Learn how to set a refresh schedule.

Amigo extension can connect Google Sheets to multiple sources and allows you to import data automatically. It’s a convenient and versatile tool to import and export data to Google Sheets. It can save you a lot of time and effort. To learn more visit our blog.


Some related questions

How can I get my TikTok videos back in India?

How do I use TikTok API?

How do I integrate TikTik with Google Sheets?

Some related articles you may be interested in:

Import YouTube Data To Google Sheets

Import LinkedIn Profile Data To Google Sheets

Import Instagram Data To Google Sheets

Leave a Reply

Discover more from Amigo: No-code Data Integrations to Google Sheets

Subscribe now to keep reading and get access to the full archive.

Continue reading