# TikTok Scraper (`neuro-scraper/tiktok-scraper`) Actor

TikTok Scraper SD - TikTok Scraper is a social video data tool that extracts TikTok videos from keywords, hashtags, profiles and video URLs: caption, date, plays, hearts, comments, shares, saves, author, sound, hashtags, mentions, cover, subtitles, logged out, with optional media files.

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

## Pricing

from $1.19 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

The TikTok Scraper collects public TikTok data and returns it as a clean dataset you can download as JSON, CSV or Excel, or read through the Apify API. No login, no cookies and no code: give the TikTok Scraper your input, start it and get structured TikTok data for research, monitoring, analytics or lead generation. You pay only for the results you receive.

> ⭐ **Featured by Neuro Scraper: [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** - scrape Facebook Reels from any page, profile or reel link with exact views and plays, every reaction type (Like, Love, Care, Haha, Wow, Sad, Angry), comments, shares, captions, music and video links. No login and no cookies. [Try the Facebook Reels Scraper →](https://apify.com/neuro-scraper/facebook-reels-scraper)

./README.md

### Input

Every option of the TikTok Scraper, as it appears in the input form and the API:

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchQueries` | array | `["funny cats"]` | Keywords, one per line, e.g. funny cats. Read from TikTok's public keyword pages (tiktok.com/discover/<keyword>): about 96 videos per keyword. A keyword TikTok has no page for is logged and skipped. |
| `hashtags` | array | `""` | Hashtags without # (e.g. nasa), one per line. Each row carries the tag's total views and video count (searchHashtag). Videos come from TikTok's public keyword list for the tag word; see 'Only videos with the hashtag'. |
| `profiles` | array | `""` | TikTok usernames or profile URLs, e.g. nasa or https://www.tiktok.com/@nasa. The profile's videos are the ones Google has indexed (TikTok's own profile list needs a login-grade signed request); each video is then read in |
| `postURLs` | array | `""` | Direct TikTok video or photo-post links, e.g. https://www.tiktok.com/@europeanspaceagency/video/7623933268957744406. Short links (vm.tiktok.com / vt.tiktok.com) are followed. |
| `startUrls` | array | `""` | Mixed TikTok links: video, profile (/@user), hashtag (/tag/<name>) or keyword page (/discover/<keyword>). Each is routed to the matching mode above. |
| `resultsPerPage` | integer | `10` | How many videos to return for each search query, hashtag and profile. The keyword list is paged 16 at a time until this number or TikTok's end (about 96 per keyword). |
| `maxItems` | integer | `50` | Stop after this many rows in the whole run (all inputs together). |
| `onlyTaggedVideos` | boolean | `true` | Hashtags: keep only videos whose caption carries #<tag> (measured 2026-10-08: 17 of 30 for #nasa). Off = every video of TikTok's keyword list for the tag word. |
| `oldestPostDateUnified` | string | `""` | Only videos published on or after this date: 2026-01-31, or relative like 30 days, 2 weeks, 6 months. Applied to the videos TikTok returns (all modes). |
| `newestPostDate` | string | `""` | Only videos published before this date: 2026-06-30, or relative like 7 days. Applied to the videos TikTok returns (all modes). |
| `leastDiggs` | integer | `""` | Only videos with at least this many hearts (likes), e.g. 1000. |
| `mostDiggs` | integer | `""` | Only videos with fewer hearts than this, e.g. 50000 (find smaller creators). |
| `scrapeAdditionalAuthorMeta` | boolean | `false` | Read each author's profile page once to add bio link, account creation date, organisation / seller flags, language and exact follower counts to authorMeta. One extra page per author. |
| `downloadSubtitlesOptions` | string | `"NEVER_DOWNLOAD_SUBTITLES"` | Subtitle links (WebVTT, often TikTok's auto captions) are always in videoMeta.subtitleLinks. Download = also store each file in the key-value store (downloadLink). |
| `shouldDownloadVideos` | boolean | `false` | Store each MP4 (up to 9 MB) in the key-value store; links in mediaUrls. TikTok binds the file to the session that opened the video, so it is saved in that session. |
| `shouldDownloadCovers` | boolean | `false` | Store each video's cover image; videoMeta.coverUrl then points to the stored copy (originalCoverUrl keeps TikTok's link, which expires). |
| `shouldDownloadAvatars` | boolean | `false` | Store each author's profile picture once; authorMeta.avatar then points to the stored copy. |
| `shouldDownloadMusicCovers` | boolean | `false` | Store each sound's cover image; musicMeta.coverMediumUrl then points to the stored copy. |
| `shouldDownloadSlideshowImages` | boolean | `false` | Photo posts: store every image; slideshowImageLinks\[].downloadLink points to the stored copy. |
| `videoKvStoreIdOrName` | string | `""` | Name of a key-value store to keep downloaded files in (kept until you delete it). Empty = the run's own store (deleted with the run's data after the retention period). |
| `maxConcurrency` | integer | `4` | Video pages (video URLs and profile videos) read at the same time, each in its own session and proxy IP. |
| `proxyConfiguration` | object | `{"useApifyProxy": true, "apifyProxyGroup` | Residential proxy is the default. The proxy country is TikTok's region for keyword lists (US by default; pick another country for local results). |

### Output fields

Each TikTok Scraper row is one JSON object with these fields (CSV and Excel exports use the same columns):

- `id`
- `text`
- `textLanguage`
- `createTime`
- `createTimeISO`
- `webVideoUrl`
- `playCount`
- `diggCount`
- `commentCount`
- `shareCount`
- `collectCount`
- `repostCount`
- `authorMeta`
- `musicMeta`
- `videoMeta`
- `hashtags`
- `mentions`
- `detailedMentions`
- `effectStickers`
- `isSlideshow`
- `slideshowImageLinks`
- `isAd`
- `isMuted`
- `locationCreated`
- `locationMeta`
- `categories`
- `searchQuery`
- `searchHashtag`
- `fromProfileSection`
- `submittedVideoUrl`
- `input`
- `scrapedAt`

### Why use the TikTok Scraper

The TikTok Scraper is a TikTok scraper and TikTok data extractor for anyone who needs public TikTok data as clean data. The TikTok Scraper handles web scraping, proxy rotation and retries for you, so you get a ready dataset instead of raw pages. Use the TikTok Scraper for market research, competitor analysis, lead generation, analytics or monitoring, and export the results to JSON, CSV, Excel or Google Sheets.

- No login and no code: the TikTok Scraper runs on Apify with one click or one API call.
- Pay per result: the TikTok Scraper charges only for rows delivered - no monthly TikTok API fee.
- Complete fields: the TikTok Scraper returns every public field, with a stable schema for automation.
- Integrations: connect the TikTok Scraper to Zapier, Make, n8n, Google Sheets, a webhook or your CRM.

### TikTok Scraper use cases

- Market research: the TikTok Scraper collects TikTok data at scale, so you can compare trends across weeks and niches.
- Competitor analysis: run the TikTok Scraper on a schedule and export the dataset to Google Sheets or Excel to watch what competitors publish.
- Lead generation and B2B prospecting: the TikTok Scraper gives a sales or agency team a clean list to load into a CRM.
- Content and social media monitoring: the TikTok Scraper keeps a fresh copy of TikTok data through an Apify schedule and a webhook.
- Analytics and dashboards: send the TikTok Scraper output as JSON through the Apify API into Python, Node.js or a BI tool.
- Academic and data science projects: the TikTok Scraper returns a consistent schema, ready for pandas, R or a notebook.
- Price, product and brand tracking: the TikTok Scraper turns public TikTok data into a dataset you can diff run by run.
- Automation workflows: connect the TikTok Scraper to Zapier, Make or n8n so every new row starts your next step.

### How to run it with the API, Python and Node.js

Start the TikTok Scraper from the Apify Console, or call it from code. The TikTok Scraper returns its dataset as JSON, CSV or Excel. With the Apify API you can run the TikTok Scraper from Python or Node.js, wait for it to finish and read the rows, which makes the TikTok Scraper easy to plug into an automation, a data pipeline or a scheduled export.

1. Open the TikTok Scraper on Apify and fill in the input (or send the same input as JSON to the API).
2. Start the TikTok Scraper. Follow the run log while the TikTok Scraper collects public TikTok data.
3. Download the dataset as CSV, JSON, Excel or XLSX, or let a webhook send it on.
4. Schedule the TikTok Scraper to keep your TikTok data fresh for monitoring and analytics.

### Tips for better results

- Start small: run the TikTok Scraper with a low maximum first, check the fields, then scale up the same input.
- Split big jobs: several smaller TikTok Scraper runs (by keyword, URL list or date) finish faster and are easier to resume.
- Keep a history: name a dataset or use a schedule so each TikTok Scraper run adds to your TikTok data over time.
- Filter early: use the input filters of the TikTok Scraper so you only pay for the TikTok data you really need.
- Automate the hand-off: a webhook or the Zapier and Make integrations can move every TikTok Scraper result straight to Google Sheets, a CRM or a database.
- Watch the run log: the TikTok Scraper writes what it is doing and why an item was skipped, so a surprising result is easy to explain.

### TikTok Scraper FAQ

#### Can it replace the official TikTok API?

For public data, yes. The TikTok Scraper gives you TikTok data through the Apify API without an official TikTok API key, quota approval or developer account.

#### How is this different from other TikTok scrapers?

The TikTok Scraper combines complete public fields, no login, pay-per-result pricing and a stable output schema, so the TikTok Scraper fits both quick one-off exports and long-running automation.

#### What is the best the scraper for data?

The TikTok Scraper is built for exactly this job: public TikTok data, complete fields, no login, pay per result and a clean export to JSON, CSV or Excel.

#### Is it legal to scrape TikTok?

The TikTok Scraper collects only publicly available data. If results contain personal data, process it under GDPR or the rules that apply to you, and only for a legitimate purpose.

#### How fast is it?

The TikTok Scraper runs requests in parallel and rotates proxy sessions automatically, so a typical run of a few hundred items finishes in minutes.

#### Does it work with proxies?

Yes. The TikTok Scraper uses Apify Proxy by default and you can pick the proxy group or country in the input.

#### How much does it cost?

The TikTok Scraper is pay per result: you pay only for the rows you receive, with lower prices on higher Apify plans. You can cap the cost of every run with the maximum cost setting.

#### Can I use it through the API?

Yes. Start the TikTok Scraper and read its dataset through the Apify API from Python, Node.js or any HTTP client, or call it from Zapier, Make and n8n.

#### Why is a field empty in my results?

The TikTok Scraper fills every field TikTok publishes for that item. When TikTok does not show a value - for example a figure the owner hid - the field stays empty rather than being guessed.

#### Can I send the data to my CRM?

Yes. Push TikTok Scraper rows to HubSpot, Salesforce, Pipedrive or any CRM through Zapier, Make or a webhook - a common setup for an agency or B2B sales team.

#### Which formats can I download?

The TikTok Scraper dataset downloads as JSON, CSV, Excel (XLSX), XML, RSS or an HTML table, and the Apify API returns the same TikTok Scraper data page by page.

#### What does this the scraper do?

The TikTok Scraper collects public TikTok data and returns it as a structured dataset. It is web scraping without code: you set the input, start the TikTok Scraper and download JSON, CSV, Excel or XLSX.

#### Can I schedule it?

Yes. Apify schedules run the TikTok Scraper hourly, daily or weekly, and a webhook can notify your system when new TikTok data is ready.

#### How do I get more results?

Raise the maximum items, add more inputs (keywords, URLs or profiles), or run the TikTok Scraper several times on a schedule. Results are de-duplicated.

#### Can I run it for many inputs at once?

Yes. Give the TikTok Scraper a list of inputs in one run; each row says which input it came from, so one TikTok Scraper run can cover a whole list.

#### Can I export the results to Excel, CSV or Google Sheets?

Yes. Every TikTok Scraper run stores a dataset you can export as CSV, JSON, Excel (XLSX), XML or HTML, or send to Google Sheets with the Apify integration.

#### Do you offer custom scrapers?

Yes. If you need a field or a filter the TikTok Scraper does not have yet, contact Neuro Scraper through the Apify Store page and we can extend the TikTok Scraper for you.

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

No. The TikTok Scraper works with no login and no cookies. It reads only public data, the same data any visitor can see.

#### What happens if a run is interrupted?

The TikTok Scraper saves its progress, so a resurrected or restarted run continues where it stopped instead of paying for the same rows again.

### More scrapers from Neuro Scraper

| Actor | What it extracts |
|---|---|
| ⭐ **[Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** | Facebook Reels with exact views, plays, every reaction type, comments and shares |
| [Snapchat Profile Scraper](https://apify.com/neuro-scraper/snapchat-profile-scraper) | Snapchat profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Scraper](https://apify.com/neuro-scraper/amazon-scraper) | Amazon data with all public fields, exported to JSON, CSV or Excel |
| [Instagram Reels Scraper](https://apify.com/neuro-scraper/instagram-reels-scraper) | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| [Facebook Video Details Scraper](https://apify.com/neuro-scraper/facebook-video-details-scraper) | Facebook video details with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Scraper Advanced](https://apify.com/neuro-scraper/facebook-reels-scraper-advanced) | Facebook reels  advanced data with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Downloader](https://apify.com/neuro-scraper/facebook-reels-downloader) | Facebook reels with all public fields, exported to JSON, CSV or Excel |
| [Instagram Search Scraper](https://apify.com/neuro-scraper/instagram-search-scraper) | Instagram search data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Video Details Scraper](https://apify.com/neuro-scraper/tiktok-video-details-scraper) | TikTok video details with all public fields, exported to JSON, CSV or Excel |
| [Instagram Hashtag Scraper](https://apify.com/neuro-scraper/instagram-hashtag-scraper) | Instagram hashtag data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Profile Scraper](https://apify.com/neuro-scraper/tiktok-profile-scraper) | TikTok profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Best Sellers Scraper](https://apify.com/neuro-scraper/amazon-best-sellers-scraper) | Amazon best sellers with all public fields, exported to JSON, CSV or Excel |
| [Facebook Photos Scraper](https://apify.com/neuro-scraper/facebook-photos-scraper) | Facebook photos with all public fields, exported to JSON, CSV or Excel |

# Actor input Schema

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

Keywords, one per line, e.g. funny cats. Read from TikTok's public keyword pages (tiktok.com/discover/<keyword>): about 96 videos per keyword. A keyword TikTok has no page for is logged and skipped.

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

Hashtags without # (e.g. nasa), one per line. Each row carries the tag's total views and video count (searchHashtag). Videos come from TikTok's public keyword list for the tag word; see 'Only videos with the hashtag'.

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

TikTok usernames or profile URLs, e.g. nasa or https://www.tiktok.com/@nasa. The profile's videos are the ones Google has indexed (TikTok's own profile list needs a login-grade signed request); each video is then read in full from TikTok. Needs the Apify GOOGLE_SERP proxy.

## `postURLs` (type: `array`):

Direct TikTok video or photo-post links, e.g. https://www.tiktok.com/@europeanspaceagency/video/7623933268957744406. Short links (vm.tiktok.com / vt.tiktok.com) are followed.

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

Mixed TikTok links: video, profile (/@user), hashtag (/tag/<name>) or keyword page (/discover/<keyword>). Each is routed to the matching mode above.

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

How many videos to return for each search query, hashtag and profile. The keyword list is paged 16 at a time until this number or TikTok's end (about 96 per keyword).

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

Stop after this many rows in the whole run (all inputs together).

## `onlyTaggedVideos` (type: `boolean`):

Hashtags: keep only videos whose caption carries #<tag> (measured 2026-10-08: 17 of 30 for #nasa). Off = every video of TikTok's keyword list for the tag word.

## `oldestPostDateUnified` (type: `string`):

Only videos published on or after this date: 2026-01-31, or relative like 30 days, 2 weeks, 6 months. Applied to the videos TikTok returns (all modes).

## `newestPostDate` (type: `string`):

Only videos published before this date: 2026-06-30, or relative like 7 days. Applied to the videos TikTok returns (all modes).

## `leastDiggs` (type: `integer`):

Only videos with at least this many hearts (likes), e.g. 1000.

## `mostDiggs` (type: `integer`):

Only videos with fewer hearts than this, e.g. 50000 (find smaller creators).

## `scrapeAdditionalAuthorMeta` (type: `boolean`):

Read each author's profile page once to add bio link, account creation date, organisation / seller flags, language and exact follower counts to authorMeta. One extra page per author.

## `downloadSubtitlesOptions` (type: `string`):

Subtitle links (WebVTT, often TikTok's auto captions) are always in videoMeta.subtitleLinks. Download = also store each file in the key-value store (downloadLink).

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

Store each MP4 (up to 9 MB) in the key-value store; links in mediaUrls. TikTok binds the file to the session that opened the video, so it is saved in that session.

## `shouldDownloadCovers` (type: `boolean`):

Store each video's cover image; videoMeta.coverUrl then points to the stored copy (originalCoverUrl keeps TikTok's link, which expires).

## `shouldDownloadAvatars` (type: `boolean`):

Store each author's profile picture once; authorMeta.avatar then points to the stored copy.

## `shouldDownloadMusicCovers` (type: `boolean`):

Store each sound's cover image; musicMeta.coverMediumUrl then points to the stored copy.

## `shouldDownloadSlideshowImages` (type: `boolean`):

Photo posts: store every image; slideshowImageLinks\[].downloadLink points to the stored copy.

## `videoKvStoreIdOrName` (type: `string`):

Name of a key-value store to keep downloaded files in (kept until you delete it). Empty = the run's own store (deleted with the run's data after the retention period).

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

Video pages (video URLs and profile videos) read at the same time, each in its own session and proxy IP.

## `proxyConfiguration` (type: `object`):

Residential proxy is the default. The proxy country is TikTok's region for keyword lists (US by default; pick another country for local results).

## Actor input object example

```json
{
  "searchQueries": [
    "funny cats"
  ],
  "resultsPerPage": 10,
  "maxItems": 50,
  "onlyTaggedVideos": true,
  "scrapeAdditionalAuthorMeta": false,
  "downloadSubtitlesOptions": "NEVER_DOWNLOAD_SUBTITLES",
  "shouldDownloadVideos": false,
  "shouldDownloadCovers": false,
  "shouldDownloadAvatars": false,
  "shouldDownloadMusicCovers": false,
  "shouldDownloadSlideshowImages": false,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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 = {
    "searchQueries": [
        "funny cats"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/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 = {
    "searchQueries": ["funny cats"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/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 '{
  "searchQueries": [
    "funny cats"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call neuro-scraper/tiktok-scraper --silent --output-dataset

```

## MCP server setup

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