# TikTok Profile Scraper (`automly/tiktok-profile-scraper`) Actor

Scrape TikTok profiles and their latest videos: followers, likes, bio, verified badge, and every video's views, likes, comments, shares, caption and hashtags. Date filters and a real-time API. No login.

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

## Pricing

from $0.50 / 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.

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 Profile Scraper

### What is TikTok Profile Scraper?

**TikTok Profile Scraper** is a tool that lets you **scrape TikTok profiles and their latest videos**: followers, following, total likes, video count, bio, bio link and verified badge for each creator, plus views, likes, comments, shares, saves, caption, hashtags and sound for every video. Enter usernames or profile links, click **Start**, and download the data as Excel, CSV or JSON.

🚀 **Speed:** about 5,000 rows per minute (10 creators, 1,010 rows in 12 seconds in our test)
👤 **Profiles:** followers, likes, bio and more for any public creator
🎬 **Videos:** each creator's latest videos with full stats, newest first
📅 **Date filters:** only videos posted between two dates you choose
🔓 **No login:** no TikTok account, cookies or API key needed

### What can TikTok Profile Scraper do?

- Scrape the profile info of any public TikTok creator
- Get a creator's **latest videos** with views, likes, comments, shares and saves
- Keep only videos posted **between two dates**
- Get **profile info only**, without videos, to check many creators quickly
- Get results in seconds over the **real-time API**, without starting a run
- Export to Excel, CSV, JSON, HTML or XML, or send them to Google Sheets, Make, Zapier and more

### What data can you extract from TikTok profiles?

| | | |
|---|---|---|
| 👥 Followers and following | ❤️ Total likes | 🎬 Number of videos |
| 📝 Bio and bio link | ✅ Verified badge | 🔒 Private account flag |
| 🖼️ Profile picture | 📅 Account creation date | 🛍️ TikTok Shop seller flag |
| 👀 Video views | 💬 Video comments, shares and saves | #️⃣ Hashtags and mentions |
| 🎵 Sound title and author | 📌 Pinned videos | 🖼️ Video cover and slideshow images |

### How to scrape TikTok profiles

