TikTok Profile Scraper — Creator Data & Performance Extraction avatar

TikTok Profile Scraper — Creator Data & Performance Extraction

Pricing

from $40.00 / 1,000 profile scrapeds

Go to Apify Store
TikTok Profile Scraper — Creator Data & Performance Extraction

TikTok Profile Scraper — Creator Data & Performance Extraction

Pull real TikTok creator numbers at scale — followers, engagement, video performance, growth velocity — with a 3-tier fallback that keeps working when TikTok fights back. Bulk usernames in, clean rows out. You only pay for profiles that actually return.

Pricing

from $40.00 / 1,000 profile scrapeds

Rating

0.0

(0)

Developer

Creator Fusion

Creator Fusion

Maintained by Community

Actor stats

0

Bookmarked

77

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

TikTok Profile Scraper — Followers, Likes & Video Stats API for AI Agents

Extract public TikTok profile data — followers, likes, videos, bio, verified status, and stable user IDs — and get typed JSON rows back (full output schema below). Built for AI agents, data pipelines, and creator-intelligence workflows that need a row every run: a three-tier fallback (full page → embed → oEmbed) keeps returning real stats when TikTok blocks the primary path, deterministic field names never drift between runs, and failures fail loud instead of billing you for silent empty rows.

Why agents use this actor

  • Deterministic typed output — every row follows the dataset schema below; field names and types never change between runs.
  • Clear error semantics — invalid input fails fast with exit code 1; empty or partial runs say so in the status message (NO RESULTS: / PARTIAL:) and in the RUN_OUTCOME record, and failed profiles are never dataset rows, so you are never charged for them.
  • No auth needed — scrapes public profile pages; no TikTok account, cookies, or session tokens required.
  • Cost-predictable — you pay per successful profile row plus proxy traffic, so autonomous budget guards work.
  • Rate-limit handling built in — per-profile retries with backoff, anti-bot detection, and a two-stage fallback (embed page, then oEmbed) so blocked page requests still return real follower/like counts wherever possible.

Input schema

FieldTypeRequiredDefaultDescription
usernamesarray of stringsno*—TikTok usernames to scrape (without @).
urlsarray of stringsno*—TikTok profile URLs (alternative to usernames).
usernamestringno*—Convenience field for one profile. Equivalent to one entry in usernames.
urlstringno*—Convenience field for one profile URL. Equivalent to one entry in urls.
profileUrlsarray of stringsno*—Alias for urls.
proxyConfigurationobjectnoApify residential, USProxy settings. Defaults to Apify residential proxy with US exits (billed to your account) — TikTok blocks datacenter IPs and direct connections, and serves full profile data reliably only to US IPs. Residential without a country also uses US exits; a country you pick gets the first try, and if it returns HTTP 451 or pages without the profile data, the run switches to US exits. Custom proxy URLs are used as given.
maxRetriesintegerno3Retry attempts per profile (1–10).
delayBetweenRequestsintegerno1000Delay in ms between profiles (0–10000).
navigationTimeoutMsintegerno25000Per-request timeout in ms (5000–120000).

* At least one of usernames, urls, username, url, or profileUrls must yield a valid TikTok username, otherwise the run fails fast with exit code 1. All inputs are deduplicated; @ prefixes and full URLs are normalized automatically.

Minimal input:

{ "usernames": ["tiktok"] }

Output schema

One dataset row per successfully scraped profile. Three extraction modes share the same field set:

  • http-script — full data parsed from the TikTok page's embedded JSON. All fields populated when available.
  • embed — the profile page was blocked, so data comes from TikTok's embed surface (tiktok.com/embed/@user). Returns real stats: followers, following, likes, nickname, bio, verified, private, userId. videos, avatarUrl, and secUid may be null.
  • oembed-fallback — both page and embed surfaces blocked; data comes from TikTok's public oEmbed API. Returns a partial row: nickname, avatarUrl (sometimes), and identity fields only — all count fields (followers, following, likes, videos) and bio, verified, private, secUid, userId are null.
FieldTypeNullableDescription
successbooleannoAlways true for dataset rows. Failures never enter the dataset (see Error semantics).
extractionModestringno"http-script", "embed", or "oembed-fallback".
usernamestringnoUnique handle, lowercase, without @.
sourceUrlstringnoCanonical profile URL.
nicknamestringyesDisplay name.
biostringyesProfile bio text. Null in oembed-fallback mode.
verifiedbooleanyesVerified badge. Null in oembed-fallback mode.
privatebooleanyesPrivate account flag. Null in oembed-fallback mode.
followersnumberyesFollower count. Null in oembed-fallback mode.
followingnumberyesFollowing count. Null in oembed-fallback mode.
likesnumberyesTotal likes (hearts) across all videos. Null in oembed-fallback mode.
videosnumberyesPublic video count. Null in oembed-fallback mode.
avatarUrlstringyesProfile picture URL (largest variant available).
secUidstringyesTikTok's stable secure user ID. Null in oembed-fallback mode.
userIdstringyesTikTok's internal numeric user ID (as string). Null in oembed-fallback mode.
scrapedAtstringnoISO 8601 scrape timestamp.

