HasData TikTok
Public TikTok profiles, videos, comments and keyword search as JSON. No developer account.
Should I use this
Quality & Safety
Findings (8)
- LOWin hasdata_tiktok_comments_getTikTokComments
- LOWin hasdata_tiktok_comments_getTikTokComments
- LOWin hasdata_tiktok_posts_getTikTokPosts
- LOWin hasdata_tiktok_posts_getTikTokPosts
- LOWin hasdata_tiktok_profile_getTikTokProfile
- LOWin hasdata_tiktok_profile_getTikTokProfile
- LOWin hasdata_tiktok_search_getTikTokSearch
- LOWin hasdata_tiktok_search_getTikTokSearch
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"tiktok": {
"command": "npx",
"args": [
"@hasdata/tiktok-mcp"
]
}
}
}Runnable packages
1.0.7stdio1.0.7stdioRemote endpoints
https://mcp.hasdata.com/api/mcp?apis=tiktokstreamable-httphttps://mcp.hasdata.com/mcp?apis=tiktokstreamable-httpWhat it can do
Tool inventory
Tools (4)
🟢hasdata_tiktok_comments_getTikTokComments(videoId, commentId, nextPageToken)
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 sentiment analysis, engagement research, or building comment datasets from a video discovered via the posts or search APIs.
Input Schema
{
"type": "object",
"properties": {
"videoId": {
"type": "string",
"description": "The numeric id of the video (the number after `/video/` in a TikTok URL)."
},
"commentId": {
"type": "string",
"description": "When provided, returns the replies to this comment instead of the video's top-level comments."
},
"nextPageToken": {
"type": "string",
"description": "Defines the next page token. Use the `nextPageToken` value returned by the previous response. Omit it to fetch the first page."
}
},
"required": [
"videoId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢hasdata_tiktok_posts_getTikTokPosts(handle, nextPageToken)
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.
Input Schema
{
"type": "object",
"properties": {
"handle": {
"type": "string",
"description": "The TikTok username of the account whose videos you want to scrape, with or without the `@` symbol."
},
"nextPageToken": {
"type": "string",
"description": "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."
}
},
"required": [
"handle"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢hasdata_tiktok_profile_getTikTokProfile(handle)
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.
Input Schema
{
"type": "object",
"properties": {
"handle": {
"type": "string",
"description": "The TikTok username of the profile you want to scrape, with or without the `@` symbol."
}
},
"required": [
"handle"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢hasdata_tiktok_search_getTikTokSearch(keyword, type, nextPageToken)
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.
Input Schema
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "The phrase to search for on TikTok."
},
"type": {
"type": "string",
"enum": [
"video",
"user"
],
"description": "What to search for — videos or users. Defaults to video."
},
"nextPageToken": {
"type": "string",
"description": "Defines the next page token. Use the `nextPageToken` value returned by the previous response. Omit it to fetch the first page."
}
},
"required": [
"keyword"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence