# Tiktok Videos Scraper (`socify/tiktok-videos-scraper`) Actor

Bulk-scrape public TikTok videos for $1/1,000 results. Paste profile URLs, usernames, hashtags or video links, get views, likes, comments, shares, captions, music & video URLs. No login or cookies needed. Ideal for content research, trend tracking & competitor monitoring.

- **URL**: https://apify.com/socify/tiktok-videos-scraper.md
- **Developed by:** [Socify](https://apify.com/socify) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 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.

Learn more: https://docs.apify.com/actors/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 Videos Scraper

#### ⚡ Bulk-scrape public TikTok videos for just **$1 per 1,000 records**

Paste profiles, hashtags, keywords, and/or video URLs — any combination in one run — hit **Start**, and get clean structured video data for research, monitoring, and enrichment. 📊

> 🚫 No TikTok login · 🍪 No cookies · 🌐 No browser farm · 🧩 Mix lookup types in one batch

***

### 🚀 At a glance

| | |
| --- | --- |
| 💰 **Price** | **$1.00 / 1,000 videos** |
| 🧾 **Model** | Pay per result (flat), only for videos actually returned |
| 📦 **Batch size** | Up to **500 lookups** per run |
| 🔑 **Auth required** | None |
| 📤 **Export formats** | JSON, CSV, Excel, XML, HTML |

***

### 📋 What you get

For every public TikTok video:

- 🎬 **Post:** URL, ID, caption, publish time, duration
- 📈 **Engagement:** plays, likes, comments, shares, saves
- 👤 **Creator:** username, profile URL, avatar, followers, verification
- 🖼️ **Media:** cover image and video URL when available
- 🎵 **Music & hashtags:** soundtrack metadata and caption tags

***

### 💡 Why choose this Actor?

- 💵 **Flat $1 / 1K:** no compute surprises, no proxy line items to manage
- 🧩 **Mixed lookups:** profiles + hashtags + keywords + video URLs in a single run
- 📦 **Bulk-ready:** feed up to 500 lookups per run
- 🧱 **Structured output:** export to CSV or Excel, or plug into Zapier, Make, or your own API
- ⚡ **Fast:** powered by Socify's production TikTok videos API

***

### 🛠️ How to use

1. 🖱️ Open the Actor and keep (or edit) the prefilled example profiles.
2. ✏️ Fill **Profiles**, **Hashtags**, **Keywords**, and/or **Video URLs / IDs** — leave unused boxes empty.
3. 🎚️ Optionally set **Videos per lookup** and **Profile video order**.
4. ▶️ Click **Start**.
5. 📥 Download your results from the **Dataset** tab.

***

### ⌨️ Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `profiles` | string array | No\* | Usernames (with or without `@`) or profile URLs. |
| `hashtags` | string array | No\* | Hashtags (with or without `#`) or hashtag URLs. |
| `keywords` | string array | No\* | Search terms or discover URLs. |
| `videos` | string array | No\* | Video URLs or numeric video IDs. |
| `amount` | integer | No | Max videos per profile / hashtag / keyword. Default 12. |
| `tab` | string | No | Profile sort: `recent` (default), `popular`, or `oldest`. |

\*Provide at least one non-empty value across the four lists. Max **500** lookups total per run.

**Example input:**

```json
{
  "profiles": ["mrbeast", "@ishowspeed"],
  "hashtags": ["fyp"],
  "keywords": ["street food"],
  "videos": ["https://www.tiktok.com/@lego/video/1234567890"],
  "amount": 12,
  "tab": "recent"
}
```

***

### 📤 Output

One dataset item per video.

| Field | Description |
| --- | --- |
| `url` / `post_id` | 🔗 Video URL and ID |
| `description` / `create_time` | 📝 Caption and publish time |
| `play_count` / `digg_count` / `comment_count` / `share_count` | 📊 Engagement |
| `profile_username` / `profile_url` / `profile_followers` | 👤 Creator details |
| `preview_image` / `video_url` | 🖼️ Media |
| `music` / `hashtags` | 🎵 Soundtrack and tags |

***

### 🎯 Use cases

- 🌟 **Influencer research:** pull recent or popular videos from creator lists
- 🏷️ **Trend monitoring:** track hashtags and keywords on a schedule
- 🕵️ **Competitor content:** snapshot rival brand posts
- 🔬 **Dataset building:** mix discovery modes into one clean export
- 🗂️ **Enrichment:** resolve specific video URLs/IDs to full public metadata

***

### 🧠 Pro tips

- 🔀 Mix profiles, hashtags, keywords, and video URLs in the same run — they go out as one Socify batch.
- 📏 Keep each run to 500 lookups or fewer, then start another run for the next batch.
- ⏰ Use Apify **Schedules** to refresh the same list daily or weekly.
- 🔌 Connect the dataset to **Zapier**, **Make**, Google Sheets, or webhooks to automate your pipeline.

***

### ❓ FAQ

**🔐 Do I need a TikTok account or cookies?**
No. Just provide profiles, hashtags, keywords, or video URLs.

**💸 How am I charged?**
A flat $1.00 per 1,000 video records returned.

**📚 Can I scrape more than 500 lookups?**
Yes. Split your list into batches of up to 500 and run the Actor multiple times.

**⚖️ Is this legal?**
This Actor only collects publicly available data. You're responsible for using it in line with TikTok's terms and applicable privacy laws (such as GDPR and CCPA), especially when handling personal data.

***

### 🏢 About Socify

This Actor is published by [Socify](https://trysocify.com) 💙. Socify provides production social data APIs for TikTok, Instagram, YouTube, and more, the same infrastructure that powers this Actor.

💬 **Questions or feature requests?** Open an issue or reach out through the Actor page, and we'll get back to you.

⭐ **Enjoying it?** Leave a review. It helps others find the Actor!

# Actor input Schema

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

Usernames or profile URLs, e.g. mrbeast, @ishowspeed, https://www.tiktok.com/@lego

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

Hashtags with or without #, or hashtag URLs.

## `keywords` (type: `array`):

Search terms.

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

Full video URLs.

## `amount` (type: `integer`):

Maximum videos to discover for each profile, hashtag, or keyword. Ignored for video URLs.

## `tab` (type: `string`):

Sort order for profiles only.

## Actor input object example

```json
{
  "profiles": [
    "mrbeast",
    "@ishowspeed"
  ],
  "hashtags": [
    "dog",
    "#cooking"
  ],
  "keywords": [
    "christmas",
    "beiber"
  ],
  "videos": [
    "https://www.tiktok.com/@lego/video/7691312395737632031"
  ],
  "amount": 12,
  "tab": "recent"
}
```

# Actor output Schema

## `videos` (type: `string`):

Scraped public TikTok video records (caption, engagement, profile, media, and more).

# 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",
        "@ishowspeed",
        "https://www.tiktok.com/@lego"
    ],
    "hashtags": [
        "dog",
        "#cooking"
    ],
    "keywords": [
        "christmas",
        "beiber"
    ],
    "videos": [
        "https://www.tiktok.com/@lego/video/7691312395737632031"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("socify/tiktok-videos-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",
        "@ishowspeed",
        "https://www.tiktok.com/@lego",
    ],
    "hashtags": [
        "dog",
        "#cooking",
    ],
    "keywords": [
        "christmas",
        "beiber",
    ],
    "videos": ["https://www.tiktok.com/@lego/video/7691312395737632031"],
}

# Run the Actor and wait for it to finish
run = client.actor("socify/tiktok-videos-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",
    "@ishowspeed",
    "https://www.tiktok.com/@lego"
  ],
  "hashtags": [
    "dog",
    "#cooking"
  ],
  "keywords": [
    "christmas",
    "beiber"
  ],
  "videos": [
    "https://www.tiktok.com/@lego/video/7691312395737632031"
  ]
}' |
apify call socify/tiktok-videos-scraper --silent --output-dataset

```

## MCP server setup

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