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 with a timestamp on every sentence, and check an account's followers and posts. Your client reaches EveryInfra's server over HTTPS: no Douyin account, no cookies, no local browser.

38
Douyin capabilities
24
tools
106
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: 38 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$13.33 per 1,000 requests
shop_productsShop store products$13.33 per 1,000 requests
product_detailProduct details$13.33 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_hotHot video board$0.81 per 1,000 requests
billboard_low_fan_explosionLow-follower hit board$0.81 per 1,000 requests
billboard_high_completionHigh completion-rate board$0.81 per 1,000 requests
billboard_search_hotHot search board$0.81 per 1,000 requests
billboard_account_searchHot Spot 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 rise list$0.81 per 1,000 requests
billboard_challenge_hotBillboard challenge hot$0.81 per 1,000 requests
billboard_topic_hotBillboard topic hot$0.81 per 1,000 requests
music_detailMusic detail$0.81 per 1,000 requests
xingtu_conversion_abilityXingtu creator conversion ability$1.6 per 1,000 requests
xingtu_link_structureXingtu connected-user structure$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

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 with the start and end in seconds and the text of each sentence, plus audio_url and duration_sec. Your agent can quote a line 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 comments: 20 by default, and about 50–60 at most however high you set limit. 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 sentence-by-sentence timeline 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