# 🎵 TikTok Scraper | Videos, Profiles, Search & Hashtags (`misterkhan/tiktok-scraper`) Actor

Fast cookieless TikTok Scraper from $0.85/1k results. Extract videos, creator profiles, metrics, hashtags, keywords, comments, transcripts & no-watermark MP4 links.

- **URL**: https://apify.com/misterkhan/tiktok-scraper.md
- **Developed by:** [Khan](https://apify.com/misterkhan) (community)
- **Categories:** Social media, AI, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.85 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does TikTok Scraper do?

TikTok Scraper is a fast, 100% cookieless TikTok intelligence and data extraction tool that pulls **public TikTok videos, creator profiles, engagement metrics, hashtags, keyword search results, comments, subtitles/transcripts, and direct no-watermark MP4 stream links**—plus optional influencer bio-link contact enrichment.

Whether you are tracking viral video trends, calculating true creator engagement rates, analyzing comment sentiment, or monitoring brand hashtags at scale, this scraper runs with **zero login credentials, zero session cookies, and zero burner accounts**.

> 🛡️ **Zero Proxy Configuration Required:** Residential anti-bot routing and automated session handling are **built-in out of the box** — simply paste your target profiles, hashtags, or search terms and click **Start**.

***

### 💡 Why choose this TikTok Scraper over older alternatives?

- **🎉 All Filters & Sorting Included 100% FREE:** Unlike other TikTok scrapers that charge **+$1.00 extra** just to filter by date or sort by view count, all sorting and date filtering options are **included at zero extra cost**.
- **🎙️ Affordable Video Transcripts ($4.90 vs $41.00):** Other actors charge an exorbitant $27.00 – $41.00 per 1,000 video transcripts. We deliver full closed captions and speech text for just **$4.90 / 1K**, saving you over 85%.
- **⚡ Smart Unified Input Bar:** Paste anything into a single field (`targets`): @usernames, profile links, direct video URLs, #hashtags, or raw keyword search phrases. The scraper auto-classifies the target type without complicated multi-box forms.
- **📊 Built-in Virality & Engagement Scores:** Every extracted video record automatically includes computed engagement rate percentages (`engagementRate`) and viral velocity metrics (`viralScore`).
- **🔒 100% Cookieless & Safe:** Never risk losing social accounts. No TikTok login, password, or session cookies are ever required.

***

### What data can you extract with TikTok Scraper?

- **🎬 Video Metadata & Metrics** — unique video ID, canonical URL, title/caption, upload timestamp (`createTimeISO`), play count, like count (`diggCount`), comment count, share count, and bookmark/collect count.
- **👤 Creator Profiles** — creator ID, unique handle (@username), display nickname, verification status, biography, follower count, following count, total hearts, and video count.
- **🎵 Audio & Music Details** — audio title, artist/author name, duration, audio stream URL, and original sound indicators.
- **📝 Speech Transcripts & Subtitles** — embedded closed captions, timestamped subtitle tracks, and raw text transcripts.
- **💬 Comments & Replies** — comment text, commenter username, comment likes, timestamps, and nested reply threads.
- **📥 Direct Media Downloads** — direct CDN stream links for no-watermark MP4 video files and audio MP3 streams.
- **📧 Influencer Bio-Link Contacts** — verified business emails (`emails`), phone numbers (`phones`), and cross-platform social profiles (`socials`) harvested from creator bio links.

***

### How do I use TikTok Scraper?

TikTok Scraper is designed for fast, code-free operation in Apify Console:

1. Click **Try for free** on the Actor page to open the configuration form in Apify Console.
2. In the **Targets** field, enter the TikTok profiles (@mrbeast), video URLs, hashtags (#ai), or search queries (ecommerce marketing) you want to crawl.
3. Select your desired **Results Type (`resultsType`)**: choose auto to let the scraper detect target types, or lock to videos, profiles, search, `hashtags`, or `comments`.
4. Choose your **Date Filter** and **Sort Order** (both included at no extra charge).
5. Optionally enable **Transcripts**, **Comments**, or **Video CDN Links**.
6. Set **Max Results** (`maxItems`), click **Start**, and export your dataset to JSON, CSV, Excel, or Google Sheets.

***

### Input

TikTok Scraper supports flexible targeting. Click on the [Input tab](https://apify.com/misterkhan/tiktok-scraper/input-schema) for the full interactive form.

```json
{
  "targets": [
    "@mrbeast",
    "#tech",
    "artificial intelligence tools"
  ],
  "resultsType": "auto",
  "sorting": "most_liked",
  "dateFilter": "this_month",
  "includeTranscripts": false,
  "includeComments": false,
  "includeVideoDownloads": false,
  "scrapeContacts": false,
  "maxItems": 40
}
```

- **🎯 `targets`** — array of TikTok handles (@username), profile URLs, video URLs, hashtags (#tag), or search phrases.
- **🔗 `startUrls`** — optional array of direct TikTok URLs to crawl.
- **🧭 `resultsType`** — auto, videos, profiles, search, `hashtags`, or `comments`.
- **📅 `dateFilter`** — filter by all, yesterday, `this_week`, `this_month`, `last_3_months`, or `last_6_months` (*Included FREE*).
- **🔥 `sorting`** — order by relevance, `most_liked`, or latest (*Included FREE*).
- **🎙️ `includeTranscripts`** — optional add-on (default: false); extracts full closed captions and speech text.
- **💬 `includeComments`** — optional add-on (default: false); extracts comments and replies per video.
- **🗨️ `commentsPerPost`** — number of comments to extract per video (default: 20).
- **📥 `includeVideoDownloads`** — optional add-on (default: false); provides direct CDN links to clean MP4 video files.
- **📧 `scrapeContacts`** — optional add-on (default: false); enriches business emails and phone numbers from creator bio links.
- **🔢 `maxItems`** — total records to extract (default: 40; up to 100,000 on paid Apify plans).

***

### Output sample

Results are streamed in real time to your default Apify Dataset (`sourceUrl` and add-on flags `commentsEnriched`, `videoDownloadEnriched`, `transcriptEnriched`, `websiteContactsEnriched` included on every record):

```json
[
{
  "author": {
    "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=ee951281&x-expires=1794679200&x-signature=cM%2B5%2ByJppxwa6lsojFFa7OdS87k%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
    "followersCount": 146200000,
    "followingCount": 346,
    "heartCount": 1600000000,
    "id": "6614519312189947909",
    "nickname": "MrBeast",
    "signature": "Checkout My New Book!👇",
    "username": "mrbeast",
    "verified": true,
    "videoCount": 490
  },
  "authorFollowers": 146200000,
  "authorNickname": "MrBeast",
  "authorUsername": "mrbeast",
  "collectCount": 4700000,
  "commentCount": 2100000,
  "comments": [],
  "commentsEnriched": false,
  "createTime": 1785708879,
  "createTimeISO": "2026-08-02T22:14:39.000Z",
  "diggCount": 44200000,
  "emails": [],
  "engagementRate": 16.82,
  "hashtags": [],
  "id": "7669561168653978910",
  "isSponsored": false,
  "mentions": [],
  "music": {
    "author": "MrBeast",
    "id": "7669561142766783262",
    "isOriginal": true,
    "playUrl": "https://v19.tiktokcdn-us.com/890179d8d80bba30ec22c45564692035/6af6533c/video/tos/useast8/tos-useast8-v-27dcd7-tx2/o8vhANBAAE1AiBnBUqPAEuUmVyBCwfKLBiiadE/?a=1233&bti=ODszNWYuMDE6&&bt=125&ft=GSDrKInz7Thg~z3GXq8Zmo&mime_type=audio_mpeg&rc=MzRoO2w5cm52PDMzaTU8NEBpMzRoO2w5cm52PDMzaTU8NEBhYjZrMmQ0L2thLS1kMTJzYSNhYjZrMmQ0L2thLS1kMTJzcw%3D%3D&vvpl=1&l=20261112180051734121600B9CB111B139&btag=e00070000",
    "title": "original sound"
  },
  "phones": [],
  "playCount": 378200000,
  "recordType": "video",
  "scrapedAt": "2026-11-12T18:00:53.525Z",
  "shareCount": 12600000,
  "socials": [],
  "sourceUrl": "https://www.tiktok.com/@mrbeast",
  "subtitles": [],
  "text": "Btw this dance took me hours to learn",
  "title": "Btw this dance took me hours to learn",
  "transcript": null,
  "transcriptEnriched": false,
  "url": "https://www.tiktok.com/@mrbeast/video/7669561168653978910",
  "video": {
    "coverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/owIEviqqeBFJEiBIIfKkcVDAiywTXb0mClBARV~tplv-tiktokx-origin.image?dr=9636&x-expires=1794679200&x-signature=zsMrC%2BWBuKJ1c9xyMQ%2BhA9JGGOc%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast8",
    "duration": 8,
    "height": 1024,
    "videoUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast8/tos-useast8-ve-0068c004-tx2/oYKfj45fUAqRIoIlBC3WeNGQiQMAS0ARbA8pVc/?a=1988&bti=ODszNWYuMDE6&&bt=2153&ft=aEeq8qT0mIoPD128KPZI3wUUt0AbMeF~O5&mime_type=video_mp4&rc=aDc0aDtpO2k5PGdnPGc4aEBpajw7N245cm12PDMzaTczNEAuL2MzLl4xXzAxYWAxLS80YSNfMXBpMmRjLmthLS1kMTJzcw%3D%3D&expire=1794679260&l=20261112180051734121600B9CB111B139&ply_type=2&policy=2&signature=5a3d46e9e8b3d361d076cf457393658c&tk=tt_chain_token&btag=e000b0000",
    "width": 576
  },
  "videoDownloadEnriched": false,
  "viralScore": 2.59,
  "websiteContactsEnriched": false
}
]
```

***

### How much does it cost to scrape TikTok data?

TikTok Scraper uses transparent **Pay-Per-Event (PPE)** pricing with a **`$0.00` run start fee**. You only pay for items successfully delivered to your dataset:

**🆓 Free Plan** — $0.0018 / result ($1.80 / 1K items) · Comments: +$0.80/1K · Video Link: +$0.80/1K · Transcripts: +$7.00/1K <br>
**🥉 Starter (Bronze)** — $0.0012 / result ($1.20 / 1K items) · Comments: +$0.60/1K · Video Link: +$0.60/1K · Transcripts: +$5.90/1K <br>
**🥈 Scale (Silver)** — $0.00099 / result ($0.99 / 1K items) · Comments: +$0.49/1K · Video Link: +$0.49/1K · Transcripts: +$4.90/1K <br>
**🥇 Business+ (Gold)** — $0.00085 / result ($0.85 / 1K items) · Comments: +$0.39/1K · Video Link: +$0.39/1K · Transcripts: +$3.90/1K <br>

> 💡 **No Hidden Filter Fees:** Date filtering, popularity sorting, and geo-targeting are **100% free and included in the base rate**.

***

### Using TikTok Scraper with the Apify API & AI Agents

You can trigger runs programmatically using the official Apify Client SDKs for Python and Node.js:

**Python Example:**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {
    "targets": ["@mrbeast", "#automation"],
    "resultsType": "videos",
    "sorting": "most_liked",
    "maxItems": 100
}

run = client.actor("misterkhan/tiktok-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"@{item['authorUsername']} — {item['title']} ({item['playCount']} views)")
```

**AI Agent Integration (Apify MCP Server):**
This Actor supports direct integration into AI agents (Claude Code, Cursor, LangChain) via the **Apify MCP Server** (`https://mcp.apify.com`).

***

### Frequently asked questions

**🛡️ Do I need to supply proxies?**\
No. Anti-blocking proxy rotation and session headers are managed automatically.

**🔓 Do I need to log into TikTok or supply cookies?**\
No. This scraper extracts public data 100% accountlessly. You never have to provide TikTok credentials or session tokens.

**⏱️ Why is there no start fee?**\
We believe in fair pricing. You are charged $0.00 to launch an actor run, and you only pay for results successfully saved to your dataset.

***

### Is scraping TikTok legal?

Our scrapers only extract publicly available data displayed on the open web. They do not bypass private profile restrictions, access direct messages, or harvest private user data. For more information, read Apify's legal guide on [is web scraping legal](https://blog.apify.com/is-web-scraping-legal/).

***

### Support & Feedback

If you encounter an issue or have a feature request, please open an Issue on the [Issues tab](https://apify.com/misterkhan/tiktok-scraper/issues) in the Apify Console. We respond within 24 hours on business days.

# Actor input Schema

## `targets` (type: `array`):

Paste anything: TikTok @usernames (e.g. '@mrbeast', 'khaby.lame'), Profile URLs ('https://www.tiktok.com/@mrbeast'), Video URLs ('https://www.tiktok.com/@user/video/...'), Hashtags ('#ai', 'tech'), or Keyword Queries ('e-commerce trends').

## `startUrls` (type: `array`):

Direct TikTok URLs for target profiles, videos, or hashtags.

## `resultsType` (type: `string`):

Output mode: 'auto' (detect from input targets), 'videos' (video feeds with full metrics), 'profiles' (creator profile header + stats), 'search' (keyword search results), 'hashtags' (top challenge videos), or 'comments' (comments and replies).

## `sorting` (type: `string`):

Sorting mode for search results and feeds. Included at zero extra PPE charge (unlike other actors that bill $1.00 extra).

## `dateFilter` (type: `string`):

Filter search and feed results by publication date. Included at zero extra PPE charge.

## `includeTranscripts` (type: `boolean`):

Extract full closed captions, timestamped subtitles, and text transcripts embedded in the video. Billed at our low transcript add-on rate ($4.90/1k vs $41.00/1k on other actors).

## `includeComments` (type: `boolean`):

Extract top-level comments and replies for each video. Billed at our low comment add-on rate ($0.49/1k).

## `commentsPerPost` (type: `integer`):

Maximum number of comments to extract per video when comments extraction is enabled (0 to 100).

## `includeVideoDownloads` (type: `boolean`):

Extract resolved direct CDN stream links (no-watermark MP4 download and audio stream URLs).

## `scrapeContacts` (type: `boolean`):

Crawl the external website domain found in creator profile bios to harvest verified business emails, phone numbers, and social links.

## `maxItems` (type: `integer`):

Maximum number of dataset records to output. Free plan runs are capped at 40; paid Apify plans can extract up to 100,000 items.

## Actor input object example

```json
{
  "targets": [
    "@mrbeast",
    "#tech",
    "artificial intelligence"
  ],
  "resultsType": "auto",
  "sorting": "relevance",
  "dateFilter": "all",
  "includeTranscripts": false,
  "includeComments": false,
  "commentsPerPost": 20,
  "includeVideoDownloads": false,
  "scrapeContacts": false,
  "maxItems": 40
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `dataset_items` (type: `string`):

No description

## `usage_summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

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

// Prepare Actor input
const input = {
    "targets": [
        "@mrbeast",
        "#tech",
        "artificial intelligence"
    ],
    "resultsType": "auto",
    "sorting": "relevance",
    "dateFilter": "all",
    "maxItems": 40
};

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

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

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

# Prepare the Actor input
run_input = {
    "targets": [
        "@mrbeast",
        "#tech",
        "artificial intelligence",
    ],
    "resultsType": "auto",
    "sorting": "relevance",
    "dateFilter": "all",
    "maxItems": 40,
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "targets": [
    "@mrbeast",
    "#tech",
    "artificial intelligence"
  ],
  "resultsType": "auto",
  "sorting": "relevance",
  "dateFilter": "all",
  "maxItems": 40
}' |
apify call misterkhan/tiktok-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,misterkhan/tiktok-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/7na4BTSsZ88EpbJAd/builds/9UdxnbTyHKwDxygWz/openapi.json
