logo

TikTok Video Scraper | Scrape TikTok User Video URL & Data

RealdataAPI / TikTok-Video-Data-scraper

The TikTok Video Data Scraper allows you to scrape up to 20 TikTok videos and 5 comments per run, along with user profiles, hashtags, likes, shares, and more. You can also extract channel data, nicknames, and follower details for deep social media insights. The TikTok Video Scraper API provides access to structured data collection in multiple regions, including the USA, UK, UAE, Canada, Australia, Germany, France, Singapore, and India.

For marketers, researchers, and content creators, this tool helps track viral trends, engagement patterns, and audience behavior to make informed data-driven decisions on TikTok’s ever-evolving platform.

What Can TikTok Video Data Scraper Do?

The TikTok Video Data Scraper is a powerful tool designed to extract video insights from the platform in structured formats like JSON, HTML, Excel, CSV, and XML. These formats allow for easy integration into reports, applications, and analytics tools.

With this tool, you can scrape:

  • Total likes, comments, shares, and follower count
  • User profiles & specific video posts via URL
  • Trending TikTok hashtags & engagement metrics

Note: The scraper provides up to 20 results and 5 comments per run for data analysis.

Need More TikTok Video Data?

For larger datasets, you can scrape TikTok user profiles, hashtags, followers, and posts without limitations using the TikTok Data Scraper API, enabling high-volume extraction for business and marketing needs.

Why Use the TikTok Video Data Scraper?

With over 1 billion active users spending an average of 80 minutes per day on TikTok, the platform holds valuable audience insights. Our TikTok Video Scraper API simplifies data extraction, making it easier to track content performance and optimize social media strategies.

How Much Does TikTok Video Scraping Cost?

Using the TikTok Video Scraper, you can extract 1,000 results for just 0.2 compute units—meaning you can scrape TikTok video data for less than $1. Before running large-scale scraping, you can test the tool with a trial run to estimate credit usage and optimize API requests accordingly.

How to Scrape TikTok Video Data?

If you're new to TikTok scraping, we’ve created a step-by-step guide to help you get started. Follow the tutorial and collect TikTok data effortlessly.

How to Use Scraped TikTok Video Data?
  • Analyze social media trends & engagement patterns
  • Monitor competitor content strategies
  • Boost brand awareness with viral marketing insights
  • Predict upcoming influencers & viral challenges
  • Enhance marketing campaigns with real audience data
  • Study customer sentiment using authentic TikTok reviews
Input Parameters for TikTok Data Scraper

If you run this scraper on our platform, our user-friendly interface will help you streamline all the input parameters before starting the execution. The scraper has the following input parameters for TikTok video data collection.

  • profiles: it scrapes user profiles from TikTok. You can extract multiple profiles from TikTok simultaneously by copying this parameter.
  • hashtags: you can simultaneously scrape several hashtags using this parameter.
  • postURLs: you can use this parameter to scrape specific posts from TikTok in a single run.
  • maxRequestRetries: it sets up the maximum result limit with 20 default outputs.
  • proxyConfiguration: it helps to set up proxies for the scraper.
Example
{
"resultsPerPage": 20,

"proxyConfiguration": {
"useApifyProxy": true
},

"hashtags": ["podcast"],

"maxRequestRetries": 10
}
Output from TikTok Scraper

You can observe the following output example if you wish to use the above input parameters to scrape the comfortfood hashtag from TikTok. The scraper will store the output after finishing the run in a dataset. Every dataset item is about the video, channel, or user information.

