tokdata
v0.1.0TikTok public data as JSON: profile by handle, account videos, video comments, keyword search.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
hasdata_tiktok_comments_getTikTokComments tiktok_comments: GET /
Get TikTok Comments Fetches the comments on a public TikTok video by its numeric video id, or the replies to a specific comment when commentId is given. Each comment returns text, like count, timestamp, reply count, and author (username, nickname, avatar, plus hasdataLink to the profile endpoint and hasdataPostsLink to the posts endpoint). The first page of top-level comments also returns `post` with the video's description, author, music, cover and video URLs, duration, hashtags, and its like, comment, share, play, and save counts. Supports token-based pagination via nextPageToken. Use for s…
| Parameter | Type | Description |
|---|---|---|
videoId * | string | The numeric id of the video (the number after `/video/` in a TikTok URL). |
commentId | string | When provided, returns the replies to this comment instead of the video's top-level comments. |
nextPageToken | string | Defines the next page token. Use the `nextPageToken` value returned by the previous response. Omit it to fetch the first page. |
hasdata_tiktok_posts_getTikTokPosts tiktok_posts: GET /
Get TikTok Posts Fetches a page of videos for a public TikTok account by username (handle) and returns each video with description, hashtags, mentions, like/comment/share/play/collect counts, cover and playable video URLs, music, duration, and timestamp. Returns a page of ~30 videos plus a `nextPageToken`; pass that token back to walk the account history one page at a time. Use to monitor competitor content, track engagement of creator videos, or build datasets of account content for vetting and analytics.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The TikTok username of the account whose videos you want to scrape, with or without the `@` symbol. |
nextPageToken | string | Defines the next page token. It is used for retrieving the next page of results. Use the `nextPageToken` value returned by the previous response. Omit it to fetch the first page. |
hasdata_tiktok_profile_getTikTokProfile tiktok_profile: GET /
Get TikTok Profile Fetches a public TikTok profile by username (handle) and returns nickname, biography, bio link, avatar URLs, verified/private flags, account creation time, and followers, follows, likes, videos, and friends counts. Use to enrich CRM/lead records, verify influencer reach before outreach, monitor competitor accounts, or build datasets of creator metadata for vetting and analytics.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The TikTok username of the profile you want to scrape, with or without the `@` symbol. |
hasdata_tiktok_search_getTikTokSearch tiktok_search: GET /
Search TikTok Searches TikTok by keyword and returns either videos (with description, hashtags, mentions, like/comment/share/play counts, cover and playable video URLs, music, and author) or users (nickname, bio, avatar, verified flag, follower count). Each author and each user carries a hasdataLink to their profile endpoint and a hasdataPostsLink to their posts endpoint. Supports token-based pagination via nextPageToken. Use for content discovery, trend research, influencer discovery, or building datasets from a keyword.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | The phrase to search for on TikTok. |
nextPageToken | string | Defines the next page token. Use the `nextPageToken` value returned by the previous response. Omit it to fetch the first page. |
type | string | What to search for — videos or users. Defaults to video. |