logo

Tiktok Scraper - Scrape TikTok Data

RealdataAPI / tiktok-data-scraper

Use TikTok Data Scraper to scrape data of user profiles, followers, profile name, likes posts, comments, tokens, hashtag URLs and many more fields. TikTok Data Scraper, with the TikTok Scraper API you can Screen Scrap TikTok Data in Australia, Canada, Germany, France, Singapore, USA, UK, UAE, and India etc. This mighty app provides you with a complete look to engagement and content success so it can be really helpful if you are trying to discover some trends as a TikTok marketer, researcher or even business.

What Does Our TikTok Scraper Do?

Our TikTok Scraper is a powerful tool that helps you scrape TikTok data effortlessly. Whether you need to analyze hashtags, user profiles, video insights, or engagement metrics, our tool extracts detailed TikTok data for business intelligence and research.

  • All the output from selected hashtags with details: timestamp, comments, share, video count, videos, views, etc
  • Each post from the selected TikTok user profile with details: nickname, bio, share, comment count, play, nickname, followers count, ID, etc.
  • Music and video-related information
  • Individual video posts using a specific link to the video.

Key Features

  • Extract user profile data: username, bio, followers, and engagement stats.
  • Scrape video details: likes, shares, comments, views, and music info.
  • Collect data from hashtags for market trend analysis.
  • Extract individual video posts using specific video URLs.

Do You Need Limited TikTok Results?

If you require only a small dataset, our free TikTok Scraper provides quick access to up to 20 results and 5 comments per request. Just enter usernames, video URLs, or hashtags, and start scraping instantly.

What Is the Cost of Using a TikTok Scraper?

Each scrape consumes 0.2 compute units per 1,000 results, making it a cost-effective solution. You can check your remaining credits in the Usage & Billing section of your account.

How to Scrape TikTok Data?

No coding knowledge is required! Follow our step-by-step guide or watch our video tutorial to learn how to scrape TikTok data efficiently.

How Can Scraped TikTok Data Be Used?

  • Influencer Analysis: Identify top influencers and track their engagement.
  • Market Research: Analyze trending hashtags, challenges, and audience behavior.
  • Social Listening: Monitor brand sentiment, customer feedback, and viral content.
  • Advertising Insights: Optimize campaigns based on user interactions and engagement.
  • Content Strategy: Study viral trends to create compelling TikTok content.
  • Competitor Analysis: Track competitor performance and marketing strategies.
  • Product Research: Gather genuine product reviews and customer opinions.
  • Brand Awareness: Enhance visibility by identifying popular trends and discussions.
  • Consumer Insights: Understand audience preferences, demographics, and behaviors.
  • Fake News Detection: Identify misinformation and monitor content authenticity.

To get more ideas on web scraping data uses, you can explore our industry pages. For example, you can track the market and make data-driven studies for eCommerce and retail businesses.

Input Parameters

If you run this scraper in the Real Data API platform, our user-friendly interface will help you to configure each parameter. Here are the input parameters of the scraper.

  • profiles: Scrape TikTok profile data. You can extract any number of profiles in a single click.
  • hashtags: It scrapes TikTok hashtags. You can extract multiple hashtags in a single run of the scraper.
  • postURLs: you can extract particular posts from the TikTok platform.
  • resultsPerPage: it sets up the result quantity you want to scrape on the scale of thousands.
  • maxRequestRetries: it signals the scraper limit retries if there is any error.
  • proxyConfiguration: streamlines proxy server configuration.

Example

{
 "resultsPerPage": 200,
 "proxyConfiguration": {
 "useRealdataAPIProxy": true
 },
 "profiles": [
 "gordonramsayofficial"
 ],
 "maxRequestRetries": 10,
 "maxConcurrency": 1
}

Output

You will get output in dataset format. The dataset length will depend on the result’s quantity you should have. You can export these outputs in multiple formats like CSV, HTML, JSON, Excel, etc.

Example

