# $4/1K | TikTok Scraper - Profiles, Videos & Hashtags (`scrapercompany/tiktok-scraper`) Actor

Scrape TikTok profiles (exact followers, likes, video counts), video details (plays, likes, comments, shares, music, hashtags), search, hashtags, sounds, places, comments and followers. No login or cookies; batch accounts, videos, searches or hashtags. Made by ScraperCompany.

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

## Pricing

from $5.00 / 1,000 tiktok profiles

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

## TikTok Scraper - Profiles, Videos, Hashtags, Followers

**TikTok Scraper** by ScraperCompany collects public tiktok.com data in eight modes, without a login or cookies. **Profiles** returns an account's **name, bio, verified flag, avatar and exact follower, following, like and video counts**.

### ⭐ Like this Actor? Leave a review

If TikTok Scraper saved you time, please [leave a review on the Store](https://apify.com/scrapercompany/tiktok-scraper/reviews). It takes a minute, helps other people find a scraper that works, and tells us what to build next.

> 🟢 **Nothing to set up:** no code, no login and no keys. Click **Try for free**, start a run, and export JSON, CSV or Excel, or pull the results through the Apify API. You pay only for results; failed and empty requests are free.

### 📦 What you get

| Mode | What you get | Price | Per 1,000 |
| --- | --- | --- | --- |
| `profile` | An account's name, bio, verified flag, avatar and exact follower, following, like and video counts | $0.005 | $5.00 |
| `video` | A video's caption, hashtags, exact plays, likes, comments and shares, date, length, music, author and video link | $0.004 | $4.00 |
| `search` | Videos (and sometimes accounts) for a search, as TikTok's search page shows them | $0.012 | $12.00 |
| `hashtag` | A hashtag's title, description, video and view counts, with its recent videos | $0.012 | $12.00 |
| `comments` | A video's first 20 comments with author, likes, reply count, pinned and creator flags | $0.012 | $12.00 |
| `music` | A sound's title, author, length and video count, with the videos that use it | $0.012 | $12.00 |
| `location` | The videos filed under one place tag | $0.012 | $12.00 |
| `users` | One page of an account's followers or following, each with handle, name and follower count | $0.012 | $12.00 |

- 💵 **Price:** from **$4 per 1,000** `video` events ($0.004 each); failed and empty requests are free.
- ⚙️ **Setup:** none. No account on the site, no cookies, no keys.
- 📁 **Export:** JSON, CSV, Excel or HTML from the **Output** tab, or the Apify API.
- 🔁 **Automate:** schedules, webhooks, Make, Zapier, n8n and AI agents (MCP).

### ✨ What can this TikTok scraper do?

**Video details** returns a video's **caption, hashtags, exact plays, likes, comments and shares, date, length, music, author and video link**. **Search** returns the videos TikTok shows for a keyword, **Hashtags** a hashtag's video and view counts with its recent videos, **Comments** a video's first 20 comments with likes and reply counts, **Sounds** and **Places** the videos that use a sound or are filed under a place, and **Followers / following** one page of an account's followers or following. Each request is charged once; failed requests and empty answers are free.

- **Profiles**: exact follower, following, like and video counts (not rounded to "9.4M"), bio, avatar, verified and private flags.
- **Video details**: caption, hashtags, exact plays, likes, comments and shares, publish time, length, size, location, music, cover and video link.
- **Search**: about 15-20 videos per keyword, with the same video fields and each author's counts; accounts when TikTok shows them.
- **Hashtags**: title, description, exact video and view counts, and up to 30 recent videos.
- **Comments**: the first 20 comments of a video with author, likes, reply count, pinned and creator flags, plus the video's total comment count.
- **Sounds**: a sound's title, author, length and video count with the videos that use it; **Places**: the videos under a place tag.
- **Followers / following**: one page of an account's followers or the accounts it follows, each with handle, name and follower count.
- Accepts handles, profile links, video links (including vm.tiktok.com short links) and ids. Batch many in one run.

### 🚀 Quick start: how to scrape TikTok profiles, videos and comments

1. Click **Try for free** (or open the Actor in Apify Console) and go to the **Input** tab.
2. Pick a **Mode**. For Profiles enter accounts such as `@nasa`; for Video details or Comments paste video links or ids; for Search enter keywords; for Hashtags enter hashtags such as `cooking`; for Sounds paste sound links or ids; for Places enter place tags such as `newyork`; for Followers / following enter accounts and pick the list. Each line is one request.
3. Adjust the options if needed.
4. Click **Start** and wait for the run to finish.
5. Download the results from the **Output** tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

💡 **Tip:** run it once with the pre-filled input to see the output, then change the input to your own.

### ⚖️ What makes it different?

| | **TikTok Scraper** | Many alternatives |
| --- | --- | --- |
| Setup | Nothing to configure: no login, no keys | Often your own accounts, cookies or network setup |
| You pay for | Successful results; failed and empty requests are free | Often run time, or every attempt |
| When a request fails | Retried automatically, and never charged | Often an empty or failed run |

### 👥 Who uses TikTok data?

- **Influencer and creator marketing**: Check creators' exact followers, likes and video counts before you reach out, and track them over time.
- **Brands and agencies**: See which videos show up for your keywords and hashtags, and how many plays, likes and shares they get.
- **Researchers and analysts**: Collect captions, hashtags, music and comments from public videos for trend and sentiment work.

### 🧭 Common jobs

#### Vet creators

Run **Profiles** on a list of handles for exact followers, likes and video counts.

#### Find what ranks

Run **Search** or **Hashtags**, then **Video details** on the videos you care about to track their plays over time.

#### Read the audience

Run **Comments** on a video to see what viewers say and which comments get the most likes.

### 📋 What TikTok data can you extract?

| Field | Description |
| --- | --- |
| `profile.unique_id / nickname / signature` | Handle, display name and bio (Profiles) |
| `profile.followers / following / hearts / videos_count` | Exact counts (Profiles) |
| `profile.verified / private / avatar` | Account flags and picture |
| `video.id / description / hashtags / created_at` | Video caption, hashtags and publish time (Video details) |
| `video.plays / likes / comments / shares` | Exact video counts |
| `video.duration / width / height / location / is_ad` | Length, size, region and ad flag |
| `video.music / cover / video_url / image_urls` | Sound, cover image, video file link and photo-post images |
| `video.author.unique_id / followers / hearts` | The author and their counts |
| `videos[]` | Videos with the same fields (Search, Hashtags) |
| `hashtag.title / video_count / view_count` | Hashtag header (Hashtags) |
| `comments[].text / author / likes / replies / pinned / is_author` | Comments |
| `music.title / author / duration / video_count` | Sound details (Sounds) |
| `users[].unique_id / nickname / followers` | Followers or following (Followers / following) |
| `total` | Results in this answer; for Comments, the video's total comment count |

Every dataset item also carries `input` (the options used for that request), `request_id` (quote it to support), `billed` and `scraped_at`.

### ⌨️ Input

| Input | Name | What it does |
| --- | --- | --- |
| `mode` | Mode | Read accounts' profiles, details of known videos, a keyword search, hashtag pages, a video's comments, the videos using a sound or filed under a place, or an account's followers. |
| `profiles` | Accounts (Profiles, Followers / following) | ..com/@nasa`. |
| `videos` | Videos (Video details, Comments) | ....com/t/…`) or its numeric id. |
| `queries` | Search queries (Search) | One search per line, as typed in TikTok's search box. Each line returns one page of results. |
| `hashtags` | Hashtags (Hashtags) | One hashtag per line, with or without `#`, such as `fyp` or `#cooking`. |
| `sounds` | Sounds (Sounds) | .com/music/…`) or its numeric id. |
| `places`| Place tags (Places) | One place tag per line, such as`newyork`. |
| `userListKind\` | List (Followers / following) | Read each account's followers or the accounts it follows. Each account returns one page. |

### 📥 Input example

This is the default input; running the Actor without changes uses it.

```json
{
  "mode": "profile",
  "profiles": [
    "@nasa"
  ],
  "videos": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173"
  ],
  "queries": [
    "sourdough bread"
  ],
  "hashtags": [
    "cooking"
  ],
  "sounds": [
    "https://www.tiktok.com/music/Sprinter-Central-Cee-Verse-7257874958540802050"
  ],
  "places": [
    "newyork"
  ],
  "userListKind": "followers",
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

