Tiktok Video Scraper avatar

Tiktok Video Scraper

Under maintenance

Pricing

from $2.00 / 1,000 tiktok posts

Go to Apify Store
Tiktok Video Scraper

Tiktok Video Scraper

Under maintenance

Scrape video data and follower counts from public TikTok profiles. Extract video URLs, captions, views, likes, comments, shares, and posting dates for reporting and analysis.

Pricing

from $2.00 / 1,000 tiktok posts

Rating

0.0

(0)

Developer

Scraper Creator

Scraper Creator

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

4

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect public videos and photo posts from TikTok profiles, together with engagement statistics and the account's current follower count. Get captions, hashtags, post URLs, publication dates, views, likes, comments, and more in a structured dataset for reporting and analysis.

The Actor reads the profile's Videos section and follows pagination to older posts. It supports an optional TikTok login session and reads post statistics without downloading media files.

How to use

  1. Add one to five public TikTok profile URLs.
  2. Set the maximum number of posts to return per profile. The default is 100; the allowed range is 1–10,000.
  3. Under Advanced settings, keep the default residential proxy in Malaysia or choose another country. Cloud runs require a proxy; a run with no proxy stops immediately with PROXY_REQUIRED in its run summary.
  4. Start the Actor, inspect the dataset and run summary, then export the results or retrieve them through the Apify API.

The maximum is a limit, not a guaranteed result count. A profile may have fewer accessible posts, and some profiles may expose follower counts while their video lists remain unavailable.

Input

Run memory defaults are managed in Apify Console under Actor Settings. The source does not declare defaultMemoryMbytes; explicit run, task, or API memory settings can override the cloud default. Memory is a run option, not an input JSON field.

Example

{
"profiles": ["https://www.tiktok.com/@nba"],
"resultsPerPage": 100
}

Fields

FieldRequiredDescription
profilesYesArray of 1–5 public HTTPS TikTok profile URLs.
resultsPerPageNoMaximum successfully returned posts per profile, from 1 to 10,000. Defaults to 100. Despite its name, this is the total per-profile limit, not the size of a single network request.
proxyConfigurationNoApify proxy configuration. Defaults to a residential proxy in Malaysia (MY). See Proxy.

Use profile URLs such as https://www.tiktok.com/@nba. Both tiktok.com and www.tiktok.com are accepted. Do not include query parameters or URL fragments. Individual post URLs, shortened links, and bare usernames are not supported as input.

The Actor uses the profile's Latest view and includes pinned posts. Results are therefore not guaranteed to be strictly chronological. Other sorting modes and excluding pinned posts are not supported.

Optional TikTok login

Add TIKTOK_STORAGE_STATE under Source → Environment variables in Apify Console and mark it Secret. Paste the Playwright storage-state JSON for your TikTok account. Export it from a fresh browser session after signing in. The cookies array must contain only TikTok cookies for .tiktok.com, tiktok.com, or www.tiktok.com, including an unexpired sessionid or sessionid_ss. The Actor reads cookies only.

Apify cloud runs use the session only when the run belongs to the Actor owner's account. Keep the JSON out of Git, logs and Actor input. Replace the secret if TikTok expires or revokes the session.

Proxy configuration

Cloud runs use the following configuration when proxyConfiguration is omitted. Choosing no proxy stops with PROXY_REQUIRED. Malaysia and Singapore have been tested; other countries are unverified.

{
"profiles": ["https://www.tiktok.com/@nba"],
"resultsPerPage": 100,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"],
"apifyProxyCountry": "MY"
}
}

Proxy availability depends on your account. Residential proxy traffic adds cost and does not guarantee access to TikTok. Check the Actor's pricing and your proxy rates before running.

Output

Each dataset row represents one video or photo post.

Example

The following is a saved example, not live statistics:

{
"id": "7697426312062946591",
"text": "Hali with the BIG one hand jam 💪 #NBA #basketball #Pacers #TyreseHaliburton",
"createTime": 1792196738,
"createTimeISO": "2026-10-17T00:25:38.000Z",
"webVideoUrl": "https://www.tiktok.com/@nba/video/7697426312062946591",
"authorMeta": {
"id": "134941634731003904",
"name": "nba",
"profileUrl": "https://www.tiktok.com/@nba",
"fans": 27302212
},
"playCount": 20500,
"diggCount": 1398,
"commentCount": 27,
"shareCount": 35,
"collectCount": 64,
"repostCount": 0,
"isSlideshow": false,
"fromProfileSection": "videos",
"hashtags": [
{ "name": "NBA" },
{ "name": "basketball" },
{ "name": "pacers" },
{ "name": "tyresehaliburton" }
],
"scrapedAt": "2026-10-17T09:33:26.340Z"
}

Fields

