tiktok_post
Extracts detailed data from any TikTok post including play counts, likes, comments, shares, video quality, music info, and full author stats.
Instructions
Extracts detailed data for any TikTok post including play counts, likes, comments, shares, video quality details, music info, and full author stats. [Credits: 5 API credits per successful request] Notes: Identify the post either via the (username + post_id) pair or via the single url parameter — one of these two approaches is required. Returns: { id, canonical_url, description, created_at, location, privacy, statistics: {plays, likes, comments, shares, collects}, video: {width, height, duration, quality, codec, play_url, download_url, subtitles[]}, music: {id, title, author, duration, audio_url, cover}, author: {id, username, verified, followers, following, likes, video_count}, hashtags: [{id, name}], mentions[], categories[], suggested_words[] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full TikTok post URL, used instead of passing `username` and `post_id` separately. Example: `https://www.tiktok.com/@nba/video/7255379108241198378`. | |
| post_id | No | The ID of the post to get data for. Required unless the `url` parameter is used (must be paired with username). | |
| username | No | The username of the TikTok profile whose post you want to scrape. Required unless the `url` parameter is used (must be paired with post_id). |