TikTok Scraper — Videos, Creators, Hashtags, Comments & Trends avatar

TikTok Scraper — Videos, Creators, Hashtags, Comments & Trends

Pricing

from $0.90 / 1,000 results

Go to Apify Store
TikTok Scraper — Videos, Creators, Hashtags, Comments & Trends

TikTok Scraper — Videos, Creators, Hashtags, Comments & Trends

TikTok scraper & real-time data API for videos, creators, hashtags, sounds, comments & search suggestions. Keyword video search, influencer profiles, engagement stats, related videos & webhooks. Structured JSON for marketing, influencer research, trend analysis, brand monitoring & LLM pipelines.

Pricing

from $0.90 / 1,000 results

Rating

0.0

(0)

Developer

Chidubem Aneke

Chidubem Aneke

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

TikTok Real-Time Data

Collect live TikTok videos, creators, hashtags, sounds, suggestions, and comments as clean, structured JSON — streamed to your Apify dataset in real time.

Built for marketers, agencies, researchers, data teams, and AI pipelines that need reliable TikTok intelligence without building and maintaining a collection stack from scratch.


Why this Actor

TikTok Real-Time DataTypical DIY scrapers
SetupCheckbox UI — click Start with prefilled keywordsWeeks of brittle scripts
OutputStructured JSON, one row per itemMessy HTML / mixed payloads
ScaleLong runs stream to the dataset (low RAM risk)Often buffers everything in memory
DeliveryDataset + optional real-time webhookManual export only
AI-readyLLM / MCP friendly recordsAd-hoc parsing required
CoverageVideos, creators, trends, suggestions, comments, URL pasteUsually one surface only

What you get

Every record includes featureType and scrapedAt so you can filter, join, and pipe into any workflow.

Videos (featureType: "video")

FieldDescription
videoSourceHow the video was found: keyword, url, related, user, hashtag, scrape
videoId, url, description, author, authorIdIdentity
playCount, diggCount, commentCount, shareCount, collectCountEngagement
createTime, durationSec, musicTitle, musicAuthor, hashtags[]Media context
coverUrl, downloadUrlAssets when available
searchQuery, positionTraceability
engagementFetchedFull engagement details were applied
accountFollowerCount, accountVerified, accountSignature, …Optional creator fields on the same row

Creators (featureType: "account")

FieldDescription
uniqueId, userId, nickname, urlIdentity
signature, bioLink, avatarUrl, verifiedBio & trust
followerCount, followingCount, heartCount, videoCountReach
friendCount, privateAccount, isCommerce, language, createTimeExtra signals
discoveryQueryKeyword that discovered this creator (keyword mode)

Hashtags & sounds

featureTypeKey fields
hashtagname, views, videoCount, description, coverUrl, url
soundmusicId, title, author, videoCount, coverUrl, url

Suggestions (featureType: "suggestion")

FieldDescription
contentSuggested phrase / demand language
querySeed keyword
isHashtag, positionClassification & rank

Comments (featureType: "comment")

FieldDescription
commentId, text, author, authorIdIdentity
diggCount, replyCountEngagement
videoId, url, createTime, positionParent video & order

Set includeRaw: true only if you need extended source fragments (larger output, advanced users).


Features

Keyword videos — on by default

Search by topic. Prefill: cooking, gym tips — click Start immediately. Each section has its own engagement, author details, and filters.

Videos by URL

Open specific TikTok video links or IDs, with optional enrichment toggles for this path.

Seed video URLs → related recommendations, with path-level enrichment toggles.

Creator video grids

Recent posts from usernames (for full profiles, use Search or discover creators), with enrichment + min plays / date filters.

Search or discover creators

Two modes:

  • By username / URL — deep profiles for known handles
  • Search / discover by keyword — find creators matching a topic, then load full stats

Optional: also fetch each creator’s recent videos.

Hashtags & Sounds

  • Discover — trending hashtags and sounds for your market
  • Specific hashtags — meta for named tags, with optional videos under each tag

Search Suggestions

Autocomplete / related phrases TikTok associates with your keywords — ideal for demand research and content planning.

Comments

Three ways to pick videos: search by keyword, paste URLs, or reuse run-collected videos. Set videos per keyword, comments per video, and optional min comment likes.

Scrape by URL

Paste any TikTok video, profile, or hashtag URL — the Actor detects the type and returns the right record shape.

