Douyin MCP server

Douyin MCP: videos, comments and spoken-word transcripts for your AI, no login needed

Once connected, your agent can search Douyin videos by likes or upload date, page through comments and their replies, turn the voiceover into text, split at pauses, with a timestamp on every segment, and check an account's followers and posts. Your client reaches EveryInfra's server over HTTPS: no Douyin account, no cookies, no local browser.

61
Douyin capabilities
24
tools
110
platforms
MCP server URL
https://api.everyinfra.com/mcp

In mainland China, use this URL: https://api-cn.everyinfra.com/mcp

Example: the most-liked camping videos of the past week

everyinfra_call_api
{
  "platform": "douyin",
  "action": "search",
  "params": {
    "keyword": "露营",
    "sort": "most_liked",
    "publish_time": "one_week"
  }
}

Hand each result's url to comments and transcript, and its author_id, a secUid that usually starts with MS4w, to profile.

What the Douyin MCP can call: 61 capabilities

everyinfra_list_capabilities gives your agent the parameters for every row below, and everyinfra_call_api runs it with platform set to douyin and action set to the first column. The table goes beyond videos and comments to trending lists, creator and Xingtu data, Hot Spot rankings, products and live-commerce products, and music; unit prices differ, so check the third column.

actionCapabilityPrice
searchSearch$8.33 per 1,000 requests
profileDetails$0.56 per 1,000 requests
user_postsPosts by user$0.56 per 1,000 requests
videoVideo details$0.56 per 1,000 requests
commentsComments$0.56 per 1,000 requests
comment_repliesComment replies$0.56 per 1,000 requests
trendingTrending$0.56 per 1,000 requests
transcriptTranscript$0.56 per 1,000 requests
creator_searchCreator search$0.56 per 1,000 requests
creator_audienceCreator audience$0.56 per 1,000 requests
creator_trendCreator growth trend$0.56 per 1,000 requests
creator_benchmarkCreator benchmark$0.56 per 1,000 requests
xingtu_creator_searchXingtu creator search$0.56 per 1,000 requests
xingtu_creator_analyticsXingtu creator analytics$0.56 per 1,000 requests
xingtu_rate_cardXingtu creator rate card$0.56 per 1,000 requests
xingtu_creator_rankingsXingtu creator rankings$0.56 per 1,000 requests
product_searchProduct search$8 per 1,000 requests
shop_productsShop store products$8 per 1,000 requests
product_detailProduct details$8 per 1,000 requests
live_product_searchLive product search$0.56 per 1,000 requests
hashtag_searchHashtag search$15.56 per 1,000 requests
hashtag_detailHashtag detail$15.56 per 1,000 requests
billboard_video_hotTrending videos chart$0.81 per 1,000 requests
billboard_low_fan_explosionLow-follower viral videos$0.81 per 1,000 requests
billboard_high_completionHigh completion-rate chart$0.81 per 1,000 requests
billboard_search_hotTrending searches chart$0.81 per 1,000 requests
billboard_account_searchTrending account search$0.81 per 1,000 requests
music_searchMusic search$8 per 1,000 requests
search_suggestSearch suggestions$8 per 1,000 requests
billboard_rise_listBillboard rising trends$0.81 per 1,000 requests
billboard_challenge_hotBillboard trending challenges$0.81 per 1,000 requests
billboard_topic_hotBillboard trending topics$0.81 per 1,000 requests
music_detailMusic detail$0.81 per 1,000 requests
xingtu_conversion_abilityXingtu creator conversion$1.6 per 1,000 requests
xingtu_link_structureXingtu connected-user breakdown$16 per 1,000 requests
xingtu_recommended_videosXingtu recommended videos$1.6 per 1,000 requests
xingtu_touch_distributionXingtu connected-user sources$16 per 1,000 requests
xingtu_video_performanceXingtu video performance$16 per 1,000 requests
posts_batchPosts in bulk$0.56 per 1,000 requests
profiles_batchProfiles in bulk$0.56 per 1,000 requests
media_linksMedia download links$0.56 per 1,000 requests
related_postsRelated posts$0.56 per 1,000 requests
post_historyPost metrics history$0.79 per 1,000 requests
music_postsPosts using a track$0.79 per 1,000 requests
resolve_linksLink recognition$0.79 per 1,000 requests
trending_historyTrending history$0.79 per 1,000 requests
user_mixesAccount collections$0.79 per 1,000 requests
mix_postsCollection posts$0.79 per 1,000 requests
user_overviewAccount overview$1.6 per 1,000 requests
live_roomLive room$0.79 per 1,000 requests
feedNews feed$0.56 per 1,000 requests
series_feedShort-drama channel$0.56 per 1,000 requests
series_postsShort-drama episodes$0.79 per 1,000 requests
user_seriesAccount short dramas$0.79 per 1,000 requests
danmakuOn-screen video comments$0.56 per 1,000 requests
live_viewersBroadcast viewer ranking$0.56 per 1,000 requests
series_detailShort-drama details$0.79 per 1,000 requests
mix_detailCollection details$0.56 per 1,000 requests
live_sessionBroadcast details$0.79 per 1,000 requests
user_liveUser live$0.79 per 1,000 requests
profile_by_idProfile by numeric ID$0.56 per 1,000 requests

