# Tiktok Profile Scraper (`kawsar/tiktok-profile-scraper`) Actor

TikTok profile scraper that pulls follower counts, stats, bio links, and avatar URLs from any public username into a ready-to-export dataset, so you stop clicking through profiles one by one.

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

## Pricing

from $5.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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: Extract public profile data from any TikTok account

<p align="center">
  <img src="https://i.imgur.com/4kU5oJg.png" alt="TikTok Profile Scraper" />
</p>

TikTok profile scraper that pulls public account data from any username into a flat dataset you can export immediately. Give it a list of usernames and you get follower counts, following counts, total likes, video counts, bio links, avatar URLs, and verification status, all in one structured row per account.

No browser needed, no login required.

### Why scrape TikTok profile data

Follower counts and engagement stats are not visible in bulk anywhere on TikTok. There is no export button, and there is no way to monitor multiple accounts at once without a scraper.

If you are vetting influencers, you need to see follower counts, total likes, video output, and whether the account is verified before you contact anyone. This actor does that for any number of accounts in one run.

### Use cases

- Research influencer accounts before reaching out for partnerships
- Track how a competitor's follower count and video output change week to week
- Build a database of TikTok creators in a niche with their stats and bio links
- Monitor brand account growth across multiple markets on a schedule
- Verify whether an account is real and active before any deal
- Collect profile data for NLP research or creator recommendation systems

### Input

| Parameter | Type | Description |
|-----------|------|-------------|
| `usernames` | array | TikTok usernames or profile URLs. Accepts `@username`, plain `username`, or full profile URL. Required. |

#### Example input

```json
{
    "usernames": [
        "bellapoarch",
        "charlidamelio",
        "https://www.tiktok.com/@khaby.lame"
    ]
}
````

### What data does this actor extract?

One flat row per profile. Every stat is mapped to a top-level field, no nested objects.

Example record:

```json
{
    "searchQuery": "@bellapoarch",
    "userId": "6748458643983238149",
    "uniqueId": "bellapoarch",
    "nickname": "Bella Poarch",
    "signature": "",
    "avatarThumb": "https://p16-sign-va.tiktokcdn.com/...100x100.jpeg",
    "avatarMedium": "https://p16-sign-va.tiktokcdn.com/...720x720.jpeg",
    "avatarLarger": "https://p16-sign-va.tiktokcdn.com/...1080x1080.jpeg",
    "bioLink": "https://bellapoarch.ffm.to/ribcage",
    "verified": true,
    "privateAccount": false,
    "secUid": "MS4wLjABAAAAIQGNoHByQvokcLbWCGnIfas0OV2nctsZnRFbN7eB04xt...",
    "relation": 0,
    "commentSetting": 0,
    "duetSetting": 0,
    "stitchSetting": 0,
    "downloadSetting": 0,
    "ttSeller": false,
    "followerCount": 92394775,
    "followingCount": 648,
    "heartCount": 2406049312,
    "videoCount": 73,
    "friendCount": 573,
    "diggCount": 0,
    "shareTitle": "Bella Poarch on TikTok",
    "shareDesc": "@bellapoarch 92.4m Followers, 648 Following, 2406.0m Likes",
    "scrapedAt": "2026-04-21T10:15:00+00:00"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `searchQuery` | string | The input username used to look up this profile |
| `userId` | string | TikTok internal user ID |
| `uniqueId` | string | TikTok username |
| `nickname` | string | Display name on the profile |
| `signature` | string | Bio text |
| `avatarThumb` | string | URL of 100x100 avatar image |
| `avatarMedium` | string | URL of 720x720 avatar image |
| `avatarLarger` | string | URL of 1080x1080 avatar image |
| `bioLink` | string | External link in the bio |
| `verified` | boolean | True if the account has a verification badge |
| `privateAccount` | boolean | True if the account is private |
| `secUid` | string | TikTok internal secure user ID |
| `relation` | integer | Follow relationship status |
| `commentSetting` | integer | Who can comment: 0=everyone, 1=friends, 2=off |
| `duetSetting` | integer | Who can duet: 0=everyone, 1=friends, 2=off |
| `stitchSetting` | integer | Who can stitch: 0=everyone, 1=friends, 2=off |
| `downloadSetting` | integer | Whether downloads are enabled: 0=on, 1=off |
| `ttSeller` | boolean | True if the account is a TikTok Shop seller |
| `followerCount` | integer | Total followers |
| `followingCount` | integer | Total accounts followed |
| `heartCount` | integer | Total likes received across all videos |
| `videoCount` | integer | Number of public videos posted |
| `friendCount` | integer | Number of mutual follows |
| `diggCount` | integer | Number of videos this user has liked |
| `shareTitle` | string | Profile share title from page metadata |
| `shareDesc` | string | Profile share description with follower/like summary |
| `scrapedAt` | string | ISO 8601 timestamp of when this record was scraped |

### Scheduling: monitor TikTok accounts over time

Put this on a repeating schedule to track how follower counts, video output, and engagement change over time. Each run appends fresh rows with a new `scrapedAt` timestamp.

To schedule a run:

1. Click "Save as a new task" after setting up your input
2. Open the "Schedule" tab
3. Set your interval (daily or weekly works well for growth tracking)
4. The actor runs automatically and adds new results to the dataset

### FAQ

**Do I need a TikTok account or login?**
No. The actor only works with public profile pages. No TikTok login or credentials are needed.

**Does it work with full profile URLs?**
Yes. You can pass `https://www.tiktok.com/@bellapoarch`, `@bellapoarch`, or just `bellapoarch`. All three work the same way.

**What if a profile is not found?**
The actor pushes an error row with `searchQuery` and an `error` field explaining what went wrong, then continues with the remaining usernames.

**Can I scrape hundreds or thousands of profiles?**
Yes. Paste as many usernames as you need. The actor processes them all with no hard cap.

### Integrations

Connect with other apps via [Apify integrations](https://apify.com/integrations): Google Sheets, Slack, Make, Zapier, and more. Set up [webhooks](https://docs.apify.com/integrations/webhooks) to trigger the next step in your workflow the moment a run finishes.

# Actor input Schema

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

TikTok usernames or full profile URLs to scrape. Accepts @username, plain username, or https://www.tiktok.com/@username.

## Actor input object example

```json
{
  "usernames": [
    "bellapoarch",
    "charlidamelio",
    "https://www.tiktok.com/@khaby.lame"
  ]
}
```

# 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": [
        "bellapoarch",
        "charlidamelio"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/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 = { "usernames": [
        "bellapoarch",
        "charlidamelio",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kawsar/tiktok-profile-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "bellapoarch",
    "charlidamelio"
  ]
}' |
apify call kawsar/tiktok-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=kawsar/tiktok-profile-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Tiktok Profile Scraper",
        "description": "TikTok profile scraper that pulls follower counts, stats, bio links, and avatar URLs from any public username into a ready-to-export dataset, so you stop clicking through profiles one by one.",
        "version": "0.0",
        "x-build-id": "S34NkyfPRLnksGucx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/kawsar~tiktok-profile-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-kawsar-tiktok-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/kawsar~tiktok-profile-scraper/runs": {
            "post": {
                "operationId": "runs-sync-kawsar-tiktok-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/kawsar~tiktok-profile-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-kawsar-tiktok-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "usernames"
                ],
                "properties": {
                    "usernames": {
                        "title": "Usernames or profile URLs",
                        "type": "array",
                        "description": "TikTok usernames or full profile URLs to scrape. Accepts @username, plain username, or https://www.tiktok.com/@username.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
