# TikTok Profile Scraper - Profile, Videos & Transcripts (`influship/tiktok-profile-scraper`) Actor

Scrape TikTok profiles with live data including followers, likes, full video history with view/share/save counts, and optional AI transcripts.

- **URL**: https://apify.com/influship/tiktok-profile-scraper.md
- **Developed by:** [Influship](https://apify.com/influship) (community)
- **Categories:** AI, Social media, Videos
- **Stats:** 4 total users, 1 monthly users, 93.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.40 / 1,000 profile scrapeds

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?

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 Profile Scraper — Profile, Videos & Transcripts

Scrape a TikTok profile and its full video history in a single run. One input, one dataset, no login and no TikTok API credentials required.

Most TikTok scrapers make you choose: a profile tool that returns follower counts, and a separate video tool for post metrics. This Actor returns both from one run against one canonical schema, so you can go from a handle to a full content picture without stitching datasets together.

### What you get

**Profile data** — user ID, display name, biography, avatar, link in bio, follower count, following count, total likes, video count, and verification, private and business account flags.

**Video history** — cursor-paginated through the profile's full catalogue, up to 200 videos per run, sorted newest-first or by popularity. Every video returns view, like, comment, **share** and **save** counts, caption, hashtags, duration, thumbnail, signed media URL, pinned status, and full sound attribution (sound ID, title, author, duration).

Share and save counts matter: they are the strongest available public signal of TikTok content that actually travels, and TikTok is the only major platform that exposes them. Most competing scrapers drop both.

**Slideshow support** — TikTok photo posts are returned as `media_type: "slideshow"` with the full `images[]` array, not silently skipped or returned as broken video rows.

**Transcripts (optional)** — plain text plus timestamped segments with `start_ms` and `end_ms`, a word count, a detected language, and a `source` field telling you whether the text came from TikTok's own captions or was generated by speech recognition. Transcripts are off by default and billed per transcript, so keep the transcript limit low to control spend. A video with no speech, or one that cannot be transcribed, logs a warning and the run still succeeds — you are not charged for transcripts that are not returned.

### Input

| Field | Description |
|---|---|
| `username` | TikTok handle, with or without `@` |
| `includeVideos` | Fetch the profile's video history (default: on) |
| `videoLimit` | Maximum videos to return, 1–200 (default: 30) |
| `sortBy` | `latest` or `popular` |
| `region` | Two-letter region code used to resolve content (default: `US`) |
| `videoUrls` | Scrape specific video URLs instead of a profile |
| `includeTranscripts` | Fetch transcripts for the videos returned (default: off) |
| `transcriptLimit` | Maximum videos to transcribe, 1–50 (default: 10) |

Direct video lookup accepts `tiktok.com`, `vm.tiktok.com` and `vt.tiktok.com` links, so shared links work without resolving them first.

### Output

Every dataset row carries an `item_type` field of `profile`, `video` or `transcript`, so a mixed run stays easy to filter and split downstream.

### Use cases

- Vetting a creator before an influencer partnership — audience size, posting cadence, and which posts actually got shared.
- Tracking a competitor's content strategy over time, including the sounds they use.
- Building a content dataset for search or retrieval, where transcripts turn video into text you can index.
- Sourcing UGC and tracking branded-hashtag campaigns.
- Feeding TikTok performance data into an internal dashboard or an AI agent.

### Pricing

This Actor is billed per event: a small Actor start fee, a per-profile fee, a per-video fee, and a per-transcript fee. You are not charged for Apify platform usage. Transcripts are the most expensive event — leave them off unless you need the text.

Use the "max cost per run" setting to cap spend. The Actor reads that budget before making any paid request and reduces how much it fetches to stay inside it, rather than failing partway through.

### Notes

Signed media URLs (`video_url`, slideshow `images[]`) are temporary and expire — download anything you intend to keep as soon as the run finishes.

Powered by [Influship](https://influship.com). Check out our other Actors for Instagram, YouTube, and AI-powered cross-platform creator search.

# Actor input Schema

## `username` (type: `string`):

TikTok username to scrape, with or without the @ symbol. Example: 'nasa'. Leave empty if you are using Video URLs instead.

## `includeVideos` (type: `boolean`):

Whether to fetch the profile's video history

## `videoLimit` (type: `integer`):

Maximum number of videos to fetch (1-200)

## `sortBy` (type: `string`):

Order videos by newest first, or by most popular

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

Two-letter region code used when resolving TikTok content. Example: 'US', 'GB', 'DE'

## `videoUrls` (type: `array`):

Scrape these specific TikTok video URLs instead of a profile's history. Accepts tiktok.com, vm.tiktok.com and vt.tiktok.com links.

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

Fetch a spoken-word transcript for each video. This is charged per transcript and is significantly more expensive than video metadata.

## `transcriptLimit` (type: `integer`):

Maximum number of videos to transcribe (1-50)

## Actor input object example

```json
{
  "username": "nasa",
  "includeVideos": true,
  "videoLimit": 30,
  "sortBy": "latest",
  "region": "US",
  "includeTranscripts": false,
  "transcriptLimit": 10
}
```

# 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 = {
    "username": "nasa"
};

// Run the Actor and wait for it to finish
const run = await client.actor("influship/tiktok-profile-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 = { "username": "nasa" }

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

```

## MCP server setup

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