TikTok Profile Scraper – Extract Posts, Stats, Videos & Music avatar

TikTok Profile Scraper – Extract Posts, Stats, Videos & Music

Pricing

from $5.00 / 1,000 posts

Go to Apify Store
TikTok Profile Scraper – Extract Posts, Stats, Videos & Music

TikTok Profile Scraper – Extract Posts, Stats, Videos & Music

Scrape all posts from any public TikTok profile. Extract video URLs, engagement stats, music metadata, hashtags, tagged users, author profile info, and post timestamps. Supports image and slideshow posts for influencer analytics and social monitoring.

Pricing

from $5.00 / 1,000 posts

Rating

0.0

(0)

Developer

Farhan Ali

Farhan Ali

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

TikTok Profile Scraper creates a structured dataset of posts collected from public TikTok profiles. Each dataset item represents one post and can include video and CDN URLs, engagement stats (likes, comments, shares, views, saves), music metadata, hashtags, tagged users, author profile information, and post creation timestamps. Query the source by profile URL or handle, control the result limit with maxPosts, and retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, or XML.

Dataset at a glance

PropertyValue
Sourcetiktok.com (public profiles)
Record unitOne post (video or image/slideshow)
Input methodsProfile URLs or handles (profileUrls)
Main identifiersid (post ID), url
DeliveryApify Dataset and API
Export formatsJSON, CSV, Excel, XML
Update modelFresh records per Actor run
Pricing$5 per 1,000 posts

Coverage and available records