### 📤 Output example

One dataset item per request (trimmed here; real items contain all the fields):

```json
{
  "mode": "profile",
  "input": {
    "handle": "@tiktok"
  },
  "profile": {
    "avatar": "https://p16-common-sign.tiktokcdn.com/…/a.jpg",
    "followers": 92000000,
    "following": 4,
    "hearts": 1200000000,
    "nickname": "TikTok",
    "private": false,
    "signature": "Make Your Day",
    "unique_id": "tiktok",
    "verified": true,
    "videos": [],
    "videos_count": 1200
  },
  "search_parameters": {
    "handle": "@tiktok"
  },
  "request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d",
  "billed": true,
  "scraped_at": "2026-10-01T14:03:27.512Z"
}
```

A request that fails is saved with an `error` message instead (turn off **Include failed requests** to skip those). Failed requests are never charged.

### 💰 How much does it cost to scrape TikTok profiles, videos and comments?

This Actor uses **pay-per-event** pricing: you pay for successful requests, not for compute time.

| Event | Charged when | Price | Per 1,000 |
| --- | --- | --- | --- |
| `profile` | One account's profile: name, bio, verified flag, avatar, exact follower, following, like and video counts. Unknown accounts are free. | $0.005 | $5.00 |
| `video` | One video's details: caption, hashtags, exact plays, likes, comments and shares, date, length, music, author and video link. Deleted videos are free. | $0.004 | $4.00 |
| `search-page` | One page of TikTok search results (about 15-20 videos, sometimes accounts). Searches with no results are free. | $0.012 | $12.00 |
| `hashtag-page` | One hashtag's header (title, description, exact video and view counts) with up to 30 recent videos. A hashtag whose videos TikTok hides is free. | $0.012 | $12.00 |
| `comments-page` | The first 20 comments of one video, with likes, reply counts and the video's total comment count. Videos with no comments are free. | $0.012 | $12.00 |
| `music-page` | One sound's details (title, author, length, video count) with the videos that use it. A sound with no videos shown is free. | $0.012 | $12.00 |
| `location-page` | The videos filed under one place tag. A place with no videos shown is free. | $0.012 | $12.00 |
| `users-page` | One page of an account's followers or following, each with handle, name and follower count. An empty list is free. | $0.012 | $12.00 |

