# TikTok Audience Demographics — Follower Countries per Creator (`steadyfetch/tiktok-audience-demographics`) Actor

TikTok audience demographics per creator, no login, no cookies: put a handle and get the country breakdown of a sample of the creator's followers — each country's share and count, the top three as columns, sample size and follower count. Estimated from a follower sample. Priced per creator.

- **URL**: https://apify.com/steadyfetch/tiktok-audience-demographics.md
- **Developed by:** [Steadyfetch Team](https://apify.com/steadyfetch) (community)
- **Categories:** Social media, Marketing, Lead generation
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $120.00 / 1,000 creators

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?

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 Audience Demographics — Follower Countries per Creator

**Put a TikTok handle and get the country breakdown of the creator's followers: each country's share and count, the top three countries as their own columns, the sample size and the follower count. No login, no cookies, no start fee — from $0.12 per creator, estimated from a follower sample.**

Put one or more creators in the list — `nasa`, `@patagonia` or a profile link (`https://www.tiktok.com/@nasa`). For each creator the actor checks the profile, then reads the countries of a sample of its followers, and returns ONE flat row per creator. Built for influencer-marketing teams, brands vetting creators before a deal, and agents that need "where is this creator's audience?" as data.

**Using an AI agent?** Pin this actor in Apify's MCP server with one link: `https://mcp.apify.com?tools=steadyfetch/tiktok-audience-demographics`

- **Actor id:** `steadyfetch/tiktok-audience-demographics`
- **Input:** `{ "handles": ["patagonia", "@nasa"], "topCountries": 10 }`
- **Cap the bill:** set `maxTotalChargeUsd` on the run (a run option, not Actor input), e.g. `1.00` — no creator is read unless your cap can still pay for it.
- **Price:** from $0.12 per creator ($0.15 on the Apify free plan); a creator the profile check turns away (not on TikTok, private, or under your follower floor) is billed one $0.005 profile check instead. Full table below.
- **How often it changes:** slowly — a big account's country split moves a few points in a week. Re-read monthly; a creator read in the last 7 days is re-used from your own account and not charged again.

*Unofficial, not affiliated with TikTok or ByteDance.*

### A sample, not a census — read this first

TikTok shows a **sample** of a creator's followers — about 100 people on a small account and over 1,000 on a very large one (we measured 97 on a 183-follower account, 121 on a 130,000-follower brand, 170–187 on a 250,000-follower brand and 1,243 on a 2.1-million-follower account). The countries and shares here are **estimated from that sample**, never counted over the whole audience, and every row says how many followers were sampled (`sampleSize`). Read a share as "about": on a sample of 150, one follower moves a share by under one point, and a country with 1 or 2 sampled followers may be noise. There is **no age and no gender** — TikTok does not show them, and this actor does not guess them.

### What you get

One row per creator:

| Column | What it holds |
|---|---|
| `handle` · `profileUrl` · `nickname` · `verified` | the creator, its link, its display name and the verified badge |
| `followers` | the creator's follower count |
| `sampleSize` · `countriesInSample` | how many followers were sampled, and how many countries they live in |
| `topCountry` · `topCountryCode` · `topCountryShare` | the largest country, its ISO code and its share of the sample (percent) |
| `secondCountry` · `secondCountryShare` · `thirdCountry` · `thirdCountryShare` | the next two |
| `audience` | every country in the sample (or your `topCountries`), largest first: `{country, countryCode, share, count}` |
| `fromCache` · `sampledAt` | `true` when the row was re-used from your account's earlier read, and when the sample was read |

Every row also carries `charged`, `chargedEvents`, `status`, `retryable` and `statusReason`, so you can reconcile your bill from the dataset itself. The last row (`run_summary`) is the receipt.

### How to use it

1. Put the creators in **TikTok creators**, one per line — a handle or a profile link. Up to 100 creators a run.
2. Optional: **Countries to keep per creator** (default: all), **Skip creators with fewer followers than** (default 100) and **Re-use a breakdown read in the last N days** (default 7). Press Start.

Refused before anything is read, and never charged: a link to one video or photo post, a share link (`vm.tiktok.com/…`), another website, and a value that is not a handle.

### Pricing

Pay per result, all-inclusive (no platform usage on top), no start fee:

| Event | Apify Free plan | Bronze | Silver | Gold and up |
|---|---|---|---|---|
| Creator (one creator delivered with a fresh country breakdown) | $0.15 | $0.13 | $0.125 | $0.12 |
| Profile check | $0.005 | $0.005 | $0.005 | $0.005 |

That is $0.12 per creator at Gold.

**The profile check.** Every creator's profile is checked first, and that check is a read we pay for. When it shows the handle is not on TikTok, the account is private, or it has fewer followers than your **minFollowers**, the follower sample is not read and the creator is billed **one $0.005 profile check** on its own row instead of the creator fee — never both. A sample that comes back with no country, or a creator TikTok does not answer for, is not charged.

**Re-use.** A creator your account read within **maxCacheDays** (default 7) is answered from a copy kept in your own Apify account (a key-value store called `tiktok-audience-demographics-cache`), marked `fromCache: true` with the date it was read, and not charged. Set it to 0 to read fresh — every fresh read is charged at the creator price.

Examples: 50 creators at Gold = $6.00. 50 creators of which 4 are private = 46 × $0.12 + 4 × $0.005 = $5.54. The same 50 again two days later = $0 (re-used).

### Good to know

- **How long it takes:** one creator takes about 5 to 25 seconds, so 100 creators take 10 to 40 minutes.
- **A time limit ends the collecting, never the delivering**: creators already read are delivered, and the receipt says which limit stopped the run.
- **Free plan:** on the Apify free plan a run reads up to 3 creators per 24 hours; the row says when it resets. Paid plans have no daily allowance.
- **Standby endpoint:** one creator is also available as one HTTP request (`GET /?handle=nasa`) on paid Apify plans, at the same prices. The endpoint does not use your account's stored copies, so every creator it returns is a fresh, charged read.
- **A bare Start** (no creator) returns a stored sample breakdown of @patagonia and charges nothing.

### Support

Questions, a creator that returns something odd, or a column you need: open an issue on the Issues tab and it will be looked at.

If it earned its keep, a rating helps other buyers find it, and saving the actor keeps it one click away.

# Changelog

This Actor's version history is a separate document: https://apify.com/steadyfetch/tiktok-audience-demographics/changelog.md

# Actor input Schema

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

One creator per line: the handle ("nasa" or "@nasa") or the profile link (https://www.tiktok.com/@nasa). Up to 100 creators a run. A video link, a share link or another website gets its own uncharged row saying how to type the creator instead.

## `topCountries` (type: `integer`):

How many countries to keep in each creator's "audience" list, largest share first. 0 (default) keeps every country in the sample. The top three countries are always in their own columns.

## `minFollowers` (type: `integer`):

A creator with fewer followers than this is not sampled: under about 100 followers the sample is a few dozen people, so one person moves a share by several points. Such a creator is billed one small profile check instead of the creator fee. Default 100; 0 samples every public account.

## `maxCacheDays` (type: `integer`):

A creator your account already read within this many days is answered from your own account's stored copy (marked fromCache, with the date it was read) and not charged again. A follower-country split moves slowly, so a week-old answer is still a good answer. 0 always reads fresh and charges each creator. Default 7.

## `maxRunSeconds` (type: `integer`):

Stop reading new creators after this many seconds (one creator takes about 5 to 25 seconds). Creators already read are still delivered. Leave empty for no limit beyond the run timeout.

## Actor input object example

```json
{
  "topCountries": 0,
  "minFollowers": 100,
  "maxCacheDays": 7
}
```

# Actor output Schema

## `rows` (type: `string`):

One row per creator you named: handle, profile link, display name, verified, follower count, the number of followers TikTok sampled (sampleSize), how many countries the sample holds, the top three countries with their share of the sample as their own columns, and `audience` — every country in the sample (or your topCountries), each with its share (percent of the sample) and count. The shares are estimates from a sample of the followers (about 100 on a small account, over 1,000 on a very large one), never a count of the whole audience; no age or gender. Every row carries `charged`, `chargedEvents` and `status`, so the invoice reconciles from the dataset itself. A creator delivered with a fresh breakdown is charged once, as a `creator`. A creator re-used from your account's earlier read (fromCache: true) is not charged. A creator the profile check turned away (not on TikTok, private, or under minFollowers) is billed one `profile-check` on its own row instead.

## `misses` (type: `string`):

One row for each creator without a breakdown, saying why: `not_found` (no TikTok account by this handle), `private_account` (its followers cannot be read), `no_match` (fewer followers than your minFollowers) — these three billed one profile check when the profile check was a paid read; `no_data` (the sample came back with no country — not charged), `input_error` (a video link, a share link or another website — not charged, the row names the fix), `feed_unavailable` (TikTok did not answer — please re-run, not charged), `limit_reached` (this run or this actor reached its collection limit — the row gives the next step), `skipped_budget` / `skipped_deadline` (your maximum charge or the run clock stopped it first) and `skipped.free_plan_allowance` (Apify free plan only: the plan's daily allowance on this actor; the row names the reset time).

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

The run's receipt: creators named and delivered, how many were fresh and how many re-used, how many were not found, private, under your follower floor or without countries, the charged events and what stopped the run. Uncharged.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyfetch/tiktok-audience-demographics").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("steadyfetch/tiktok-audience-demographics").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 '{}' |
apify call steadyfetch/tiktok-audience-demographics --silent --output-dataset

```

## MCP server setup

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

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/bf4yySQr6SWY2U7ta/builds/ABRfl9CioSq3RT2Be/openapi.json