The Actor collects all posts from one or more public TikTok profiles.

  • Profile input: profileUrls accepts any profile link format (https://www.tiktok.com/@fcbarcelona, https://m.tiktok.com/@narins.beauty_, or just @username).
  • Multiple profiles: Provide several profiles in one run; posts are collected per profile up to the maxPosts limit.
  • Post types: Video posts and image/slideshow posts are both supported. Image posts return an images array; video posts return a video object.
  • Result limit: maxPosts caps the number of posts per profile (0 = unlimited).
  • Enrichment: Each post includes engagement stats, music metadata, hashtags, tagged users, and the author's profile metadata.

Known exclusions: only public profiles are collected; private or age-restricted profiles that require login are not accessible; each run captures profile state at run time (no historical snapshots).

Data dictionary

Field names below match dataset record JSON properties exactly.

FieldTypeNullableDescriptionExample
idstringNoTikTok post identifier; best stable deduplication key7639302892674944278
urlstringNoCanonical post URLhttps://www.tiktok.com/@fcbarcelona/video/7639302892674944278
descriptionstringYesPost caption with hashtags and mentions#fcbarcelona #barçaontiktok
createdAtintegerYesUnix timestamp of post creation1778663821
createdAtISOstringYesISO 8601 datetime of post creation2026-05-12T19:57:01+00:00
isImagePostbooleanYesWhether the post is a photo/slideshow rather than videofalse
isAdbooleanYesWhether the post is a paid advertisementfalse
isReviewingbooleanYesWhether the post is under reviewfalse
diversificationIdintegerYesTikTok content diversification category ID0
categoryTypeintegerYesTikTok content category type0
aiGeneratedDescriptionstringYesAI-generated description when present
imagesarrayYesImage URLs for slideshow/photo posts["https://..."]
hashtagsarrayYesHashtag objects {id, title, description}See example record
taggedUsersarrayYesUsers tagged in the caption[]
effectStickersarrayYesEffect stickers applied to the post[]
contentsarrayYesStructured caption segments with text extras[]
videoobjectYesVideo metadata: {duration, cover, dynamicCover, playUrl, downloadUrl, bestQualityUrl, width, height, ratio}See example record
statsobjectYesEngagement: {diggCount, shareCount, commentCount, playCount, collectCount}See example record
musicobjectYesMusic metadata: {id, title, authorName, duration, playUrl, coverLarge, isOriginal}See example record
authorMetaobjectYesAuthor profile: {id, uniqueId, nickname, verified, avatar, signature, followerCount, followingCount, heartCount, videoCount}See example record
itemControlobjectYes{canRepost, canDuet, canStitch} permissionsSee example record

Example dataset record

A representative record produced by scraping @fcbarcelona:

{
"id": "7639302892674944278",
"url": "https://www.tiktok.com/@fcbarcelona/video/7639302892674944278",
"description": "#fcbarcelona #barçaontiktok",
"createdAt": 1778663821,
"createdAtISO": "2026-05-12T19:57:01+00:00",
"isImagePost": false,
"hashtags": [
{ "id": "26656", "title": "fcbarcelona", "description": "" }
],
"taggedUsers": [],
"video": {
"duration": 30,
"cover": "https://p16-common-sign.tiktokcdn-eu.com/...",
"playUrl": "https://v16-webapp-prime.tiktok.com/video/tos/...",
"downloadUrl": "https://v16-webapp-prime.tiktok.com/video/tos/...",
"bestQualityUrl": "https://v16-webapp-prime.tiktok.com/video/tos/...",
"width": 1080,
"height": 1920,
"ratio": "9:16"
},
"stats": {
"diggCount": 26200,
"shareCount": 141,
"commentCount": 364,
"playCount": 149800,
"collectCount": 847
},
"music": {
"id": "7420525641043855361",
"title": "New Skills",
"authorName": "Prodbyecho",
"duration": 59,
"playUrl": "https://sf16-ies-music-sg.tiktokcdn.com/...",
"isOriginal": false
},
"authorMeta": {
"id": "6594121926820872197",
"uniqueId": "fcbarcelona",
"nickname": "FC Barcelona",
"verified": true,
"signature": "Get the OR jersey",
"followerCount": 66800000,
"followingCount": 31,
"heartCount": 2700000000,
"videoCount": 5681
},
"itemControl": { "canRepost": true, "canDuet": true, "canStitch": true }
}

Query and input reference

InputTypeRequiredDefaultAccepted valuesDescription
profileUrlsarrayYesTikTok profile URLs or handlesProfiles to scrape (any link format or @username)
maxPostsintegerNo00 or a positive integerMaximum posts per profile; 0 = unlimited
proxyobjectNoApify residential proxyApify proxy groups or custom proxiesResidential proxies are recommended

Minimal request:

{ "profileUrls": [{ "url": "https://www.tiktok.com/@fcbarcelona" }] }

Advanced request:

{
"profileUrls": [
{ "url": "https://www.tiktok.com/@fcbarcelona" },
{ "url": "https://www.tiktok.com/@narins.beauty_" }
],
"maxPosts": 100,
"proxy": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}

Retrieve the data through the API

  1. Start the Actor with a JSON input (console or API).
  2. Wait for the run to finish, or use a synchronous endpoint for an inline response.
  3. Retrieve items from the run's default dataset.
  4. Paginate or export the dataset.

Python example:

from apify_client import ApifyClient
client = ApifyClient("YOUR-APIFY-TOKEN")
run = client.actor("datascrapers/tiktok-profile-scraper").call(run_input={
"profileUrls": [{ "url": "https://www.tiktok.com/@fcbarcelona" }],
"maxPosts": 100,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["id"], item["stats"]["diggCount"])

Apify generates ready-to-run Python, JavaScript, and cURL examples on the Actor's API tab. Do not put a real API token in shared code or URLs.

Data quality and record handling

  • Conditional fields: Image posts omit the video object; video posts omit the images array. Fields that TikTok does not expose for a post are returned as null.
  • Source changes: TikTok page structure and values can change; unreadable fields are returned as null rather than fabricated.
  • Deduplication: Each run appends fresh records; the Actor does not deduplicate across runs. Use id as the stable key and filter repeated runs against previously stored IDs.
  • Rate limits: TikTok rate-limits automated traffic. Residential proxies (enabled by default) are recommended for consistent coverage, especially at scale.
  • Normalization: Creation time is returned as both a Unix timestamp (createdAt) and ISO 8601 (createdAtISO); engagement counts are read as integers.

Export and pipeline examples

DestinationRecommended methodTypical use
PostgreSQL / SupabaseDataset API poll or webhook consumerStore post and engagement history for dashboards
Google SheetsApify Google Sheets integrationShare influencer post lists with teams
S3 / cloud storageScheduled export via Apify schedulerArchival of content snapshots
BI toolsCSV / JSON exportInfluencer and content trend analysis

Pricing and cost examples

The Actor uses pay-per-event pricing, billed per post record:

EventTriggerRate
PostsEvery post pushed to the dataset$5 per 1,000 posts

A one-time Actor start event of $0.00005 applies to each run (effectively $0).

PostsEstimated base cost
1,000$5.00
10,000$50.00
100,000$500.00

Compute units consumed by the run are billed by your Apify plan. Estimates depend on the verified pricing model and the options selected for the run.

Limitations and responsible data use

  • The Actor collects publicly accessible post data from public TikTok profiles only.
  • Field availability depends on what TikTok renders at run time; some values can be null or missing, and site changes can alter fields.
  • The Actor does not provide historical snapshots unless you store them yourself.
  • Large runs require residential proxies; without them, coverage may degrade due to rate limiting.
  • You are responsible for compliance with TikTok's terms of service, applicable privacy law, and any contractual obligations before using the data.

Dataset questions

What does one dataset item represent?

One TikTok post. All engagement, music, hashtag, and author metadata is nested inside that single post record.

Which field should I use as a unique identifier?

id is the stable TikTok post identifier and the recommended deduplication key. url is a reasonable secondary key.

Are fields nullable or conditional?

Yes. Image posts omit the video object and video posts omit the images array. Fields TikTok does not expose for a given post are returned as null.

Can I retrieve the records as CSV or JSON?

Yes. The dataset can be exported as JSON, CSV, Excel, or XML from the Apify Console, and queried through the Dataset API.

Does the Actor return historical data?

No. Each run captures the state of the profiles at run time. To track changes, schedule repeated runs and store the outputs yourself.

What counts as a billable result?

Each post pushed to the dataset is one billable result, charged at $5 per 1,000 posts. Use maxPosts to control cost per run.

Data Scrapers support

Need an additional field, record type, or export workflow? Contact Data Scrapers at stardustspotlight@gmail.com. Include a sample source URL, required fields, expected record volume, and preferred delivery format.