{
 "id": "7055028634653936901",
 "text": "I’m taking #burgers to the Next Level ! Cant wait to see what you do in the #NextLevelBurgerChallenge and dont miss #NextLevelChef at 9/8c on @foxtv",
 "createTime": 1642626859,
 "authorMeta": {
 "id": "6747935906352907269",
 "name": "gordonramsayofficial",
 "nickName": "Gordon Ramsay",
 "verified": true,
 "signature": "I cook sometimes too...../n/nRecipes here 👇🏻",
 "avatar": "https://p16-sign-va.tiktokcdn.com/musically-maliva-obj/1647754017437702~c5_720x720.jpeg?x-expires=1643727600&x-signature=Pt0c5grq00F9ow79gnLI3KOmL2w%3D",
 "following": 387,
 "fans": 30900000,
 "heart": 461400000,
 "video": 241,
 "digg": 422
 },
 "musicMeta": {
 "musicName": "Do It To It",
 "musicAuthor": "ACRAZE",
 "musicOriginal": false,
 "musicAlbum": "Do It To It",
 "playUrl": "https://sf16-ies-music-va.tiktokcdn.com/obj/tos-useast2a-ve-2774/dfb55719b35c4054a476435a2c9e6dad"
 },
 "webVideoUrl": "https://www.tiktok.com/@gordonramsayofficial/video/7055028634653936901",
 "videoUrl": "https://v16-webapp.tiktok.com/09be39efbc231a61f38b459ad9e0051e/61f85346/video/tos/useast2a/tos-useast2a-pve-0068/986c2e152a1d4b2190b19f519f03cace/?a=1988&br=1424&bt=712&cd=0%7C0%7C1%7C0&ch=0&cr=0&cs=0&cv=1&dr=0&ds=3&er=&ft=XOQ9-3E7nz7ThX~U3lXq&l=2022013115230501018905015811283465&lr=tiktok_m&mime_type=video_mp4&net=0&pl=0&qs=0&rc=M3A5Ojk6Zmw6OjMzNzczM0ApNDtnOTo6ODw1NzVnZGY2M2doYmktcjRvbmhgLS1kMTZzczYtMzEvLWE2Nl4wY182LS06Yw%3D%3D&vl=&vr=",
 "videoMeta": {
 "height": 1024,
 "width": 576,
 "duration": 13
 },
 "diggCount": 159700,
 "shareCount": 295,
 "playCount": 1700000,
 "commentCount": 2189,
 "downloaded": false,
 "mentions": [
 "@foxtv"
 ],
 "hashtags": [
 {
  "id": "45125",
  "name": "burgers",
  "title": "",
  "cover": ""
 },
 {
  "id": "7055017426714378287",
  "name": "nextlevelburgerchallenge",
  "title": "",
  "cover": ""
 },
 {
  "id": "1666459072865281",
  "name": "nextlevelchef",
  "title": "",
  "cover": ""
 }
 ],
 "effectStickers": []
}

Proxy Servers

The TikTok Scraper runs well with the Real Data API proxy servers, which we have set as the default for all the scrapers. But if you face any issue in the execution, you can switch to a residential proxy server to get reliable, efficient, quick outputs.

TikTok Scraper with Real Data API Integrations

You can connect TikTok Data Scraper API with any web application or cloud service using Real Data API integrations. You can embed with Zapier, GitHub, Airbyte, Slack, Google Drive, Google Sheets, Make, etc. You have another option: try Webhooks to carry out any event occurrence action.

How to Use TikTok Scraper with Real Data API?

We give you programmatic permission to use this scraper on the Real Data API platform. The team has organized the RESTful HTTP endpoints to allow you to schedule, manage, and execute Real Data API scrapers. The scraper also allows you to retrieve results, track scraper performance, use datasets, create and update scraper versions, and more.

To use the scraper using Python, try our client PyPl package, and to use the actor using Node.js, try our client NPM package. Visit the API tab to check code examples.

Personal Information

You must know that your outputs may include some personal information. GDPR and other regulations protect private data with rules and regulations worldwide. Hence, you shouldn't extract personal data without prior permission or genuine reason. If you are not sure, you can consult your lawyers.

Your Feedback

This Unlimited TikTok Scraper extracts user profiles, hashtags, or post-related information from the source platform. In the coming days, we will be introducing more options. So if you want to suggest something, don't hesitate to contact us.

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 { RealdataAPIClient } from 'RealdataAPI-Client';

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

// Prepare actor input
const input = {
    "hashtags": [
        "followforfollowback"
    ],
    "resultsPerPage": 10,
    "proxyConfiguration": {
        "useRealdataAPIProxy": 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 RealdataAPI_client import RealdataAPIClient

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

# Prepare the actor input
run_input = {
    "hashtags": ["followforfollowback"],
    "resultsPerPage": 10,
    "proxyConfiguration": { "useRealdataAPIProxy": 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": 10,
  "proxyConfiguration": {
    "useRealdataAPIProxy": true
  }
}
EOF

# Run the actor
curl "https://api.RealdataAPI.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

Feed TikTok hashtags, and the actor will retrieve followers, users, likes, and other TikTok data.

Max Results

resultsPerPage Required Integer

The result counts that Scraper will extract from all the profiles and hashtags.

Profile(s)

profiles Optional Array

Add the TikTok username you want to scrape data for.

Direct URL(s) to Scrape Specific Video(s)

postURLs Optional Array

Add video URLs you want to extract. You can submit links individually or simply upload a link to a Txt file.

Should Download Videos

shouldDownloadVideos Optional Boolean

Whether you should download video files from a targeted platform, note that downloading video files will increase the time and cost of the scraper run.

Should Download Video Thumbnails

shouldDownloadCovers Optional Boolean

Whether you should download video cover photos or thumbnails from a targeted platform, note that downloading video files will increase the time and cost of the scraper run.

Video Download Key-Value Store ID or Name

videoKvStoreIdOrName Optional String

ID or Name of the key-value store where you will save videos with default omit to store in being 1.

Proxy Server Configuration

proxyConfiguration Required Object

You have two options to use proxy servers here. One is an automated proxy server, and the other is a custom or specific proxy.

Max Request Retries

maxRequestRetries Optional Integer

Page retry count in case of errors or blocking issues from the data source.

Max Concurrency

maxConcurrency Optional Integer

Maximum allows instance count to run simultaneously. If you use more instances, you will need more memory.

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