24 TikTok endpoints · MCP
TikTok MCP server
Cross-border sellers, ad buyers and agencies use TikTok data to spot trending hashtags, study winning ads, vet creators and research TikTok Shop products. Through MCP your AI reads videos, comments and accounts, the Creative Center hashtags and top ads, and Shop products with their reviews.
Get an API key97.1% fewer tokens
Across 14 recorded live TikTok responses (2026-11-18), raw platform JSON is ~1.21M tokens vs ~35k via REST (97.1% fewer) and ~35k through this MCP server (97.1% fewer).
What to ask about TikTok
“Which hashtags are trending in the US this week, and in which industries?”
Uses tiktok.trends.hashtags, $0.002 a call
“Show me top-performing TikTok ads in the beauty industry and what their hooks are.”
Uses tiktok.top_ads.search, $0.002 a call
“Look up @username: followers, country, and 5 similar creators.”
Uses tiktok.accounts.detail → tiktok.accounts.country → tiktok.accounts.similar, about $0.006 for one call of each
“Find TikTok Shop products for "posture corrector" in the US and summarise the bad reviews of the best seller.”
Uses tiktok.products.search → tiktok.product_reviews.list, about $0.004 for one call of each
“What are the comments under this video mostly about? <link>”
Uses tiktok.comments.list, $0.002 a call
Good to know about TikTok
- Accounts can be looked up by username (uniqueId); the video list also accepts a username, so you do not need to find a secUid first.
- Shop endpoints take a region. Say which market you mean (US, UK, ID…) or the AI uses the default.
- Trending hashtags and top ads come from TikTok Creative Center data, filtered by country and industry.
Connect
Add this server address in your AI client: https://xtikapi.com/v1/mcp. In ChatGPT, Claude, Claude Code, Codex and Cursor you then sign in here and click Allow; the same address covers TikTok and every other platform. Step-by-step for each client
All 24 TikTok endpoints your AI can call
- TikTok video search API$0.002
tiktok.videos.search· Search TikTok videos by keyword - TikTok video details API$0.002
tiktok.videos.detail· One TikTok video by ID: caption, author, plays, likes, comments and shares - TikTok comments API$0.002
tiktok.comments.list· A page of comments on one TikTok video - TikTok account details API$0.002
tiktok.accounts.detail· A TikTok account profile - TikTok video list API$0.002
tiktok.videos.list· Videos posted by one TikTok account - TikTok trending searches API$0.002
tiktok.trends.hot· Daily trending TikTok search words - TikTok comment replies API$0.002
tiktok.comment_replies.list· Replies under one TikTok comment - TikTok hashtag videos API$0.002
tiktok.hashtag_videos.list· TikTok videos under a hashtag ID - TikTok music videos API$0.002
tiktok.music_videos.list· TikTok videos that use one sound, by music ID - TikTok account search API$0.002
tiktok.accounts.search· Search TikTok accounts by keyword - TikTok account followers API$0.002
tiktok.accounts.followers· A page of a TikTok account's followers - TikTok account following API$0.002
tiktok.accounts.following· A page of the accounts a TikTok user follows - TikTok account country API$0.002
tiktok.accounts.country· The country a TikTok account is registered in, by username - TikTok similar accounts API$0.002
tiktok.accounts.similar· Accounts TikTok recommends as similar to one account - TikTok search suggestions API$0.002
tiktok.keywords.related· TikTok search box suggestions for a keyword - TikTok Ad Library search API$0.002
tiktok.ads.search· Search the TikTok Ad Library by keyword, region and date - TikTok Ad Library ad details API$0.002
tiktok.ads.detail· One ad from the TikTok Ad Library: creative, reach, targeting - TikTok top ads API$0.002
tiktok.top_ads.search· Best-performing TikTok ads from Creative Center, by industry and region - TikTok trending hashtags API$0.002
tiktok.trends.hashtags· Trending TikTok hashtags by region, from Creative Center - TikTok Shop product search API$0.002
tiktok.products.search· Search TikTok Shop products by keyword - TikTok Shop product details API$0.002
tiktok.products.detail· One TikTok Shop product: price, sales, seller, variants - TikTok Shop product reviews API$0.002
tiktok.product_reviews.list· Buyer reviews of a TikTok Shop product - TikTok Shop seller products API$0.002
tiktok.seller_products.list· Products sold by one TikTok Shop seller - TikTok Shop best sellers API$0.002
tiktok.products.hot_selling· Hot-selling TikTok Shop products by region
TikTok questions we answered
- f2 TikTok user posts return status 200 with an empty response: why?
- TikTok-Api errors (EmptyResponseException, 200 empty body, Captcha, statusCode): how do I fix them?
- The TikTok comments endpoint in Douyin_TikTok_Download_API stopped working: what now?
- How do I get the videos that use a TikTok sound (music ID)?
- yt-dlp fails on a TikTok user profile with "[tiktok:user] Failed to parse JSON": how do I fix it?
- Is there an API to get a TikTok account's follower list?
Questions
Can it read the TikTok Ad Library, not just top ads?
Yes. There is an ad search endpoint and an ad detail endpoint, on top of the top-ads list by industry.
Can it list a creator’s followers?
Yes, page by page, and the accounts they follow too. Each page is one call, so for large accounts ask for a sample, such as the first 200.
What does it cost to use TikTok through MCP?
find and describe are free; each call costs the endpoint's price, $0.002 for every TikTok endpoint. Each question above shows roughly what it costs. You pay only when the platform answers; errors are free, and new accounts get $0.50 of trial credit.
Does TikTok have an official API for this?
TikTok's Display API reads only the accounts that log in to your app, and the Research API is for approved non-commercial academic research. There is no official commercial route to public videos in general.