Better Fetch

TikTok Scraper

Extract public TikTok profile metadata from a username or profile URL, including display name, bio, avatar, verification, follower count, following count, likes, video count, and bio link.

Socialv0.1.0~1 credit/runApify StoreSource on GitHub

Overview

TikTok Scraper gives agents a dependable first step for public TikTok research. Provide a username or public profile URL and the tool renders TikTok through Better Fetch, reads the public page hydration payload, and returns normalized profile metadata without using private cookies, account credentials, or the official TikTok API.

Last validated: Jul 3, 2026

Playground

TikTok username, with or without the @ prefix. Use username or profile_url.

Public TikTok profile URL. Use username or profile_url.

Sign in to run this tool

~1 credit per run · runs against your account

Input

usernamestring

TikTok username, with or without the @ prefix. Use username or profile_url.

profile_urlstring (uri)

Public TikTok profile URL. Use username or profile_url.

Output

biostring

Profile bio text

avatarstring

Largest visible avatar URL

sec_uidstring

TikTok secUid identifier

user_idstring

TikTok user id

bio_linkstring

Visible website or bio link

categorystring

Visible commerce/account category when present

usernamestringrequired

TikTok unique username

verifiedboolean

Whether TikTok marks the profile verified

created_atstring

ISO timestamp when TikTok exposes account creation time

like_countinteger

Visible total likes/heart count

profile_urlstringrequired

Fetched public TikTok profile URL

share_titlestring

TikTok share title

video_countinteger

Visible video count

display_namestringrequired

Visible display name

commerce_userboolean

Whether TikTok marks the account as commerce-enabled

follower_countinteger

Visible follower count

following_countinteger

Visible following count

private_accountboolean

Whether the profile is marked private

share_descriptionstring

TikTok share description

Examples

openai-profile

{
  "username": "openai"
}

Use cases

Creator research

Collect visible TikTok profile metadata for creator discovery, influencer vetting, social listening, or campaign planning workflows.

Profile monitoring

Track public follower, following, likes, and video counts over time for profiles that matter to a brand, product, or market.

Agent context

Let an agent inspect a public TikTok account and reason over its bio, verification, avatar, public counts, and linked website.

FAQ

Does TikTok Scraper need a TikTok account?

No. It reads public profile pages visible to Better Fetch and does not use private TikTok cookies, passwords, API tokens, or logged-in sessions.

Does this version scrape every TikTok video or hashtag result?

No. Version 0.1 focuses on public profile metadata. Video, hashtag, and search result extraction should be added as separate validated capability slices.

Why are some fields omitted for certain profiles?

The tool only returns fields present in TikTok's public page payload. Private, blocked, removed, or region-limited profile data is not guessed.

Use it anywhere

MCP (Claude, Cursor, any client)

# Add the Better Fetch MCP connector (or paste the URL into
# Claude → Settings → Connectors → Add custom connector):
claude mcp add --transport http better-fetch https://betterfetch.co/api/mcp \
  --header "Authorization: Bearer bf_your_key_here"

# Then ask for the tool by name: tiktok_scraper

REST

curl -sS -X POST "https://betterfetch.co/api/tools/tiktok_scraper/run" \
  -H "Authorization: Bearer bf_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"input": {"username":"openai"}}'

Run locally

git clone https://github.com/better-fetch/tiktok-scraper && cd tiktok-scraper && npm i
BETTER_FETCH_API_KEY=bf_your_key_here npx bf-tool run --input '{"username":"openai"}'