# TikTok Scraper ✅ NO COOKIES (`atomus/tiktok-scraper`) Actor

Scrape TikTok profiles, hashtags, search results and video URLs in one run. Add any mix of inputs, filter by date and likes, and add comments, followers and author details. No cookies, no login, no browser. Pay per result; failed lookups are free.

- **URL**: https://apify.com/atomus/tiktok-scraper.md
- **Developed by:** [Atomus APIs](https://apify.com/atomus) (community)
- **Categories:** Social media, Lead generation, Automation
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.60 / 1,000 result (video or profile)s

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## TikTok Scraper

Scrape **TikTok profiles, hashtags, search results, and video URLs in one run.** No cookies, no login, no browser. Mix any inputs, add filters, and layer on optional add-ons (comments, followers).

**Full author/creator details are included FREE on every video** — followers, following, bio signature, verified status, total hearts, video count, and linked Instagram/YouTube, all read from the data already embedded in each video (no extra request, no extra charge).

### Inputs (add any combination)

| Input | What you get |
|-------|--------------|
| `profiles` | Profile (followers, likes, verified, bio, links) plus its videos |
| `hashtags` | Videos posted under each hashtag |
| `searchQueries` | Videos and/or profiles matching the keyword |
| `postUrls` | Full metadata for specific videos |

All four are optional. Provide whichever you need and the scraper collects them all in a single run.

### Filters (free, applied to every video)

- **Date range** — `onlyPostsNewerThan` / `onlyPostsOlderThan` (YYYY-MM-DD)
- **Popularity** — `minLikes` / `maxLikes`
- **Pinned** — `excludePinnedPosts`
- **Profile sorting** — `profileSorting`: latest, popular, or oldest

### Add-ons ($)

- **`commentsPerPost`** (+ `maxRepliesPerComment`) — scrape comments on every video returned. Billed per comment.
- **`maxFollowersPerProfile`** / **`maxFollowingPerProfile`** — scrape a profile's connections. Billed per follower.
- **`shouldDownloadVideos`** — adds a no-watermark `temporaryDownloadUrl` to each video. ⚠️ It is a TikTok CDN link that **expires within a few hours** (then returns 403) — download the file immediately, don't store the URL.

Author/creator details are **not** an add-on — they ride free on every video's `author` object (see below).

### What a video record looks like

```json
{
  "id": "7664432017722952980",
  "desc": "caption text",
  "url": "https://www.tiktok.com/@user/video/7664432017722952980",
  "createdAt": "2026-...",
  "region": "US",
  "width": 576, "height": 1024, "ratio": "540p", "definition": "540p", "bitrate": 1263149,
  "isAd": false, "isPhoto": false, "isPaidContent": false, "descLanguage": "en",
  "duetControl": 0, "stitchControl": 0,
  "stats": { "plays": 120000, "likes": 5400, "comments": 210, "shares": 88, "saves": 45, "reposts": 12 },
  "author": {
    "id": "6614...", "secUid": "...", "uniqueId": "user", "nickname": "User",
    "verified": true, "verifyReason": "Verified account",
    "signature": "creator bio text",
    "verificationType": 1, "region": null,
    "stats": { "followers": 135167363, "following": 354, "hearts": 1397082764, "videos": 457, "favoriting": 1501 },
    "links": { "instagram": "user_ig", "youtube": "UCxxxx" }
  },
  "music": { "id": "...", "title": "original sound", "author": "User", "isOriginal": true, "duration": 73 },
  "hashtags": ["fyp", "viral"],
  "mentions": ["MS4wLjAB..."]
}
```

The nested `author` object carries the creator's full details for **free** (`stats.followers` / `following` / `hearts` / `videos` / `favoriting`, `signature`, `verified`, `verificationType`, and `links.instagram` / `links.youtube`), read straight from the embedded video data. Videos returned from a single video-URL lookup (post-detail) expose the same author stats but not `verificationType` or the linked-social handles (those come back `null` on that path).

`duetControl` / `stitchControl` are the raw TikTok interaction-permission ints (0 = allowed), not booleans — a `!== 0` coercion would mislabel duet-enabled videos. Profile records add `bioLink`, `bioLanguage`, `accountType`, `verificationType`, `commerce`, `liveRoomId`, `stats.likesGiven`, and `links.twitter` / `links.youtubeTitle`.

### Input example

```json
{
  "profiles": ["mrbeast"],
  "hashtags": ["fyp"],
  "searchQueries": ["iphone review"],
  "resultsPerPage": 50,
  "minLikes": 1000,
  "onlyPostsNewerThan": "2026-01-01",
  "commentsPerPost": 20
}
```

### Pricing

Pay **per result** (each video or profile):

- **Free plan:** $3.00 per 1,000 results
- **Gold and higher Apify plans:** $1.60 per 1,000 results

Paid add-ons (each marked `($)` in the input): comments (Gold $0.50/1,000) and followers/following (Gold $1.50/1,000). Full author/creator details, filters (date, likes, sorting, region), and the temporary download URL are **free** (the download URL is a short-lived TikTok CDN link — see the warning above). **Failed lookups are free.**

### Run via API

```bash
curl -X POST "https://api.apify.com/v2/acts/YOUR~tiktok-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "hashtags": ["fyp"], "resultsPerPage": 100, "commentsPerPost": 10 }'
```

# Actor input Schema

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

TikTok usernames, @handles, or profile URLs. Returns the profile and (below) its videos.

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

Hashtag names without the #, e.g. "fyp", or /tag/ URLs. Returns videos posted under each hashtag.

## `searchQueries` (type: `array`):

Keywords to search. Returns matching videos and (optionally) profiles.

## `postUrls` (type: `array`):

TikTok video URLs, short share links (vm.tiktok.com/...), or bare numeric IDs. Returns full video detail.

## `resultsPerPage` (type: `integer`):

How many videos to return for each profile, hashtag, or search query.

## `profileSorting` (type: `string`):

Order a profile's videos: newest first, most-liked first, or oldest first.

## `includeReposts` (type: `boolean`):

Also include videos the profile reposted, not just its own posts.

## `excludePinnedPosts` (type: `boolean`):

Drop pinned videos from profile results.

## `maxFollowersPerProfile` (type: `integer`):

Also scrape this many followers of each profile. Billed as follower per follower returned.

## `maxFollowingPerProfile` (type: `integer`):

Also scrape this many accounts each profile follows. Billed as follower per account returned.

## `searchSection` (type: `string`):

What a search query returns: videos, profiles, or both.

## `maxProfilesPerQuery` (type: `integer`):

How many profiles to return per search query (when the search section includes profiles).

## `onlyPostsNewerThan` (type: `string`):

Keep only videos published on or after this date (YYYY-MM-DD).

## `onlyPostsOlderThan` (type: `string`):

Keep only videos published on or before this date (YYYY-MM-DD).

## `minLikes` (type: `integer`):

Keep only videos with at least this many likes.

## `maxLikes` (type: `integer`):

Keep only videos with at most this many likes.

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

Also scrape this many comments from every video returned. Billed as comment per comment.

## `maxRepliesPerComment` (type: `integer`):

When scraping comments, also fetch this many replies per comment. Billed as comment per reply.

## `shouldDownloadVideos` (type: `boolean`):

Adds a no-watermark `temporaryDownloadUrl` to each video. ⚠️ IMPORTANT: it is a TikTok CDN link signed with a short expiry — it stops working (403) after a few HOURS. Download the actual file right away; do NOT store the URL for later. Free: reads a link already in the response, no extra request.

## `region` (type: `string`):

Optional 2-letter region hint (e.g. US, GB, BR) passed to TikTok for region-aware results.

## Actor input object example

```json
{
  "profiles": [
    "mrbeast"
  ],
  "resultsPerPage": 50,
  "profileSorting": "latest",
  "includeReposts": false,
  "excludePinnedPosts": false,
  "maxFollowersPerProfile": 0,
  "maxFollowingPerProfile": 0,
  "searchSection": "all",
  "maxProfilesPerQuery": 10,
  "commentsPerPost": 0,
  "maxRepliesPerComment": 0,
  "shouldDownloadVideos": false
}
```

# Actor output Schema

## `results` (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 = {
    "profiles": [
        "mrbeast"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("atomus/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": ["mrbeast"] }

# Run the Actor and wait for it to finish
run = client.actor("atomus/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": [
    "mrbeast"
  ]
}' |
apify call atomus/tiktok-scraper --silent --output-dataset

```

## MCP server setup

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