# TikTok Profile & Stats Scraper — No Login, No Cookies (`nick.cheng/tiktok-profile-stats-scraper`) Actor

Look up TikTok accounts by handle and get the full profile with follower, like and video counts. No login, no cookies, no proxies. Charged only for accounts actually found.

- **URL**: https://apify.com/nick.cheng/tiktok-profile-stats-scraper.md
- **Developed by:** [Nicholas Cheng](https://apify.com/nick.cheng) (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 $20.00 / 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 & Stats Scraper

**Give it a handle, get that account's full profile as clean JSON.** No login, no cookies, no session tokens, no proxy configuration, no signature reverse-engineering. Pass `@nasa`, `duolingo`, or `https://www.tiktok.com/@nba` and get back a structured record you can drop into a database or hand to an agent.

**You are charged only for accounts that were actually found.** A banned, deleted, or mistyped handle produces an explanatory row and costs nothing.

| | |
|---|---|
| **Input** | TikTok handles (`@name` or `name`) and/or profile URLs |
| **Output** | One profile row per account: identity, bio, counts, and interaction settings |
| **Price** | **$0.02 per profile — the same on every Apify plan** |
| **Video lists** | **Not supported.** See [What this Actor cannot do](#what-this-actor-cannot-do) |

***

### What you get

```json
{
  "itemType": "profile",
  "handle": "duolingo",
  "url": "https://www.tiktok.com/@duolingo",
  "userId": "6803362232132698118",
  "secUid": "MS4wLjABAAAA…",
  "nickname": "Duolingo",
  "bio": "the unhinged owl",
  "bioLink": "https://duolingo.com",
  "avatar": "https://p16-sign-va.tiktokcdn.com/…",
  "isVerified": true,
  "isPrivate": false,
  "createdAt": "2021-01-14T00:00:00.000Z",

  "followers": 17800000,
  "following": 312,
  "likes": 494600000,
  "videoCount": 1159,
  "friendCount": 208,

  "isBusinessAccount": true,
  "businessCategory": "Media & Entertainment",
  "commentSetting": "everyone",
  "duetSetting": "everyone",
  "stitchSetting": "everyone",
  "downloadSetting": "everyone",
  "openFavorite": true,
  "isUnderAge18": false
}
```

Counts are real numbers, not display strings — you can sort and filter without parsing `"17.8M"` first.
`createdAt` is the account creation date as a real ISO timestamp, which is one of the more useful
signals for spotting a freshly-minted account behind a large follower number.

**`secUid`** is TikTok's stable internal identifier. Handles get changed; `secUid` does not. If you
are keeping a watchlist, store that.

**The interaction settings** — comment, duet, stitch, download — are there because creator vetting
usually needs them. Whether a creator allows duets decides whether a campaign idea is even possible,
and it is not something you can infer from follower count.

***

### Input

```json
{
  "handles": ["@nasa", "duolingo", "netflix"],
  "startUrls": ["https://www.tiktok.com/@nba"],
  "maxItems": 0
}
```

Handles and URLs are merged and de-duplicated, so a messy list pasted from a spreadsheet is fine.

***

### Pricing

**$0.02 per profile, on every Apify plan** — Free, Bronze, Silver, Gold, Platinum, Diamond. Check
the Pricing tab: all six columns are identical. That is worth checking on any Actor you compare,
including this one, because the price a listing advertises in its title is not always the price a
free-plan run pays.

One charge event, because this Actor makes one request and delivers one thing. Splitting a single
fetch into several billable events to look tiered would be the kind of billing trick this Actor
exists to avoid.

#### What you are not charged for

| | What happens here |
|---|---|
| **Accounts that do not exist** | Banned, deleted, or mistyped handles produce one row marked `chargedForThis: false`. Nothing is billed. |
| **Empty or placeholder rows** | If the profile did not come back, no profile row is written. There are no filler rows in your dataset. |
| **The free plan** | Same code path, same fields, same limits. No demo mode, no row cap, no nulls in place of data. |

***

### What this Actor cannot do

Being straight about this up front so you do not buy the wrong tool:

- **No video lists.** TikTok does not render a creator's videos into the profile page for
  logged-out clients — the feed is loaded afterwards through a signed API call. Returning video
  lists would mean reproducing that signature, which this Actor does not do.
- **No hashtag pages, no Explore, no search.** Those pages load 200 OK for logged-out clients and
  then render nothing at all. We checked; there is no data in them to extract.
- **No comments, no followers, no following lists.** Same restriction.
- **No private account contents.** Private accounts return their public profile shell with
  `isPrivate: true`, which is itself the answer to "is this account private".

**This delivers less than the largest Actor in this category, and it is priced accordingly** — well
under half. If you need video lists, buy that one instead; this is the right tool when what you
actually need is account-level data for a list of creators, and you would rather pay a small flat
rate for exactly that.

***

### What it is good for

- **Creator vetting and influencer shortlists** — follower and like counts, verification, business
  status, account age, and whether duets and stitches are even allowed.
- **Watchlists** — re-run a list of handles on a schedule and diff the counts. Storing `secUid`
  means a handle change does not break the series.
- **Competitor and brand monitoring** — one run covers as many accounts as you pass.
- **Enriching a list you already have** — handles in, structured records out, no per-account
  clicking.

***

### How it stays working

Profile pages are read from the JSON that TikTok itself renders into the page for logged-out
visitors. There is no login, no cookie jar, no proxy pool, and no signature emulation, which means
there is nothing in the path that breaks when accounts get banned or a signing algorithm rotates.
Measured across twelve consecutive accounts from a plain datacenter address: twelve out of twelve,
no throttling.

***

### Integrating

Every run writes to a standard Apify dataset — REST API, JavaScript and Python clients, scheduled
runs, webhooks, and the MCP server for agent use. Two dataset views are provided: **Profiles** for
the headline numbers and **Creator vetting** for the fields a shortlist actually turns on.

# Actor input Schema

## `handles` (type: `array`):

Accounts to look up. Accepts @name or plain name. Pass as many as you like — they are all resolved in one run.

## `startUrls` (type: `array`):

TikTok profile URLs, for example https://www.tiktok.com/@nasa. Handles are read out of the URL, so links copied from a browser work as-is.

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

Hard ceiling on rows for the whole run. Leave at 0 for no limit.

## Actor input object example

```json
{
  "handles": [
    "@nasa",
    "duolingo"
  ],
  "startUrls": [
    "https://www.tiktok.com/@nba"
  ],
  "maxItems": 0
}
```

# Actor output Schema

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

No description

## `vetting` (type: `string`):

No description

## `summary` (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 = {
    "handles": [
        "@nasa",
        "duolingo"
    ],
    "startUrls": [
        "https://www.tiktok.com/@nba"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("nick.cheng/tiktok-profile-stats-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 = {
    "handles": [
        "@nasa",
        "duolingo",
    ],
    "startUrls": ["https://www.tiktok.com/@nba"],
}

# Run the Actor and wait for it to finish
run = client.actor("nick.cheng/tiktok-profile-stats-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 '{
  "handles": [
    "@nasa",
    "duolingo"
  ],
  "startUrls": [
    "https://www.tiktok.com/@nba"
  ]
}' |
apify call nick.cheng/tiktok-profile-stats-scraper --silent --output-dataset

```

## MCP server setup

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