The **$4/1K** in the title is the price of 1,000 `video` events, the cheapest mode; the table above prices every mode.

🏷️ Paid Apify plans pay less: `hashtag-page` up to 15% off, `search-page` up to 15% off (Bronze 5%, more on higher plans). The Pricing tab shows the price on your plan.

#### Cost examples

| Job | Cost |
| --- | --- |
| 100 profiles | **$0.50** |
| 20 searches and 20 hashtags | **$0.48** |
| Details and comments for 50 videos | **$0.80** |

Apify's $5 of free monthly usage covers about **1,000** `profile` events.

- ✅ Failed requests (errors, invalid input, a site refusing after retries) are **free**.
- ✅ Requests where the source returns nothing at all (no results, nothing priced) are saved but **not charged**.
- ✅ Set **Maximum cost per run** when you start a run and the Actor stops cleanly before going over it.

### 🔌 Integrations

#### ⏰ Schedules and webhooks

Use Apify **Schedules** to repeat a run hourly, daily or weekly and compare results over time, and **webhooks** or the **Integrations** tab to push new results to Make, Zapier, n8n, Google Sheets, Slack or your own warehouse.

#### 🤖 AI agents and MCP

Results are structured JSON, so they are easy to feed to a model. AI agents such as Claude can run this Actor and read its results through the [Apify MCP server](https://mcp.apify.com).

#### 💻 API: JavaScript and Python

Call the Actor from any language through the [Apify API](https://docs.apify.com/api/v2). With the JavaScript client (`npm install apify-client`):

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapercompany/tiktok-scraper').call({
    "mode": "profile",
    "profiles": [
        "@nasa"
    ]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

With Python (`pip install apify-client`):

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("scrapercompany/tiktok-scraper").call(run_input={
    "mode": "profile",
    "profiles": ["@nasa"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### ❓ FAQ

#### Do I need an account on the site, or an API key?

No. The Actor is ready to run as is, and you only pay the per-event prices above.

#### Do I need a TikTok account or cookies?

No. The Actor reads public TikTok pages logged out. Private accounts return their header (name, avatar, counts) with the private flag set.

#### How many results does one search or hashtag give?

One page: about 15-20 videos per search and up to 30 per hashtag, with the first 20 comments per video. There is no option to fetch further pages yet. Run more keywords or hashtags for more videos.

#### Why did a hashtag return no videos?

TikTok hides the videos of some hashtags (#booktok, #travel) from logged-out visitors and shows only the header. That answer is not charged.

#### Why are search, hashtag, comments, sounds, places and followers slower?

Those requests take longer than profiles and video details. Run several at once with **Parallel requests**.

#### Are the counts exact?

Yes. Follower, like, play and share counts are exact numbers, not the rounded "9.4M" TikTok shows on screen.

#### Is it legal to scrape TikTok profiles, videos and comments?

The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.

#### What happens when a request fails?

Failed attempts are retried automatically. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.

#### Why did a request return an error?

Read the `error` field: it says what was wrong with the input, for example a malformed date or an unknown id. Fix it and run again; failed requests cost nothing.

#### How many requests can I run at once?

Any number per run. The Actor sends up to 3 requests in parallel by default (change it under **Run options**); larger batches simply take longer.

### 🔗 Related scrapers

- [YouTube Scraper](https://apify.com/scrapercompany/youtube-scraper): YouTube videos, transcripts and comments
- [Google Videos Scraper](https://apify.com/scrapercompany/google-videos-scraper): video results from Google Search across sites

### 📝 Tried it? Tell others

Once you have run TikTok Scraper, a [short review on the Store](https://apify.com/scrapercompany/tiktok-scraper/reviews) helps the next person decide.

### 💬 Support

Questions, a field you need, or a site that stopped working? Open an issue on the **Issues** tab. Include the `request_id` from the dataset item so we can trace the request. We read every issue.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapercompany/tiktok-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Read accounts' profiles, details of known videos, a keyword search, hashtag pages, a video's comments, the videos using a sound or filed under a place, or an account's followers.

## `profiles` (type: `array`):

One TikTok account per line: <code>@nasa</code>, <code>nasa</code> or a profile link such as <code>https://www.tiktok.com/@nasa</code>.

## `videos` (type: `array`):

One video per line: its link (<code>tiktok.com/@user/video/…</code>, <code>vm.tiktok.com/…</code>, <code>tiktok.com/t/…</code>) or its numeric id.

## `queries` (type: `array`):

One search per line, as typed in TikTok's search box. Each line returns one page of results.

## `hashtags` (type: `array`):

One hashtag per line, with or without <code>#</code>, such as <code>fyp</code> or <code>#cooking</code>.

## `sounds` (type: `array`):

One sound per line: its link (<code>tiktok.com/music/…</code>) or its numeric id.

## `places` (type: `array`):

One place tag per line, such as <code>newyork</code>.

## `userListKind` (type: `string`):

Read each account's followers or the accounts it follows. Each account returns one page.

## `customRequests` (type: `array`):

Optional list of JSON objects, one request each, using the field names shown above. Each object is merged over the options above, so you only need to give what differs. Add <code>"mode"</code> to an object to mix modes, for example <code>{"mode": "profile", "handle": "@nasa"}</code>. Example: <code>{"mode":"search","q":"running shoes"}</code>

## `includeErrors` (type: `boolean`):

When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time (1-8). Parallel runs share one limit, so extra requests wait for a free slot instead of failing.

## `maxRetries` (type: `integer`):

How many times a request that failed for a temporary reason is tried again right away. A request still failing then gets one more try at the end of the run, after a 30-second pause. Invalid input is never retried.

## Actor input object example

```json
{
  "mode": "profile",
  "profiles": [
    "@nasa"
  ],
  "videos": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173"
  ],
  "queries": [
    "sourdough bread"
  ],
  "hashtags": [
    "cooking"
  ],
  "sounds": [
    "https://www.tiktok.com/music/Sprinter-Central-Cee-Verse-7257874958540802050"
  ],
  "places": [
    "newyork"
  ],
  "userListKind": "followers",
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

# Actor output Schema

## `results` (type: `string`):

One dataset item per request.

## `summary` (type: `string`):

Counts of succeeded, failed, skipped and charged requests.

# 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 = {
    "profiles": [
        "@nasa"
    ],
    "videos": [
        "https://www.tiktok.com/@scout2015/video/6718335390845095173"
    ],
    "queries": [
        "sourdough bread"
    ],
    "hashtags": [
        "cooking"
    ],
    "sounds": [
        "https://www.tiktok.com/music/Sprinter-Central-Cee-Verse-7257874958540802050"
    ],
    "places": [
        "newyork"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapercompany/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 = {
    "profiles": ["@nasa"],
    "videos": ["https://www.tiktok.com/@scout2015/video/6718335390845095173"],
    "queries": ["sourdough bread"],
    "hashtags": ["cooking"],
    "sounds": ["https://www.tiktok.com/music/Sprinter-Central-Cee-Verse-7257874958540802050"],
    "places": ["newyork"],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapercompany/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 '{
  "profiles": [
    "@nasa"
  ],
  "videos": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173"
  ],
  "queries": [
    "sourdough bread"
  ],
  "hashtags": [
    "cooking"
  ],
  "sounds": [
    "https://www.tiktok.com/music/Sprinter-Central-Cee-Verse-7257874958540802050"
  ],
  "places": [
    "newyork"
  ]
}' |
apify call scrapercompany/tiktok-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapercompany/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/fOhuuFJ0pjr5YewKu/builds/EGqLbe9m7VFPR0a16/openapi.json