FieldDescription
id, webVideoUrlPost ID and canonical URL. Photo posts use a /photo/ URL; videos use /video/. IDs are strings.
textPost caption, with original line breaks and blank lines preserved when available.
hashtagsArray of objects such as { "name": "basketball" }, using TikTok's tag names without an added # prefix. Empty when none are available.
createTimePublication time as a Unix timestamp in seconds.
createTimeISOThe same publication time in UTC ISO 8601 format.
authorMeta.id, authorMeta.name, authorMeta.profileUrlVerified author ID, username, and profile URL. The ID is a string.
authorMeta.fansCurrent profile follower total, repeated on the profile's post rows. This is not the follower count at the time each post was published.
playCountPublic view count as an integer.
diggCount, commentCountLike and comment counts as integers, or null when unavailable.
shareCount, collectCount, repostCountShare, save, and repost counts as integers, or null when unavailable.
isSlideshowtrue for a photo slideshow and false for a video.
fromProfileSectionThe value videos, including photo posts returned in this section.
scrapedAtTime this row was assembled, in UTC ISO 8601 format.

Data accuracy

  • Unknown counts stay null. Missing optional metrics are not replaced with zero. A confirmed zero is returned as 0. Compact labels such as 46.8K are not converted into exact counts.
  • Counts are snapshots. Engagement statistics can change during or after a run. The follower total is read from the profile and attached only after the post's author has been verified.
  • Caption formatting follows the source. When TikTok supplies valid caption lines, text joins them with line breaks, preserving blank lines. Otherwise it uses the available description without guessing line breaks.
  • Public statistics are not private analytics. This Actor does not retrieve owner-only TikTok Analytics data or historical follower totals.

Viewing and exporting results

Open the run's dataset to view one row per returned video or photo post. Export JSON to preserve authorMeta and the hashtag objects, or use a tabular export for spreadsheet analysis. API integrations can retrieve the run's default dataset items.

Open RUN-SUMMARY in the run's default key-value store and check each requested profile. An Apify run can succeed with partial results; inspect the summary status, errors, and profile coverage before importing it as a complete snapshot.

Pricing

Check the Actor page for current prices. In pay-per-event runs, each returned result is billable. Proxy usage may add separate charges. Results delivered before a failure or budget stop may already be charged; a failed run does not mean no cost.

Limits and failures

Inspect RUN-SUMMARY in the run's default key-value store when checking completeness. It contains per-profile status, page and result counts, available follower totals, and errors.

  • Invalid individual posts are skipped so other posts can still be processed.
  • A profile or pagination failure preserves results already collected and allows the next profile to proceed.
  • Some valid results can produce a successful Apify run while RUN-SUMMARY.status is partial and partial is true. Always inspect the summary if complete coverage matters.
  • An exhausted pay-per-event budget or an abort signal stops collection. With no recorded errors, RUN-SUMMARY.status is stopped even when partial is false; profiles not yet attempted may be absent from the summary. Check the run status, per-profile statuses, and coverage of the requested profiles rather than treating partial: false as proof of completion. If errors also occurred, the run status may instead be partial or failed.
  • If errors occur and no valid posts are available after all profiles have been attempted, the run fails.
  • Storage or charging failures stop the run. Error records are not added to the post dataset.

Missing or invalid post identity, author identity, publication time, caption, content type, or view count causes the post to be skipped. An unreadable profile identity or follower total causes that profile to fail.

Per-profile status limit_reached means the requested maximum was reached; it does not mean there are no more posts. Invalid responses, timeouts, stalled pagination, and an unverified empty list are reported as errors rather than interpreted as a profile with no posts.

Profiles with no returned posts produce no dataset rows, including no standalone follower row. A follower total read successfully may still be available in the profile's RUN-SUMMARY entry. Integrations that need this value must read the summary separately.

  • Collects accessible public videos and photo posts from the profile's Videos section. It does not collect Stories, favorites, repost feeds, or private posts.
  • Returns follower totals, not follower identities or following lists.
  • Returns comment counts, not comment text or replies.
  • Does not download videos, audio, avatars, covers, or slideshow images.
  • Some public profiles expose follower totals while video-list requests fail. Successful access to one profile does not guarantee access to another, and proxies may not resolve the issue.
  • The 10,000-result input limit is not a guarantee of full profile coverage. TikTok changes and access restrictions can affect pagination and data availability.

Refreshing statistics

Start a new run with a fresh default dataset to refresh counts. Each new run starts from the profile's Latest view, including pinned posts, and continues until the per-profile limit or the end of the accessible feed. Posts outside that limit will not be refreshed.

Within the same run, duplicate post IDs are removed. If a run restarts with its existing dataset, already written posts are skipped rather than refreshed.

For API compatibility and operator setup, see DEVELOPMENT.md.