# Tiktok Profile Data Scraper (`coderx/tiktok-profile-data-scraper`) Actor

Tiktok Profile Insights Scraper is a lightweight tool that collects detailed public data from a list of Tiktok usernames. It fetches profile info to help you analyze accounts at scale.

- **URL**: https://apify.com/coderx/tiktok-profile-data-scraper.md
- **Developed by:** [CoderX](https://apify.com/coderx) (community)
- **Categories:** Social media, Automation, Lead generation
- **Stats:** 536 total users, 7 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 price for a 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/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 Public Profile Scraper

### 📌 Overview

The **TikTok Public Profile Scraper** is a fast and lightweight tool for extracting structured **public TikTok profile data** without requiring login, cookies, or API keys. Provide a list of TikTok usernames and receive detailed JSON output — including user metadata, profile pictures, followers, and engagement stats.

Ideal for **market research, influencer discovery, competitor analysis, and social media dashboards**.

### 🚀 Features

- No login, cookies, or API required ✅
- Scrapes public TikTok profiles and stats
- Collects structured user details: ID, username, nickname, bio, language, profile images
- Returns detailed **engagement stats** (followers, likes, video count, friends)
- Batch input supported for multiple accounts
- Optimized for automation, growth tracking, and analytics

### 🔧 How It Works

1. Provide one or more TikTok usernames.
2. The scraper fetches **public profile information** for each one.
3. Data is returned as clean, structured JSON in your dataset.

### 📥 Input Parameters

| Parameter   | Type  | Description                                   |
| ----------- | ----- | --------------------------------------------- |
| `usernames` | Array | List of TikTok usernames       |

#### Example Input

```json
{
  "usernames": ["charlidamelio", "khaby.lame", "internationalcity_dubai"]
}
```

### 📤 Output Data

For each TikTok profile, the scraper returns a rich set of fields:

#### 🧑‍💼 Profile Fields (`user`)

| Field          | Description                               |
| -------------- | ----------------------------------------- |
| `id`           | TikTok internal user ID                   |
| `uniqueId`     | TikTok handle (username)                  |
| `shortId`      | Short numeric user ID (if available)      |
| `nickname`     | Display name                              |
| `signature`    | Bio text                                  |
| `verified`     | Boolean — whether the account is verified |
| `language`     | Preferred profile language                |
| `createTime`   | Account creation timestamp                |
| `avatarThumb`  | URL of small profile picture              |
| `avatarMedium` | URL of medium profile picture             |
| `avatarLarger` | URL of large profile picture              |
| `secUid`       | a unique id for profile              |

***

#### 📊 Profile Stats (`stats` / `statsV2`)

| Field            | Description                        |
| ---------------- | ---------------------------------- |
| `followerCount`  | Number of followers                |
| `followingCount` | Number of accounts followed        |
| `heartCount`     | Total likes received on profile    |
| `videoCount`     | Number of uploaded videos          |
| `friendCount`    | Number of friends (mutual follows) |
| `diggCount`      | Number of liked videos (public)    |

***

#### 📦 Example Output

```json
{
    "user": {
      "id": "7181929968246424581",
      "shortId": "",
      "uniqueId": "internationalcity_dubai",
      "nickname": "Dubai Pakistani Models",
      "avatarLarger": "https://p19-common-sign-sg.tiktokcdn-us.com/tos-alisg-avt-0068/a8050291b5bb828f2c373e3f2b3c32e9~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=566a84af&x-expires=1756926000&x-signature=YadGxEKUt4tZuGsNqoSLURpTlRI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
      "avatarMedium": "https://p16-common-sign-sg.tiktokcdn-us.com/tos-alisg-avt-0068/a8050291b5bb828f2c373e3f2b3c32e9~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=74239ec1&x-expires=1756926000&x-signature=45zgUlodri%2B0AxI0RsJ%2FcgyWHMw%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
      "avatarThumb": "https://p16-common-sign-sg.tiktokcdn-us.com/tos-alisg-avt-0068/a8050291b5bb828f2c373e3f2b3c32e9~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=7ef86315&x-expires=1756926000&x-signature=y8W3YkOW73vb4pqsCoc6rbplQLw%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
      "signature": "Habeebi.. I am Alone",
      "createTime": 1672189339,
      "verified": false,
      "secUid": "MS4wLjABAAAAB-EZI8kwJMXrg6v45WC3SGTa7eia5MTD7zGIq_QckSfk7H6JPnHmldE7xsOj2NK0",
      "ftc": false,
      "relation": 0,
      "openFavorite": false,
      "commentSetting": 0,
      "commerceUserInfo": {
        "commerceUser": false
      },
      "duetSetting": 0,
      "stitchSetting": 0,
      "privateAccount": false,
      "secret": false,
      "isADVirtual": false,
      "roomId": "",
      "uniqueIdModifyTime": 0,
      "ttSeller": false,
      "downloadSetting": 3,
      "profileTab": {
        "showMusicTab": false,
        "showQuestionTab": false,
        "showPlayListTab": true
      },
      "followingVisibility": 2,
      "recommendReason": "",
      "nowInvitationCardUrl": "",
      "nickNameModifyTime": 1742919397,
      "isEmbedBanned": false,
      "canExpPlaylist": true,
      "profileEmbedPermission": 1,
      "language": "en",
      "eventList": [],
      "suggestAccountBind": false,
      "isOrganization": 0,
      "UserStoryStatus": 0
    },
    "stats": {
      "followerCount": 65800,
      "followingCount": 10,
      "heart": 756600,
      "heartCount": 756600,
      "videoCount": 88,
      "diggCount": 0,
      "friendCount": 4
    },
    "statsV2": {
      "followerCount": "65780",
      "followingCount": "10",
      "heart": "756623",
      "heartCount": "756623",
      "videoCount": "88",
      "diggCount": "0",
      "friendCount": "4"
    },
    "itemList": []
  }
```

***

### ⚙️ Notes & Limitations

- Works only with **public TikTok profiles**. Private or banned accounts cannot be fetched.
- Engagement stats reflect **public data** and may not match real-time analytics.

### 🧠 Use Cases

- Influencer marketing research
- Competitive benchmarking
- Public engagement analytics
- Creator profiling for agencies and brands
- Social listening dashboards

### 💡 SEO Keywords

- TikTok Profile Scraper
- Scrape TikTok Public Data
- TikTok User Data Extractor
- TikTok JSON API Alternative
- TikTok Stats & Metadata Scraper

***

#### ⚠️ Disclaimer

## Use this scraper **responsibly**. TikTok’s terms of service prohibit scraping that violates their platform policies. This tool scrapes only **publicly accessible data**. The developer assumes no liability for misuse.

🚀 **Start scraping TikTok profile data — fast, structured, and without login!**

# Actor input Schema

## `usernames` (type: `array`):

A list of Tiktok usernames to extract data from.

## Actor input object example

```json
{
  "usernames": [
    "bule_barbie"
  ]
}
```

# 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 = {
    "usernames": [
        "bule_barbie"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("coderx/tiktok-profile-data-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 = { "usernames": ["bule_barbie"] }

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

```

## MCP server setup

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