Example row, http-script mode:

{
"success": true,
"extractionMode": "http-script",
"username": "tiktok",
"sourceUrl": "https://www.tiktok.com/@tiktok",
"nickname": "TikTok",
"bio": "The world's destination for short-form video.",
"verified": true,
"private": false,
"followers": 89200000,
"following": 3,
"likes": 358400000,
"videos": 1024,
"avatarUrl": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/...",
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"userId": "107955",
"scrapedAt": "2026-08-15T04:10:08.912Z"
}

Example row, oembed-fallback mode (real output):

{
"success": true,
"extractionMode": "oembed-fallback",
"username": "charlidamelio",
"sourceUrl": "https://www.tiktok.com/@charlidamelio",
"nickname": "charli d’amelio",
"bio": null,
"verified": null,
"private": null,
"followers": null,
"following": null,
"likes": null,
"videos": null,
"avatarUrl": null,
"secUid": null,
"userId": null,
"scrapedAt": "2026-08-15T04:10:08.912Z"
}

Error semantics

  • Invalid input (nothing usable to process): the run fails fast with exit code 1 and a status message that shows a working example. Nothing is pushed or charged.
  • Every profile succeeds: the run succeeds and the status message gives the counts.
  • Some profiles fail: the run still succeeds. The status message starts PARTIAL: and says the failed profiles were not charged. Failed profiles are listed in the SUMMARY record, never as dataset rows.
  • Nothing usable comes back: the run still exits normally (it is not marked FAILED, so failure webhooks and alerts fire only on real errors). The status message starts NO RESULTS: and says nothing was charged; the reasons are in SUMMARY.
  • RUN_OUTCOME record: every run writes { outcome, ok, errors, skippedForBudget, chargedForErrors, message } to the default key-value store, where outcome is succeeded, partial, no_results or invalid_input. Webhooks, Zapier, Make, n8n and MCP agents can read it (it is linked from the run's output) instead of parsing text.
  • Run time limit: profiles not reached before the time limit are listed in SUMMARY.pendingUsernames so you can re-run just those.

Use from AI agents (MCP)

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?tools=apricot_blackberry/tiktok-profile-scraper",
"headers": { "Authorization": "Bearer <YOUR_APIFY_TOKEN>" }
}
}
}

Works in Claude, Cursor, ChatGPT deep research connectors, and any MCP client; the input schema above is the tool's parameter schema.

Use from code

curl:

curl -X POST "https://api.apify.com/v2/acts/apricot_blackberry~tiktok-profile-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"usernames": ["tiktok"]}'

JavaScript (apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('apricot_blackberry/tiktok-profile-scraper').call({
usernames: ['tiktok'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python (apify_client):

from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("apricot_blackberry/tiktok-profile-scraper").call(
run_input={"usernames": ["tiktok"]}
)
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)

Use from automation platforms

  • n8n / Make / Zapier: use the native Apify integration and pick TikTok Profile Scraper (apricot_blackberry) by name.
  • LangChain / LlamaIndex: use the Apify tool/actor wrappers with actor ID apricot_blackberry/tiktok-profile-scraper.
  • Webhooks: Apify can fire a webhook on ACTOR.RUN.SUCCEEDED/FAILED for this actor, so downstream pipelines pick up new profile rows without polling.

Pricing

Pay per event: $0.10 actor start + $0.04 per successfully scraped profile, plus proxy traffic. Residential proxy is used by default and is billed to your account — TikTok blocks datacenter IPs, so this is required for full profile data. Failed profiles produce no dataset rows and are not billed.

Use cases

  • Creator talent scouts: track emerging TikTok creators and follower growth over time by running daily and diffing followers.
  • Marketing teams: qualify creators for partnerships with real follower, likes, and video counts.
  • Competitive intelligence: monitor competitor accounts and engagement footprints.
  • Cross-platform pipelines: secUid/userId are stable identifiers you can join against other TikTok datasets.

FAQ

Why are some rows missing follower counts? Those rows have extractionMode: "oembed-fallback" — TikTok blocked the full page request and the actor fell back to TikTok's public oEmbed API, which only exposes name and avatar. Re-run later to recover full rows; the default US residential exits give the most reliable full data.

Do I need a TikTok account or cookies? No. Only public profile data is scraped.

Can I pass profile URLs instead of usernames? Yes — urls, profileUrls, or single url all accept https://www.tiktok.com/@username links.

What happens if a username doesn't exist? It ends up in the SUMMARY record's failures list with the error; it never appears in the dataset and is not billed.

Changelog

See ./CHANGELOG.md. Latest: output dataset schema added, agent-first documentation, MCP integration instructions, input aliases (url, profileUrls, navigationTimeoutMs) exposed in the input schema.


Built by Creator Fusion — OSINT tools that actually work.