1. [Create a free Apify account](https://console.apify.com/sign-up) (no credit card needed).
2. Open **TikTok Profile Scraper**.
3. Add one or more **usernames or profile links**.
4. Choose how many videos you want per profile and, if you like, a date range, then click **Start**.
5. When the run finishes, download your data as Excel, CSV, JSON, HTML or XML.

### ⬇️ Input

Profiles can be a username (`khaby.lame`), `@username` or a profile link (`https://www.tiktok.com/@khaby.lame`).

| Setting | What it does |
|---|---|
| Profiles | The creators to scrape |
| Videos per profile | How many of each creator's latest videos to get (default 20). Set 0 for profile info only |
| Videos published after / before | Only videos from this date range |
| Include profile info | Add one row per creator with their profile (on by default) |
| Language | Language for the results (default English) |

Example: the latest 40 videos from two creators, posted in 2026.

```json
{
  "profiles": ["khaby.lame", "@scout2015"],
  "resultsPerProfile": 40,
  "videosPublishedAfter": "2026-01-01"
}
```

Example: profile info only, no videos.

```json
{
  "profiles": ["khaby.lame", "scout2015", "https://www.tiktok.com/@tiktok"],
  "resultsPerProfile": 0
}
```

### ⬆️ Output

You get one row per profile and one row per video. The `type` field says which is which: `"profile"` or `"video"`. In Apify Console, the **Profiles** and **Videos** tables show each kind with its own columns. You can download everything as Excel, CSV, JSON, HTML or XML.

A profile row:

```json
{
  "type": "profile",
  "username": "khaby.lame",
  "url": "https://www.tiktok.com/@khaby.lame",
  "nickname": "Khabane lame",
  "id": "127905465618821121",
  "bio": "Se vuoi ridere sei nel posto giusto😎 If u wanna laugh u r in the right place😎",
  "bioLink": null,
  "verified": true,
  "privateAccount": false,
  "followers": 162975233,
  "following": 81,
  "likes": 2681462838,
  "videos": 1355,
  "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/08987e23b94057953fd4f1738694bf5f~tplv-tiktokx-cropcenter:1080:1080.jpeg?...",
  "createdAt": "2016-08-10T22:02:34Z",
  "language": "en",
  "isSeller": false,
  "source": "khaby.lame",
  "fetchedAt": "2026-09-24T18:42:29Z"
}
```

A video row:

```json
{
  "type": "video",
  "id": "7688786985896381727",
  "url": "https://www.tiktok.com/@khaby.lame/video/7688786985896381727",
  "text": "Landing in a new country without worrying about WiFi? It’s so simple with @Holafly | eSIM holafly🤲🏿 🌍 📶  #Holafly",
  "createdAt": "2026-09-23T17:40:45Z",
  "authorUsername": "khaby.lame",
  "authorNickname": "Khabane lame",
  "authorVerified": true,
  "views": 1000000,
  "likes": 162900,
  "comments": 3801,
  "shares": 727,
  "saves": 8968,
  "hashtags": ["holafly"],
  "mentions": ["holafly"],
  "durationSeconds": 23,
  "coverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/ooDAqEIe8ADNAiAcEyCECUI0NVFxRtrEKAWOfA~tplv-tiktokx-origin.image?...",
  "isSlideshow": false,
  "soundTitle": "original sound",
  "soundAuthor": "Khabane lame",
  "isAd": true,
  "isPinned": false,
  "language": "en",
  "isAiGenerated": false,
  "source": "khaby.lame",
  "fetchedAt": "2026-09-24T18:42:29Z"
}
```

Each run also saves a short report that lists how many profiles and rows it covered, and any profile it could not scrape with the reason (for example, a username that does not exist).

### How can I use TikTok profile data?

- **Influencer research:** compare creators by followers, likes and how their recent videos perform
- **Competitor tracking:** see what competitors post and which videos get the most views
- **Engagement analysis:** work out engagement rates from views, likes, comments and shares
- **Lead lists:** collect bios, bio links and verified badges for outreach
- **Trend and content research:** find the hashtags and sounds creators use most

### Real-time TikTok profile API

Need a profile right away inside your app? Call the actor's API and get the rows back in the response, without starting a run:

```
GET https://<your-actor-standby-url>/profile?username=khaby.lame&videos=20&includeProfileInfo=true
Authorization: Bearer <YOUR_APIFY_TOKEN>
```

You can also run the actor from your own code with the [Apify API](https://docs.apify.com/api/v2) or the Python and JavaScript clients:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("automly/tiktok-profile-scraper").call(run_input={
    "profiles": ["khaby.lame", "scout2015"],
    "resultsPerProfile": 50,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row["type"] == "video":
        print(row["authorUsername"], row["views"], row["url"])
```

### ❓FAQ

#### How much does it cost to scrape TikTok profiles?

You pay only for the rows you get, per 1,000 rows. See the **Pricing** tab for the current price. Every Apify account gets $5 of free usage each month, so you can try it at no cost.

#### How many videos can I get from one profile?

Up to 10,000 of a creator's latest videos per run. Set **Videos per profile** to the number you need.

#### Why do some videos older than my date range show up, or not?

Creators can pin old videos to the top of their profile. Pinned videos outside your date range are skipped, so you only get videos from the dates you chose.

#### Why do big numbers look rounded?

TikTok itself shows large counts rounded (for example 1.0M views), and some of its figures for videos and creators come rounded the same way. The follower and like counts on profile rows are exact.

#### Do I need a TikTok account?

No. You don't need a TikTok account, cookies or an API key.

#### Can I scrape private accounts?

No. Only public profiles and their public videos can be scraped. Usernames that don't exist are skipped and listed in the run report.

#### Is it legal to scrape TikTok profiles?

This scraper only collects information that creators chose to make public. It does not collect private data such as email addresses or phone numbers. Profiles and captions can still contain personal data, which may be protected by laws such as GDPR, so only scrape it for a legitimate reason and ask a lawyer if you are unsure. You can read more in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

TikTok Profile Scraper is an independent tool. It is not affiliated with, endorsed by or sponsored by TikTok.

#### Something isn't working. What should I do?

Open the **Issues** tab and tell us the profile and what you expected. We usually reply within a day.

# Actor input Schema

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

TikTok usernames or profile URLs, e.g. khaby.lame, @khaby.lame or https://www.tiktok.com/@khaby.lame.

## `resultsPerProfile` (type: `integer`):

How many of each creator's latest videos to scrape (after the date filters below). Set 0 to get the profile info only.

## `videosPublishedAfter` (type: `string`):

Only videos published on or after this date, e.g. 2026-08-01 (UTC if no offset). Pinned videos outside the range are skipped.

## `videosPublishedBefore` (type: `string`):

Only videos published before this date, e.g. 2026-09-01 (UTC if no offset).

## `includeProfileInfo` (type: `boolean`):

Add one row per creator with their profile: bio, followers, following, total likes, video count, verified badge and more.

## `language` (type: `string`):

Two-letter language code for the results (e.g. en, es, fr, de, ja).

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

Proxy settings. The default works for most runs.

## Actor input object example

```json
{
  "profiles": [
    "khaby.lame"
  ],
  "resultsPerProfile": 20,
  "includeProfileInfo": true,
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `profiles` (type: `string`):

No description

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

No description

## `report` (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": [
        "khaby.lame"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/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 = {
    "profiles": ["khaby.lame"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automly/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 '{
  "profiles": [
    "khaby.lame"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automly/tiktok-profile-scraper --silent --output-dataset

```

## MCP server setup

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