Webhooks

Every record is always saved to the run dataset. Optionally POST each record to your webhook URL (CRM, Slack, Zapier, Make, custom API) as it is collected.


Use cases

  • Content & trend research — keyword videos with plays, likes, and music signals
  • Creator discovery & outreach — find profiles by topic; export followers, bio, and bio link
  • Brand monitoring — track hashtags, sounds, and mentions over time
  • Competitive intelligence — related videos and creator grids around competitors
  • Influencer shortlists — filter by engagement and account size
  • Comment listening — sample audience language under high-performing videos
  • AI & LLM pipelines — structured JSON for RAG, scoring, summaries, and draft content
  • CRM / warehouse feeds — stream via dataset API or real-time webhook

LLM & MCP integration

Output is JSON Lines–friendly structured data — ideal for ChatGPT, Claude, Gemini, LangChain, LlamaIndex, and custom agents.

  1. Run the Actor with the features you need (prefilled Videos works out of the box).
  2. Fetch dataset items via Apify API or export JSON/CSV.
  3. Pass records to your LLM with a system prompt, or index into a vector store.

Example: video record for an LLM prompt

{
"featureType": "video",
"videoSource": "keyword",
"videoId": "7635410154141338893",
"url": "https://www.tiktok.com/@creator/video/7635410154141338893",
"description": "Easy weeknight dinner tips #cooking",
"author": "creator",
"playCount": 11900000,
"diggCount": 850000,
"commentCount": 1384,
"searchQuery": "cooking",
"scrapedAt": "2026-07-16T12:00:00.000Z"
}

Apify MCP (Model Context Protocol)

Use the Apify MCP server so AI assistants can:

  • Run this Actor with natural-language instructions
  • Read dataset results directly in the chat
  • Chain with other Actors (e.g. collect → score → CRM)

Typical MCP tool flow:

User: "Find 30 cooking videos with high play counts and summarize hooks"
MCP runs Actor with enableVideoKeyword, videoKeywords=["cooking"], videoFetchEngagement=true
MCP reads dataset items
LLM summarizes descriptions, music, and engagement

API quick start

curl -X POST "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"enableVideoKeyword": true,
"videoKeywords": ["cooking", "gym tips"],
"videoMaxResults": 20,
"videoKeywordFetchEngagement": true
}'

Dataset items: GET https://api.apify.com/v2/datasets/{datasetId}/items?format=json


Input reference

Enable only what you need. Features are independent. Defaults are prefilled so Start works immediately.

