# TikTok Profile Scraper (`usestring/tiktok-profiles`) Actor

Collect public TikTok profiles by handle - exact follower, following, like and video counts, bio, nickname and verification.

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

## Pricing

from $1.25 / 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 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 — exact follower, like and video counts

This Actor collects public TikTok profiles by handle. It returns **exact** follower, following, like
and video counts — `95200000`, not the rounded "95.2M" the profile page displays — plus bio,
nickname, verification status and avatar.

No TikTok account, login or cookies are used — this reads what a logged-out visitor sees on the
public profile.

### What it returns

| Field | Type | Notes |
| --- | --- | --- |
| `username` | string | The `@handle` without the `@` |
| `nickname` | string | Display name |
| `biography` | string | Bio text |
| `followerCount` | number | **Exact**, e.g. `95200000` — the page shows "95.2M" |
| `followingCount` | number | Accounts the profile follows |
| `likeCount` | number | Total hearts across the account |
| `videoCount` | number | Videos posted |
| `isVerified` | boolean | Whether TikTok shows the blue check |
| `profileImageUrl` | string | Full-size avatar |
| `handle`, `sourceUrl`, `collectedAt` | string | Provenance for every row |

### Input

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

| Field | Description |
| --- | --- |
| `profiles` | Handles, `@handles` or `tiktok.com` profile URLs. Required, 1–500. |
| `maxItems` | Cap on dataset items. Default 1000. Free plans stop at 250 requests and 250 results — see below. |
| `concurrency` | Profiles fetched in parallel. Default 5. |

All three spellings of the same account collapse to one fetch, so a mixed list is never billed twice.

### How it reads exact counts

The TikTok profile page ships its own rehydration state as an embedded JSON blob, and this Actor
reads the counts straight out of it rather than parsing the rendered page. That blob carries
`followerCount`, `followingCount`, `heartCount` and `videoCount` as integers, which is why this Actor
returns `95200000` where the visible page rounds to "95.2M".

Because that blob is part of the logged-out page, no TikTok account, session cookie or `msToken` is
involved at any point.

### Use cases

- Influencer vetting and audience-size verification before a paid collaboration
- Tracking creator growth over time by re-running on a schedule
- Brand and competitor monitoring across a set of TikTok accounts
- Ranking a creator shortlist by exact follower and like volume
- Enriching a partner, talent or affiliate database

### Reliability

Measured across 30 well-known accounts in one run: **30/30 collected** at roughly a quarter-second
each, every schema field populated by real values.

Counts come from the page's own embedded state, so they are exact integers rather than the rounded
display text. An account that returns no readable identity or counts is recorded under `failures`
rather than emitted as an all-null row counted as a success, and a run in which every handle failed
exits with an error.

### Frequently asked questions

**How do I scrape TikTok profiles without logging in?** Put the handles, `@handles` or `tiktok.com`
profile URLs in the `profiles` input and run this Actor. It reads the public, logged-out profile
page, so no TikTok account, cookie or session token is required.

**Is the follower count exact or rounded?** Exact. The TikTok Profile Scraper returns
`followerCount` as `95200000` where the page renders "95.2M", and `likeCount`, `followingCount` and
`videoCount` are exact integers too.

**What identifier format does the input take?** Any of three, and they are treated as the same
account: a bare handle (`nba`), an `@handle` (`@khaby.lame`) or a full profile URL
(`https://www.tiktok.com/@nba`).

**How many profiles can one run collect?** Up to 500 per run, which is the ceiling on the `profiles`
input, and this Actor returns one row per profile.

**Does it return videos, comments, hashtags or sounds?** No. This Actor returns profile-level fields
only — the ten columns listed above.

**What happens with a handle that does not exist?** It is recorded under `failures` in the run's
`SUMMARY` and the rest of the batch still returns.

**Can I search TikTok by keyword or hashtag?** No. You supply the handles — the TikTok Profile
Scraper does not do discovery.

### Limitations

Profile-level data only: no videos, comments, hashtag or keyword search, no sounds, and no follower
lists. Private accounts expose only what TikTok publishes on the public profile. Only `tiktok.com`
URLs are accepted.

### Free plan limit

Runs started from an Apify **free plan** stop at **250 requests and 250 results**, and the run
reports that it reached the limit. Any paid plan runs the full input and `maxItems` you set.

The limit exists because this Actor fetches through our own infrastructure, which Apify does not
cover for free-plan runs. It binds on requests as well as results so that a large input list cannot
spend those fetches for rows the run will not return.

# Actor input Schema

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

TikTok handles (with or without @) or profile URLs.

## `maxItems` (type: `integer`):

Global cap on dataset items. Runs started from an Apify free plan stop at 250 requests and 250 results; any paid plan runs the full amount.

## `concurrency` (type: `integer`):

Targets fetched in parallel.

## Actor input object example

```json
{
  "profiles": [
    "tiktok"
  ],
  "maxItems": 1000,
  "concurrency": 5
}
```

# Actor output Schema

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

Collect public TikTok profiles by handle - exact follower, following, like and video counts, bio, nickname and verification.

## `summary` (type: `string`):

Item count, failure count and every target that failed, with its error.

# 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": [
        "tiktok"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("usestring/tiktok-profiles").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": ["tiktok"] }

# Run the Actor and wait for it to finish
run = client.actor("usestring/tiktok-profiles").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": [
    "tiktok"
  ]
}' |
apify call usestring/tiktok-profiles --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,usestring/tiktok-profiles"
        }
    }
}

```

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/jWgJLQou5piDfFNLI/builds/Fiw5XthrtVMmHwAJn/openapi.json