How one topic becomes comments, a transcript and an account profile

The video url from search opens the next steps: comments and transcript both take it, author_id goes to profile and user_posts, and a comment's id goes to comment_replies.

  1. Find videos with search

    search

    keyword is what you'd search for in videos, not an account name or video ID. Sort by most_liked or newest, limit publish_time to one_day, one_week or half_year, and raise limit from the default 10 up to 50. Each video comes with like, comment, share and save counts, its length, hashtags and the author's follower count.

  2. Read comments with comments and comment_replies

    commentscomment_replies

    Without page_token, comments reads the top 20 comments by default. To go deeper, send an empty page_token first, then pass back each next_page_token, up to 50 per page. Each comment carries is_hot and liked_by_author flags; when reply_count is above 0, give its id to comment_replies for up to 100 replies.

  3. Turn speech into text with transcript

    transcript

    transcript needs only the video url. It returns the full spoken text, segments, split at pauses, with the start and end in seconds and the text of each segment, plus audio_url and duration_sec. Your agent can quote a segment with its timestamp or summarize the whole video.

  4. Check the account with profile and user_posts

    profileuser_posts

    author_id is the secUid, so it works as user_id. profile returns the nickname, Douyin ID, follower and video counts, IP location, is_live and has_shop. user_posts lists videos newest first, 20 by default and up to 100, and since sets the earliest upload date.

Then ask for what you need

The agent checks the capability catalog first, then picks a tool and its parameters. Each example links to the matching API page, so you can review the parameters and fields first.

  1. Search Douyin for popular camping videos and list the title, creator and likes of each.

    Tool used: everyinfra_call_apiDouyin · Search

  2. Read the comments on this Douyin video and summarize the three issues people raise most.

    Tool used: everyinfra_call_apiDouyin · Comments

  3. List the latest videos from this Douyin account with the likes, comments and shares of each.

    Tool used: everyinfra_call_apiDouyin · Posts by user

  4. Turn the spoken audio of this Douyin video into text.

    Tool used: everyinfra_call_apiDouyin · Transcript

Add it to your client

Enter https://api.everyinfra.com/mcp in your client's remote MCP settings and add one header: Authorization: Bearer, then your API key. That key reaches 24 tools at the same address: everyinfra_call_api plus search, CAPTCHA solving, AI and account tools.

mcp.json
{
  "mcpServers": {
    "everyinfra": {
      "url": "https://api.everyinfra.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Keep the API key in your client's secret or environment settings, and never commit it to a repository.

See setup steps for Claude, Cursor and other clients, plus every tool

Frequently asked questions

Does the Douyin MCP need my Douyin account?

No. Your client connects over HTTPS to a server EveryInfra runs, with no Douyin account, cookies, local install or browser; the only credential is your EveryInfra API key. Every capability reads public data and never posts, likes or sends messages.

What format do video links and account IDs use?

Videos use https://www.douyin.com/video/<video ID>; video, comments and transcript all take that url, not a profile or search-page link. Accounts use the secUid, which usually starts with MS4w and appears as author_id in results; put it in user_id for profile and user_posts. author_uid is the same person's numeric ID.

Can I get view counts for Douyin videos?

No, not real ones: Douyin does not publish view counts. view_count is missing from most results and sometimes reads 0, and neither reflects actual plays. To judge how a video is doing, use like_count, comment_count and share_count.

How many comments can I get per call, how do I page, and how are they counted?

A single call without page_token reads the top-level comments at the head of the list: 20 by default, and 150 at most however high you set limit, usually without replies. To read the replies under a comment, use comment_replies and pass that comment's id as comment_id. To page, send an empty page_token first, then return each next_page_token unchanged; each page holds up to 50 top-level comments and the token lasts 24 hours. Every 20 comments count as one call, so a 50-comment page is 3, and a block that returns nothing isn't charged.

What does the transcript return?

The full spoken text in text, plus segments, a timeline split at pauses, where each entry has start, end (in seconds) and text. It also returns audio_url and the video's length as duration_sec, all from a single video url.

How is the Douyin MCP billed?

You pay per capability: Douyin capabilities cost from $0.56 per 1,000 requests, and connecting through MCP adds nothing. Failed calls, invalid parameters and empty results aren't charged; comments are billed per 20 returned, each user_posts page is one call, and the everyinfra_list_capabilities catalog is free.

Hand your agent Douyin comments and transcripts

Sign up, create an API key in the console, and add it to the configuration above to start calling these tools from your chat.

Start for freeView pricing

Google Analytics needs consent. Privacy