InputTypeDefaultDescription
Keyword videos
enableVideoKeywordbooleantrueSearch videos by topic
videoKeywordsstring[]["cooking","gym tips"]Search keywords
videoMaxResultsinteger20Max videos per keyword
videoKeywordFetchEngagementbooleantrueFull stats for keyword videos
videoKeywordFetchAccountDetailsbooleanfalseAuthor fields on keyword rows
videoKeywordMinPlays / videoKeywordPublishedWithinFilters for this path
Videos by URL
enableVideoUrlbooleanfalseOpen specific video links
videoUrls / videoIdsstring[]Video URLs or IDs
videoUrlFetchEngagement / videoUrlFetchAccountDetailsbooleanEnrichment for URL path
Related videos
enableVideoRelatedbooleanfalseRelated / recommended clips
relatedVideoUrlsstring[]Seed video URLs
relatedMaxResultsinteger16Related per seed
videoRelatedFetchEngagement / videoRelatedFetchAccountDetailsbooleanEnrichment for related path
Creator video grids
enableVideoUserbooleanfalseRecent posts from usernames
videoUsernamesstring[]Usernames without @
videoUserMaxResultsinteger20Videos per creator
videoUserFetchEngagement / filtersEnrichment + min plays / date
Search or discover creators
enableAccountsbooleanfalseLook up or discover creator profiles
accountModeenumurlurl or keyword
accountUsernames / accountUrlsstring[]Specific profiles
accountKeywordsstring[]Search / discover keywords
accountsPerKeywordinteger15Max creators per keyword
accountFetchRecentVideosbooleanfalseAlso fetch recent posts
accountRecentVideosMaxinteger12Videos per creator
Hashtags & Sounds
enableTrendsbooleanfalseTrends section
trendsModeenumdiscoverdiscover, hashtag, all
hashtagsstring[]Specific tags (without #)
hashtagFetchVideosbooleantrueVideos under each hashtag
hashtagMaxVideosinteger20Videos per hashtag
discoverMaxHashtags / discoverMaxSoundsinteger40 / 20Discover caps
discoverHydrateDetailsbooleantrueFull hashtag stats on discover
Suggestions
enableSuggestionsbooleanfalseSearch suggestions
suggestionKeywordsstring[]Defaults to video keywords if empty
suggestionsMaxResultsinteger15Per keyword
Comments
enableCommentsbooleanfalseComment rows
commentKeywordsstring[]Find videos by keyword, then load comments
commentSearchMaxVideosinteger5Videos per comment keyword
commentsMaxResultsinteger30Comments per video
commentMinDiggsinteger0Min likes on a comment (0 = off)
commentVideoUrls / commentVideoIdsstring[]Explicit video targets
commentsFromSearchResultsbooleanfalseAlso use videos from this run
commentsFromSearchMaxVideosinteger10Cap for run-collected videos
Scrape by URL
enableScrapeByUrlbooleanfalseAuto-detect URL type
scrapeUrlsstring[]Video / profile / tag URLs
Output & delivery
webhookUrlstringOptional real-time POST per record
webhookFormatenumjsonjson or slack
includeRawbooleanfalseExtended payloads

Full schema: .actor/input_schema.json or the Input tab on Apify Console.


Output reference

Each dataset row is one record. Filter by featureType:

featureTypeDescription
videoUnified video row (videoSource explains origin)
accountCreator profile
hashtagHashtag / trend tag
soundTrending or discover sound
suggestionSearch suggestion phrase
commentSingle comment

Dataset views in Apify Console: Overview, Videos, Creators, Hashtags, Sounds, Comments.

Export: JSON, CSV, Excel, RSS, or API.

Streaming & memory

Records are pushed to the dataset as they are collected. The Actor does not hold the full run result set in RAM, so long runs stay stable. Control volume with the limits inside each feature section (videos per keyword, comments per video, etc.).

Webhook delivery

  1. Set webhookUrl to your endpoint (HTTPS recommended).
  2. Choose webhookFormat: JSON (full record) or Slack (short message).
  3. Each successful dataset write is also POSTed to your URL (best-effort — webhook failures never drop dataset data).

Quick start examples

Keyword videos (default-style)

{
"enableVideoKeyword": true,
"videoKeywords": ["cooking", "gym tips"],
"videoMaxResults": 20,
"videoKeywordFetchEngagement": true
}

Search or discover creators by keyword

{
"enableVideoKeyword": false,
"enableAccounts": true,
"accountMode": "keyword",
"accountKeywords": ["gordon ramsay"],
"accountsPerKeyword": 10,
"accountFetchRecentVideos": true,
"accountRecentVideosMax": 5
}

Trending hashtags & sounds

{
"enableVideoKeyword": false,
"enableTrends": true,
"trendsMode": "discover",
"discoverMaxHashtags": 30,
"discoverMaxSounds": 15
}

Keyword videos + comments from this run + webhook

{
"enableVideoKeyword": true,
"videoKeywords": ["skincare"],
"videoMaxResults": 10,
"enableComments": true,
"commentsFromSearchResults": true,
"commentsFromSearchMaxVideos": 5,
"commentsMaxResults": 20,
"webhookUrl": "https://hooks.example.com/tiktok",
"webhookFormat": "json"
}

Performance

  • Connection routing is handled automatically by the Actor.
  • Default memory: 1024 MB.
  • Results stream to the dataset continuously; pair with webhooks for live pipelines.

Limitations & compliance

  • Some surfaces (for example public comments) depend on what TikTok exposes without a user login; yield can vary by region and content type.
  • Unofficial tool — not affiliated with TikTok. Use responsibly and comply with applicable laws and TikTok’s Terms of Service.

Contact & custom work

Need something beyond this Actor? I build custom scrapers, data pipelines, and full-stack web applications of any kind for startups and enterprises.

Reach out for:

  • Custom TikTok, Instagram, LinkedIn, Google Maps, or any site collection
  • Lead-gen and enrichment systems
  • Dashboards, internal tools, and production web apps
  • AI agents and MCP-powered workflows wired to your data

License

ISC


TikTok Real-Time Data · by DrunkCodes