TikTok Scraper avatar

TikTok Scraper

Pricing

from $0.19 / 1,000 videos

Go to Apify Store
TikTok Scraper

TikTok Scraper

TikTok scraper for every input in one run: video, profile, hashtag or search links, tags, usernames or keywords; one row per video with caption, creator, followers, plays, likes, comments, music, date. $0.29 per 1,000 videos on Starter, 10x under the most-used rival, same inputs.

Pricing

from $0.19 / 1,000 videos

Rating

0.0

(0)

Developer

Preternix

Preternix

Maintained by Community

Actor stats

0

Bookmarked

200

Total users

171

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Collect public TikTok videos by link, creator profile, hashtag, keyword or sound. Each video has its own row with available engagement counts, caption, sound and creator details. You can also request subtitle tracks and a first page of public comments.

Quick start

Fetch one public video and request subtitles and up to five comments:

{
"startUrls": [
"https://www.tiktok.com/@nasa/video/7710369465740872974"
],
"includeSubtitles": true,
"maxCommentsPerVideo": 5
}

Input

FieldWhat it does
startUrlsVideo, short share, profile, hashtag, search or sound URLs.
profiles, hashtags, searchQueriesLists of profile names, hashtags or keywords. You can mix them in one run.
resultsPerInputMaximum videos per input. A direct video link asks for one video.
postedAfter, postedBeforeUse postedAfter for profiles and keyword searches. Use postedBefore for profiles only.
sortOrderKeyword search order: relevance, mostRecent, mostViews or mostLikes.
datePostedKeyword search window: allTime, today, thisWeek, thisMonth, 3months or 6months.
profileSortinglatest (default), popular or oldest for profile videos.
includeSubtitlesDefaults to false. Adds available subtitle tracks and any WebVTT already present in the video data. The API also accepts extractSubtitles.
maxCommentsPerVideoDefaults to 0. Set 1 to 20 for up to that many public comments from the first page in TikTok's order.

Output

Selected fields from a real video result:

{
"videoId": "7710369465740872974",
"creator": "nasa",
"url": "https://www.tiktok.com/@nasa/video/7710369465740872974",
"plays": 133600,
"likes": 6887,
"comments": 433,
"postedAt": "2026-11-20T21:31:37Z"
}

The comments number is TikTok's reported count. When you request comment bodies, topComments is a separate list on the video row. It can be null if TikTok does not return the comments; the video can still be saved.

When includeSubtitles is enabled, subtitles is an array. A track can include language, source, downloadLink and webVtt. The array can be empty. WebVTT text is included only when TikTok supplies it inline. Subtitle URLs can expire.

Check sourceType and sourceInput to see which input found the video. The row can also include caption, hashtags, shares, saves, reposts and soundUrl.

Pricing

Billed per video saved to the dataset. The rates below are per 1,000 billed items.

FreeStarterScaleBusiness
$0.28$0.25$0.22$0.19

Requested subtitles and comments are part of the video row.

Run from code

Install the Apify client and set the APIFY_TOKEN environment variable.

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run_input = {
"startUrls": [
"https://www.tiktok.com/@nasa/video/7710369465740872974"
],
"includeSubtitles": True,
"maxCommentsPerVideo": 5
}
run = client.actor("deepmine/tiktok-scraper").call(run_input=run_input)
if run and run["status"] == "SUCCEEDED":
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

JavaScript / Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const input = {
"startUrls": [
"https://www.tiktok.com/@nasa/video/7710369465740872974"
],
"includeSubtitles": true,
"maxCommentsPerVideo": 5
};
const run = await client.actor('deepmine/tiktok-scraper').call(input);
if (run?.status === 'SUCCEEDED') {
const dataset = client.dataset(run.defaultDatasetId);
const limit = 1000;
for (let offset = 0; ; offset += limit) {
const { items } = await dataset.listItems({ limit, offset });
for (const item of items) console.log(item);
if (items.length < limit) break;
}
}

Integrations: MCP and n8n

MCP: In a client that supports remote servers, add the URL below and sign in to Apify. Use the Actor tool with the JSON from Quick start. See the Apify MCP setup guide.

https://mcp.apify.com?tools=deepmine/tiktok-scraper

n8n: Use an HTTP Request node with an Apify bearer credential. Send the Quick start JSON as the request body. Wait for the run to reach SUCCEEDED, then use its data.defaultDatasetId to fetch the results. Keep the token in your n8n credential. For larger datasets, paginate with limit and offset.

POST https://api.apify.com/v2/acts/deepmine~tiktok-scraper/runs
GET https://api.apify.com/v2/actor-runs/{runId}
GET https://api.apify.com/v2/datasets/{defaultDatasetId}/items

Frequently asked questions

Can I scrape a list of individual videos?

Yes. Put the public video links in startUrls. The Actor accepts regular TikTok video links and short share links.

Does the scraper generate captions if TikTok has none?

No. includeSubtitles collects the subtitle tracks TikTok already provides. It does not transcribe audio or generate translations.

Can I fetch every comment with this Actor?

maxCommentsPerVideo requests up to 20 comments. TikTok may return fewer or no comments even when the video has a visible comment count.

What should I use to join video data across runs?

Use videoId as the video identifier and url to open the source. Export the dataset as JSON when you want to keep nested arrays such as subtitles and topComments.

See the full input reference or the Actor API.