Example
{
"id": "6885142885939825925",

"text": "Best Mashed Potatoes! #tiktokcooks #hellofall #comfortfood #homecooking #cookingwithshereen #fyp",

"createTime": 1603072290,

"authorMeta": {
"id": "6746332443361739782",

"name": "cookingwithshereen",

"nickName": "COOKING with SHEREEN",

"verified": true,

"signature": "YouTube & Insta ⤴️\n⬇️ My CookBook & Merch! ⬇️",

"avatar": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/750f43c1845b5a556207821b1a0d72c1~c5_720x720.jpeg?x-expires=1639000800&x-signature=gl7OpbhX1L9yhC6e2rm4rajLvZg%3D",

"following": 27,

"fans": 4400000,

"heart": 72300000,
"video": 185,
"digg": 910 },
"musicMeta": { "musicName": "original sound",
"musicAuthor": "COOKING with SHEREEN",
"musicOriginal": true,
"musicAlbum": "",
"playUrl": "https://sf16-ies-music-va.tiktokcdn.com/obj/musically-maliva-obj/6885142857766669062.mp3" },
"webVideoUrl": "https://www.tiktok.com/@cookingwithshereen/video/6885142885939825925",
"videoUrl": "https://v16-web.tiktok.com/video/tos/useast2a/tos-useast2a-ve-0068c001/aaa32cd10cfc49d297adb7900f680551/?a=1988&br=3442&bt=1721&cd=0%7C0%7C1&ch=0&cr=0&cs=0&cv=1&dr=0&ds=3&er=&expire=1638937586&ft=wUyFfFGgkag3-I&l=202112072225270101890660492361F572&lr=tiktok_m&mime_type=video_mp4&net=0&pl=0&policy=3&qs=0&rc=Mzw2d2RobzZpeDMzNjczM0ApPDMzOzRpPDw6NzllNmlmNGdwLm9wZ2FyLzNfLS0vMTZzcy0yYy0xNDE1NDQvX2E2NGE6Yw%3D%3D&signature=30e50cb1af44c4eec84bca1b761180b9&tk=0&vl=&vr=",
"videoMeta": { "height": 1024,
"width": 576,
"duration": 59 },
"diggCount": 3100000,
"shareCount": 91600,
"playCount": 21500000,
"commentCount": 24900,
"downloaded": false,
"mentions": [],
"hashtags": [ {
TikTok Data Scraper With Integrations

Lastly, using Real Data API integrations, you can connect the TikTok data scraper with any web applications or cloud services. Multiple integration options include Zapier, Google Drive, Slack, Make, Google Sheets, and GitHub. You can also use Webhooks to act if an event occurs.

Using TikTok Data Scraper with Real Data API Actor

Our API gives you programmatic access to use the platform. We've organized the API around RESTful HTTP endpoints to allow you to schedule, manage and run scrapers. The actor also allows you to access datasets, retrieve outputs, track performance, create or update scraper versions, and more.

Use our client NPM package to access the actor using Node.js and the client PyPl package to use Python.

Click the API tab to check codes or read our API reference documents.

Can I Scrape TikTok Video Data Legally?

Remember that you may get some personal data in your scraper output. GDPR and other regulations protect personal data worldwide. You should only scrap personal data with a legit reason. You can consult your lawyer before scraping the personal data if you need to be made aware.

Your Feedback

Our TikTok Data Scraper extracts data based on posts, user profiles, or hashtags. In the upcoming days, we're adding more functions to the scraper. Contact us if you want us to add something or improve existing features.

You should have a Real Data API account to execute the program examples. Replace <YOUR_API_TOKEN> in the program using the token of your actor. Read about the live APIs with Real Data API docs for more explanation.

import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with API token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare actor input
const input = {
    "hashtags": [
        "followforfollowback"
    ],
    "resultsPerPage": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

(async () => {
    // Run the actor and wait for it to finish
    const run = await client.actor("clockworks/-tiktok-scraper").call(input);

    // Fetch and print actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();
from apify_client import ApifyClient

# Initialize the ApifyClient with your API token
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the actor input
run_input = {
    "hashtags": ["followforfollowback"],
    "resultsPerPage": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the actor and wait for it to finish
run = client.actor("clockworks/-tiktok-scraper").call(run_input=run_input)

# Fetch and print actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare actor input
cat > input.json <<'EOF'
{
  "hashtags": [
    "followforfollowback"
  ],
  "resultsPerPage": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
EOF

# Run the actor
curl "https://api.apify.com/v2/acts/clockworks~-tiktok-scraper/runs?token=$API_TOKEN" \
  -X POST \
  -d @input.json \
  -H 'Content-Type: application/json'

TikTok Hashtags

hashtags Optional Array

Only add hashtags to the input field of the scraper and collect the data about likes, users, followers, etc.

Result Count For Single Search

resultsPerPage Required Integer

Result counts you can scrape from each profile and hashtag. You can collect data for 20 videos in a single run.

User Profiles

profiles Optional Array

Add the username of the profile you want to scrape from TikTok.

Direct URLs of TikTok Videos

postURLs Optional Array

Add the video post URLs you need to scrape. You can upload a text file link of multiple URLs or submit one by one link.

Should Download Videos

shouldDownloadVideos Optional Boolean

It is to download the files of TikTok Videos. Remember that you will need more time and cost to scrape the video data.

Should Download Video Thumbnails

shouldDownloadCovers Optional Boolean

It is to download thumbnails of TikTok videos. Remember that you will need more time and cost to scrape the video data.

Name or Key-Value Store ID to Store Downloaded Videos

videoKvStoreIdOrName Optional String

ID or name of the Key Value Store to store downloaded videos. Remove to store in one default value.

Proxy Server Configuration

proxyConfiguration Required Object

Set up the automated proxy server and select a country of your choice. But you have the option to use a specific or custom proxy.

Max Request Retries

maxRequestRetries Optional Integer

If the source blocks the scraper or there are other errors, this input parameter will set up the maximum retry limit.

Max Concurrency

maxConcurrency Optional Integer

It is about the Maximum instances to allow parallel runs. Here, you need more memory storage for more instances.

{
  "hashtags": [
    "followforfollowback"
  ],
  "resultsPerPage": 20,
  "shouldDownloadVideos": false,
  "shouldDownloadCovers": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxRequestRetries": 10,
  "maxConcurrency": 1
}
INQUIRE NOW