Douyin API

Read Douyin videos, users, comments, danmaku, rankings, Xingtu creators, products, live streams, mixes and short dramas as JSON with one EveryInfra API key, from $0.56 per 1,000 calls.

All you need is one API key, no Douyin account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.

  • 61 endpoints, one key.
  • Failed calls and empty results are not charged.
  • No Douyin login needed.

Real sample values for one video

POST /api/v1/social params {"url":"https://www.douyin.com/video/7633646113853104116"}

Values from real sample calls for the same video, captured October 16, 2026 – November 21, 2026 (UTC); each box links to that endpoint.

6 questions to ask before choosing a data API for Douyin

Does Douyin have an official API, and how is it different from this one?

Douyin has an official open platform for mainland China entities and real-name individuals, who must pass identity verification. Keyword video search needs a beta application and a capability application, is open only to launched apps with an established user base, and defaults to 1,000 calls a day. The video list endpoint returns only the authorizing account's own videos. EveryInfra reads public content with one API key, without applying to Douyin.

Official sources: Douyin Open Platform: joining as a developer · Douyin Open Platform: video search capability · Checked

Do I need to log in to Douyin or provide a cookie to make calls?

No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.

How is it billed? Are failed requests charged? Is there a free trial?

Billing is per request, from $0.56 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged; when urls has several links, each link counts as one request. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.

Can I connect this Douyin API to Claude or Cursor?

Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server/douyin. An agent can search Douyin content, read comments and look up accounts on its own.

What compliance points apply when using Douyin data?

The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.

What Douyin data can I get?

Available Douyin capabilities (61): Search, Profiles, Posts by user, Video details, Comments, Comment replies, Trending, Transcript, Creator search, Creator audience, Creator growth trend, Creator benchmark, Xingtu creator search, Xingtu creator analytics, Xingtu creator rate card, Xingtu creator rankings, Product search, Shop store products, Product details, Live product search, Hashtag search, Hashtag detail, Trending videos chart, Low-follower viral videos, High completion-rate chart, Trending searches chart, Trending account search, Music search, Search suggestions, Billboard rising trends, Billboard trending challenges, Billboard trending topics, Music detail, Xingtu creator conversion, Xingtu connected-user breakdown, Xingtu recommended videos, Xingtu connected-user sources, Xingtu video performance, Posts in bulk, Profiles in bulk, Media download links, Related posts, Post metrics history, Posts using a track, Link recognition, Trending history, Account collections, Collection posts, Account overview, Live room, News feed, Short-drama channel, Short-drama episodes, Account short dramas, On-screen video comments, Broadcast viewer ranking, Short-drama details, Collection details, Broadcast details, User live, Profile by numeric ID. The parameters and response fields of each capability are in the API reference on this page.

Platform availability

24h health
90%
Healthy

Last 30 days

Available capabilities

Search Douyin videos and creator profiles, look them up in bulk, or retrieve transcripts, download links, trending boards and their history, collections, live rooms, analytics, and ecommerce listings.

Use the creator identifier from video records for account lookups; user_id is the account's secUid (starting MS4w), not a nickname or Douyin ID; Xingtu lookups take douyin_id. Product search, detail, and current live discovery are separate from creator sales history. Transcripts, rankings and commerce signals describe different information.

Videos and search

  • SearchHealthy · health 100%

    Find Douyin videos for a search term.

    search$8.33 per 1,000 calls

  • Get the autocomplete suggestions Douyin's search box shows for a keyword, in Douyin's order, with rank from 1.

    search_suggest$8 per 1,000 calls

  • Video detailsHealthy · health 100%

    Fetch one Douyin video's caption, hashtags, length, engagement counts, author profile, background music and publish time from its video link, plus is_deleted and is_private when Douyin reports them.

    video$0.56 per 1,000 calls

  • News feedNormal

    List the videos Douyin recommends on its home page or in one channel.

    feed$0.56 per 1,000 calls

  • List the videos Douyin recommends next to one video, from its url: a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link or a whole share text.

    related_posts$0.56 per 1,000 calls

  • Read the saved history of one Douyin video's like_count, comment_count, share_count and collect_count.

    post_history$0.79 per 1,000 calls

  • TranscriptHealthy · health 92%

    Turn a Douyin video's speech into text with timestamped segments.

    transcript$0.56 per 1,000 calls

Users

  • ProfilesHealthy · health 100%

    Look up a Douyin account by secUid.

    profile$0.56 per 1,000 calls

  • Look up a Douyin account by its numeric uid: the author_uid on video and comment rows, or the uid from profile.

    profile_by_id$0.56 per 1,000 calls

  • Track the videos a Douyin account publishes, newest first.

    user_posts$0.56 per 1,000 calls

  • Account overviewHealthy · health 95%

    Get a quick read on one Douyin account from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link; nicknames, Douyin IDs and short links are not accepted.

    user_overview$1.6 per 1,000 calls

Comments and danmaku

  • CommentsHealthy · health 100%

    Pull viewer comments on a Douyin video, with likes, reply count, IP region, hot-comment and author-liked flags, mentions and any images.

    comments$0.56 per 1,000 callsEvery 20 rows count as one call

  • List the replies under one top-level comment on a Douyin video, up to 100 per call, read 20 at a time.

    comment_replies$0.56 per 1,000 callsEvery 20 rows count as one call

  • Read the on-screen comments (danmaku) of one Douyin video from its url: a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link or a whole share text that contains a short link.

    danmaku$0.56 per 1,000 calls

Hashtags and music

  • Find Douyin hashtags whose names contain a keyword, ranked by heat.

    hashtag_search$15.56 per 1,000 callsEvery 20 rows count as one call

  • Read one Douyin hashtag by its numeric hashtag_id from hashtag_search.

    hashtag_detail$15.56 per 1,000 calls

  • Search Douyin's music library by song title, artist or sound name.

    music_search$8 per 1,000 calls

  • Read one Douyin track by the numeric music_id from music_search, or a douyin.com/music link.

    music_detail$0.81 per 1,000 calls

  • List the videos that use one Douyin track, from its music_id (taken from a video's music.id or from music_detail; a douyin.com/music link also works).

    music_posts$0.79 per 1,000 calls

Rankings

  • TrendingHealthy · health 95%

    Check Douyin's trending boards for hot keywords.

    trending$0.56 per 1,000 calls

  • See how Douyin trending terms moved over the last hours.

    trending_history$0.79 per 1,000 calls

  • Read the video board of Hot Spot Treasure, Douyin's own trend tool: the overall board, or the boards for highest follower growth or highest like rate, over the last hour, day, 3 days or 7 days.

    billboard_video_hot$0.81 per 1,000 calls

  • Spot Douyin works from small accounts that took off, from the low-follower hit board in Hot Spot Treasure.

    billboard_low_fan_explosion$0.81 per 1,000 calls

  • See which Douyin works viewers watch to the end, from the high completion-rate board in Hot Spot Treasure.

    billboard_high_completion$0.81 per 1,000 calls

  • Find the search terms rising on Douyin, from the search board in Hot Spot Treasure.

    billboard_search_hot$0.81 per 1,000 calls

  • Look for Douyin accounts related to a keyword through Hot Spot Treasure, with follower, like and video counts for each.

    billboard_account_search$0.81 per 1,000 calls

  • Spot the trends climbing fastest on Douyin, from the rising board in Hot Spot Treasure.

    billboard_rise_list$0.81 per 1,000 calls

  • Read the challenge board of Hot Spot Treasure, Douyin's own trend tool: the whole board of 50 trends in one call.

    billboard_challenge_hot$0.81 per 1,000 calls

  • Billboard trending topicsAvailable · health 76%

    See which Douyin hashtags are heating up, from the hashtag board in Hot Spot Treasure, over the last hour, day, 3 days or 7 days.

    billboard_topic_hot$0.81 per 1,000 calls

Creators

  • Creator searchHealthy · health 100%

    Search Douyin creator accounts by nickname, handle or phrase.

    creator_search$0.56 per 1,000 callsEvery 20 rows count as one call

  • Break down a Douyin creator's followers by device price band, gender, age or province, with each bucket's share and its TGI index.

    creator_audience$0.56 per 1,000 calls

  • Track a Douyin creator's follower count over time as a dated series, with the average follower count across the window.

    creator_trend$0.56 per 1,000 calls

  • Compare a Douyin creator with similar accounts through average posts, likes, comments, shares and follower growth, each with a percentile rank.

    creator_benchmark$0.56 per 1,000 calls

Xingtu

  • Xingtu creator searchHealthy · health 100%

    Search Douyin's Xingtu creator records by keyword.

    xingtu_creator_search$0.56 per 1,000 callsEvery 20 rows count as one call

  • Get a creator's Xingtu commercial profile on Douyin.

    xingtu_creator_analytics$0.56 per 1,000 calls

  • See the rate tiers a Douyin creator lists on Xingtu.

    xingtu_rate_card$0.56 per 1,000 calls

  • Pull up to five creators from a Douyin Xingtu ranking board.

    xingtu_creator_rankings$0.56 per 1,000 callsEvery 5 rows count as one call

  • Read the conversion figures Xingtu shows for one Douyin creator's Xingtu order videos over the last 7, 30 or 90 days: related videos, median plays, component clicks and click rate, CPC, GPM, average sales, products promoted and their categories.

    xingtu_conversion_ability$1.6 per 1,000 calls

  • See how many users Xingtu counts as connected to one Douyin creator, split into Xingtu's four levels, each with its count, its share of the total and the median for creators in the same industry.

    xingtu_link_structure$16 per 1,000 calls

  • List the four video groups on a Douyin creator's Xingtu page: signature videos, latest videos, top Xingtu order videos and top personal videos.

    xingtu_recommended_videos$1.6 per 1,000 calls

  • See which content categories a Douyin creator's connected users came from, as Xingtu counts them: a tree of up to three levels, usually personal versus Xingtu content, then category and subcategory, each with a count.

    xingtu_touch_distribution$16 per 1,000 calls

  • Compare a Douyin creator's personal videos and Xingtu order videos on engagement rate, median plays and completion rate.

    xingtu_video_performance$16 per 1,000 calls

Products

  • Product searchAvailable · health 84%

    Search Douyin Mall products by keyword, up to 30 a page.

    product_search$8 per 1,000 calls

  • List the products of one Douyin Mall shop from its numeric shop_id, 10 a page.

    shop_products$8 per 1,000 calls

  • Product detailsHealthy · health 99%

    Read one Douyin Mall product by numeric ID.

    product_detail$8 per 1,000 calls

  • Find up to three Douyin products sold in live streams now for a keyword.

    live_product_search$0.56 per 1,000 callsEvery 3 rows count as one call

Live streams

  • Live roomNormal

    Read one Douyin live room from its numeric room_id, the number in https://live.douyin.com/<room_id>.

    live_room$0.79 per 1,000 calls

  • Read the viewer ranking of one Douyin broadcast from its live_id: up to 200 viewers in one response, each with rank, user_id, douyin_id, nickname, avatar_url, is_verified and url.

    live_viewers$0.56 per 1,000 calls

  • Read one Douyin broadcast from its live_id (from live_room or user_live rows; a new one each time the host goes live, not the number in the live-room link).

    live_session$0.79 per 1,000 calls

  • User liveHealthy · health 100%

    Check whether a Douyin host is live now, from their secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link.

    user_live$0.79 per 1,000 calls

Mixes and short dramas

  • List the collections (mixes) a Douyin account has published, from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link.

    user_mixes$0.79 per 1,000 calls

  • List the videos in one Douyin collection from its mix_id (taken from user_mixes; a https://www.douyin.com/collection/<ID> link also works).

    mix_posts$0.79 per 1,000 calls

  • Read one Douyin collection (mix) from its numeric mix_id (from user_mixes; a https://www.douyin.com/collection/<ID> link also works).

    mix_detail$0.56 per 1,000 calls

  • List the short dramas a Douyin account has published, from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link, up to 20 per page.

    user_series$0.79 per 1,000 calls

  • Read one Douyin short drama from its numeric series_id (from series_feed or user_series; a share link also works).

    series_detail$0.79 per 1,000 calls

  • List the episodes of one Douyin short drama from its series_id, in episode order, up to 20 per page.

    series_posts$0.79 per 1,000 calls

  • List the short dramas on Douyin's short-drama channel, 16 per page.

    series_feed$0.56 per 1,000 calls

Batch and tools

  • Posts in bulkHealthy · health 100%

    Look up as many as 20 Douyin videos at once from urls, each given as a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link, or a whole share text that contains a short link.

    posts_batch$0.56 per 1,000 callsEach element in urls counts as one call

  • Profiles in bulkHealthy · health 100%

    Look up as many as 20 Douyin accounts at once from urls, each given as a secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>.

    profiles_batch$0.56 per 1,000 callsEach element in urls counts as one call

  • Get download links for as many as 20 Douyin videos at once from urls, each given as a numeric video ID or a https://www.douyin.com/video/<video_id> link; short links and share texts are not accepted.

    media_links$0.56 per 1,000 callsEach element in urls counts as one call

  • Find Douyin links and IDs inside a piece of text, such as a whole share text.

    resolve_links$0.79 per 1,000 calls

Douyin API pricing

Use cases

Douyin Open Platform vs EveryInfra

How the Douyin Open Platform documentation and EveryInfra compare on what is open, the rankings and what you need to connect:

ComparedDouyin Open PlatformEveryInfra
What is openAmong the general capabilities, the documentation lists getting general user information, including nickname, avatar and so on. For social scenarios it lists searching users and getting their public information and following lists.Videos, users, comments, danmaku, rankings, Xingtu creators, products, live streams, mixes and short dramas: 61 endpoints in all.
RankingsUnder data rankings, the documentation says it opens data and builds film and TV rankings and variety show rankings, and outputs Xingtu and Xingtu creator index rankings and more.trending reads the Douyin trending board, billboard_video_hot, billboard_rise_list and others read the boards of Hot Spot Treasure, and xingtu_creator_rankings reads the Xingtu creator ranking.
Access you needThe documentation says that third-party developers who have applied for the user management permission and have the user's authorization can get the matching data.One EveryInfra API key in the Authorization: Bearer header. You don't need to apply for permissions or get user authorization.

The Douyin Open Platform documentation is in Chinese. The table shows a translation, checked against the pages on 2026-11-22. Neither page shows an update date. Official sources: General solution capability list · User information access solution

What does each Douyin action accept?

Parameter table for all 61 actions

Sync delivery for every action.

ActionRequiredOptionalLimitPer 1,000Response fields
search

Search

Find Douyin videos for a search term. Get caption, hashtags, likes, comments, shares, saves, author details and a signed play link. Douyin does not publish play counts. So view_count is usually absent or 0 and never shows real plays. Judge reach by likes, comments and shares.

keywordpage_token, publish_time, sortEach call returns one page of up to 10 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call.$8.33 per 1,000 requestsnext_page_token · id · url · text · media_type · video_url · like_count · comment_count · share_count · collect_count · view_count · author_name · author_id · author_douyin_id · author_uid · author_bio · author_avatar_url · author_follower_count · cover_image_url · video_width · video_height · duration_seconds · region · hashtags · posted_at · platform · image_urls · duration_sec · hashtag_ids · search_rank · author_is_verified · author_following_count · author_like_count · author_video_count · author_ip_location · title · music · download_count · forward_count · is_pinned · is_ad · video_tags · video_resolution · animated_cover_url · city · city_code · location · text_language · video_bitrates · download_url · has_watermark · video_url_expires_at · permissions · author_gender · author_age
profile

Profiles

Look up a Douyin account by secUid. Get nickname, handle, bio, follower, like and video counts, IP location, verification and shop status. Pass the secUid (often starting MS4w) in user_id, not a nickname or short ID. Videos come from user_posts.

user_id——$0.56 per 1,000 requestsuser_id · douyin_id · nickname · bio · url · follower_count · following_count · like_count · video_count · gender · ip_location · is_verified · avatar_url · uid · background_image_url · country · language · is_live · likes_given_count · has_shop · age · has_series · platform · verify_reason
user_posts

Posts by user

Track the videos a Douyin account publishes, newest first. Each video has caption, hashtags, length, engagement counts and publish time, plus is_deleted and is_private when Douyin reports them. Start paging with an empty page_token. Pass back each next_page_token within 24 hours. since sets an earliest publish date.

user_idpage_token, since, untilEach call returns one page of up to 20 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call.$0.56 per 1,000 requestsnext_page_token · id · url · text · media_type · video_url · like_count · comment_count · share_count · collect_count · view_count · author_name · author_id · author_douyin_id · author_uid · author_bio · author_avatar_url · author_follower_count · cover_image_url · video_width · video_height · duration_seconds · region · hashtags · posted_at · platform · image_urls · duration_sec · hashtag_ids · search_rank · author_is_verified · author_following_count · author_like_count · author_video_count · author_ip_location · title · music · download_count · forward_count · is_pinned · is_ad · video_tags · video_resolution · animated_cover_url · city · city_code · location · text_language · video_bitrates · download_url · has_watermark · video_url_expires_at · permissions · author_gender · author_age · is_deleted · is_private
video

Video details

Fetch one Douyin video's caption, hashtags, length, engagement counts, author profile, background music and publish time from its video link, plus is_deleted and is_private when Douyin reports them. The play link in video_url is signed and expires, so download promptly if you need to keep it.

url——$0.56 per 1,000 requestsid · url · text · media_type · video_url · like_count · comment_count · share_count · collect_count · view_count · author_name · author_id · author_douyin_id · author_uid · author_bio · author_avatar_url · author_follower_count · cover_image_url · video_width · video_height · duration_seconds · region · hashtags · posted_at · platform · image_urls · duration_sec · hashtag_ids · search_rank · author_is_verified · author_following_count · author_like_count · author_video_count · author_ip_location · title · music · download_count · forward_count · is_pinned · is_ad · video_tags · video_resolution · animated_cover_url · city · city_code · location · text_language · video_bitrates · download_url · has_watermark · video_url_expires_at · permissions · author_gender · author_age · cart_products · is_deleted · is_private
comments

Comments

Pull viewer comments on a Douyin video, with likes, reply count, IP region, hot-comment and author-liked flags, mentions and any images. Each comment can also carry the commenter's author_douyin_id and author_is_verified, is_pinned for a comment the author pinned, and sticker_url when it holds a sticker. Pass back next_page_token as page_token to page through the top-level comments.

urlpage_tokenCatalog values: defaultLimit=20, maxLimit=150. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is billed by its row count, one call per 20 rows.$0.56 per 1,000 requestsEvery 20 rows count as one callnext_page_token · id · text · like_count · reply_count · author_name · author_id · ip_location · is_hot · is_reply · reply_to_id · posted_at · video_id · platform · liked_by_author · author_avatar_url · author_uid · images · mentioned_users · author_douyin_id · author_is_verified · is_pinned · sticker_url
comment_replies

Comment replies

List the replies under one top-level comment on a Douyin video, up to 100 per call, read 20 at a time. Each reply has text, likes, replier, IP region and the author-liked flag, plus reply_to_reply_id and reply_to_author_name when it answers another reply. Pass the video link with a comment_id from comments, and page with next_page_token.

url, comment_idpage_tokenCatalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is billed by its row count, one call per 20 rows.$0.56 per 1,000 requestsEvery 20 rows count as one callnext_page_token · id · text · like_count · author_name · author_id · author_uid · author_avatar_url · ip_location · liked_by_author · is_reply · reply_to_id · reply_to_reply_id · reply_to_author_name · posted_at · video_id · images · mentioned_users · platform
trending

Trending

Check Douyin's trending boards for hot keywords. Each keyword has rank, heat score, related video, article and live-room counts, label, peak rank and a url when there is one. Choose boards with boards (default hotspot). hot_value is Douyin's own score and you can compare it only within one board.

boardsEach call returns one page of up to 60 rows. There is no next page. Each page is billed once.$0.56 per 1,000 requestsrank · keyword · hot_value · video_count · board · image_url · event_time · sentence_id · group_id · label · word_type · article_count · is_pinned · max_rank · live_room_count · topic_view_count · sentence_tag · label_icon_url · related_music_id · platform · url
transcript

Transcript

Turn a Douyin video's speech into text with timestamped segments. You also get the title, publish time, engagement counts, author and an audio track link. Mandarin, Cantonese, English, Japanese and Korean are supported; not every video has recognizable speech, and the text is not translated.

url——$0.56 per 1,000 requestsid · url · title · text · posted_at · play_count · like_count · comment_count · share_count · collect_count · author_name · author_avatar · author_follower_count · segments · video_url · audio_url · duration_sec · duration_seconds · recommend_count · author_like_count · platform
creator_search

Creator search

Search Douyin creator accounts by nickname, handle or phrase. Get follower count, gender, verification and live status, plus the secUid for follow-up calls. Narrow with follower_range and user_type. Matches are candidates, not a confirmed identity.

keywordfollower_range, user_typeCatalog values: defaultLimit=20, maxLimit=20. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$0.56 per 1,000 requestsEvery 20 rows count as one calluser_id · douyin_id · nickname · url · avatar_url · follower_count · gender · is_verified · verify_reason · is_live · uid · source_keyword · platform
creator_audience

Creator audience

Break down a Douyin creator's followers by device price band, gender, age or province, with each bucket's share and its TGI index. Shares are decimals between 0 and 1, not percentages, and the buckets are not buyer records or individual people.

user_iddimension—$0.56 per 1,000 requestsuser_id · audience_distribution · audience_tgi · dimension_code · platform
creator_trend

Creator growth trend

Track a Douyin creator's follower count over time as a dated series, with the average follower count across the window. Pass the creator's secUid in user_id. The series alone does not show what caused any growth.

user_id——$0.56 per 1,000 requestsuser_id · follower_trend · average_follower_count · dimension_code · platform
creator_benchmark

Creator benchmark

Compare a Douyin creator with similar accounts through average posts, likes, comments, shares and follower growth, each with a percentile rank. These are relative account signals, not sales, conversions or proof of cause.

user_id——$0.56 per 1,000 requestsuser_id · average_post_count · average_comment_count · average_share_count · average_follower_growth · average_like_count · post_count_percentile · comment_count_percentile · share_count_percentile · follower_growth_percentile · like_count_percentile · platform
xingtu_creator_search

Xingtu creator search

Search Douyin's Xingtu creator records by keyword. Get engagement rate, expected plays, follower growth, commerce score, GMV ranges (not exact GMV), value indices and CNY quotes by video length. creator_id is only for comparing these rows. Analytics and rate cards need the douyin_id from creator_search.

keyword—Catalog values: defaultLimit=20, maxLimit=20. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$0.56 per 1,000 requestsEvery 20 rows count as one callcreator_id · user_id · nickname · follower_count · gender · city · province · creator_score · engagement_rate_30d · expected_play_count · expected_natural_play_count · interaction_median_30d · play_over_rate_30d · follower_growth_30d · follower_growth_rate_15d · content_themes · ecommerce_level · ecommerce_score · gmv_30d_range · gpm_30d_range · average_order_value_30d_range · commercial_index · conversion_index · spread_index · shopping_index · quote_1_20s_cny · quote_20_60s_cny · quote_60s_plus_cny · platform
xingtu_creator_analytics

Xingtu creator analytics

Get a creator's Xingtu commercial profile on Douyin. It includes type and grade, followers, average plays, content themes, commerce flag and lowest CNY quote. Pass the visible douyin_id from creator_search, not a secUid or Xingtu ID. The lowest quote is an asking price, not a closed deal.

douyin_id——$0.56 per 1,000 requestscreator_id · creator_type · follower_count · average_play_count · city · province · gender · category_id · content_themes · tags · creator_grade · is_xingtu_creator · ecommerce_enabled · lowest_quote_cny · platform
xingtu_rate_card

Xingtu creator rate card

See the rate tiers a Douyin creator lists on Xingtu. Each tier has format, current and original quote, settlement note, video type and open status. Use the douyin_id from creator_search. These are posted rates, not an agreed deal or final settlement.

douyin_id——$0.56 per 1,000 requestscreator_id · rate_tiers · platform
xingtu_creator_rankings

Xingtu creator rankings

Pull up to five creators from a Douyin Xingtu ranking board. Choose the board by industry, board type and time window. Get rank, previous rank, score, CPM and order ranges. Ranks and scores compare only within the returned board and window. Order and repurchase ranges are not exact totals.

industry, ranking_type, time_window—Catalog values: defaultLimit=5, maxLimit=5. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$0.56 per 1,000 requestsEvery 5 rows count as one callcreator_id · user_id · url · nickname · avatar_url · gender · city · province · follower_count · cpm_cny · completed_order_range · repurchase_rate_range · item_order_rate · average_view_count · industry · rank · previous_rank · ranking_score · is_new · ranking_board · period_days · snapshot_date · industry_tags · primary_tag · industry_id · top_videos · source_kind · platform
product_search

Product search

Search Douyin Mall products by keyword, up to 30 a page. Get CNY price, 30-day sales, positive review rate, shop, commission rate and number of partnering creators. Only page 1 is available for now; page 2 and later, by page_token or page, return 503 and are not charged. Each page is one call. The partnering creator count does not show that a specific creator sold the item. When the main source is unavailable, a backup source returns at most five products with no next page, and only product ID, title, link, image, CNY price and shop ID. Sales, review rate, shop name, category, commission and creator fields are then missing. Lead-in prices of a tenth of a yuan or less are left out.

keywordpage, page_tokenEach call returns one page of up to 30 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$8 per 1,000 requestsnext_page_token · product_id · promotion_id · title · url · image_url · white_image_url · price_cny · price_cny_minor · price_label · monthly_sales · good_review_ratio · sales_trend · category_path · category_ids · category_depth · shop_id · shop_name · shop_logo_url · shop_score · commission_rate_percent · commission_cny · cooperating_creator_count · tags · source_keyword · search_rank · recommend_reason · platform
shop_products

Shop store products

List the products of one Douyin Mall shop from its numeric shop_id, 10 a page. Each product has ID, promotion ID, title, link, image, CNY price and monthly sales, and every row repeats the shop's total product count and page count. Take shop_id from a product_search or product_detail row. Page on with next_page_token; each page is one call.

shop_idpage, page_tokenEach call returns one page of up to 10 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect.$8 per 1,000 requestsnext_page_token · product_id · promotion_id · title · url · image_url · price_cny · price_cny_minor · monthly_sales · tags · shop_id · shop_product_count · shop_page_count · platform
product_detail

Product details

Read one Douyin Mall product by numeric ID. Get displayed and discount price in CNY, sales figure, shop, images, assurances, shipping notes, variants and on-sale status. Take product_id from product_search or live_product_search, not a SKU or promotion ID.

product_id——$8 per 1,000 requestsproduct_id · title · price_cny · discount_price_cny · sales_text · sold_count · shop_id · shop_name · shop_avatar_url · image_url · main_image_urls · detail_image_urls · assurances · shipping_fee_text · shipping_estimate_text · variant_groups · attributes · on_sale · platform
live_product_search

Live product search

Find up to three Douyin products sold in live streams now for a keyword. Get SKU, title, CNY price, shop and live room ID. The room ID applies to this search only. It does not attribute past live sales.

keyword—Catalog values: defaultLimit=3, maxLimit=3. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$0.56 per 1,000 requestsEvery 3 rows count as one callproduct_id · sku_id · title · image_url · price_cny · shop_id · live_room_id · is_live_product · source_keyword · platform
hashtag_search

Hashtag search

Find Douyin hashtags whose names contain a keyword, ranked by heat. Each hashtag has its numeric ID, a heat index and the videos, likes and views it gathered over the last 7 full days in China time, with the period dates on every row. Up to 200 hashtags per call, 20 by default; pass hashtag_id to hashtag_detail for all-time totals.

keyword—Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$15.56 per 1,000 requestsEvery 20 rows count as one callhashtag_id · hashtag_name · search_rank · heat_index · period_video_count · period_like_count · period_view_count · period_start · period_end · platform
hashtag_detail

Hashtag detail

Read one Douyin hashtag by its numeric hashtag_id from hashtag_search. Get its name, total views since it was created, the number of users who have joined it, creation time and share link. Totals are platform counts for the whole hashtag, not for a period.

hashtag_id——$15.56 per 1,000 requestshashtag_id · hashtag_name · total_view_count · participant_count · created_at · url · platform
billboard_video_hot

Trending videos chart

Read the video board of Hot Spot Treasure, Douyin's own trend tool: the overall board, or the boards for highest follower growth or highest like rate, over the last hour, day, 3 days or 7 days. Each work has plays, likes, like rate, followers gained, follower-growth rate, heat score and author followers, highest heat first. Up to 50 per page; Douyin filters some works out, so pages often come back shorter and a short page is not the end. Rows carry no rank.

board, keyword, page_token, time_windowEach call returns one page of up to 50 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.81 per 1,000 requestsid · url · text · media_type · image_count · cover_image_url · video_url · duration_seconds · duration_sec · author_name · author_avatar_url · author_follower_count · play_count · like_count · like_rate · new_follower_count · follower_growth_rate · hot_value · posted_at · next_page_token · platform
billboard_low_fan_explosion

Low-follower viral videos

Spot Douyin works from small accounts that took off, from the low-follower hit board in Hot Spot Treasure. Every row pairs the author's follower count with the work's plays, likes, like rate and new followers, so you can see how far a small account travelled. Narrow it with an optional keyword and a window from one hour to seven days. Up to 50 per page and page sizes vary, so keep paging until next_page_token is gone.

keyword, page_token, time_windowEach call returns one page of up to 50 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.81 per 1,000 requestsid · url · text · media_type · image_count · cover_image_url · video_url · duration_seconds · duration_sec · author_name · author_avatar_url · author_follower_count · play_count · like_count · like_rate · new_follower_count · follower_growth_rate · hot_value · posted_at · next_page_token · platform
billboard_high_completion

High completion-rate chart

See which Douyin works viewers watch to the end, from the high completion-rate board in Hot Spot Treasure. You get duration, plays, likes, like rate, heat score, cover and a signed play link for each work; the completion rate itself is not returned. Choose a window from one hour to seven days and an optional keyword. Up to 50 per page, often fewer, with paging through next_page_token.

keyword, page_token, time_windowEach call returns one page of up to 50 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.81 per 1,000 requestsid · url · text · media_type · image_count · cover_image_url · video_url · duration_seconds · duration_sec · author_name · author_avatar_url · author_follower_count · play_count · like_count · like_rate · new_follower_count · follower_growth_rate · hot_value · posted_at · next_page_token · platform
billboard_search_hot

Trending searches chart

Find the search terms rising on Douyin, from the search board in Hot Spot Treasure. Each term has its rank, its search heat for the chosen window and a day-by-day heat series of up to 14 days. Filter to terms containing a keyword if you like. 50 terms per page; page on with next_page_token. Heat is Douyin's own score, not a count of searches.

keyword, page_token, time_windowEach call returns one page of up to 50 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect.$0.81 per 1,000 requestsrank · keyword · hot_value · search_trend · platform
billboard_account_search

Trending account search

Look for Douyin accounts related to a keyword through Hot Spot Treasure, with follower, like and video counts for each. The returned user_id is the secUid that profile and user_posts accept. About 30 accounts per page, sometimes a few fewer; page on with next_page_token. Results are related accounts, not a ranking.

keywordpage_tokenEach call returns one page of up to 30 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.81 per 1,000 requestsuser_id · nickname · url · avatar_url · follower_count · like_count · video_count · next_page_token · platform
music_search

Music search

Search Douyin's music library by song title, artist or sound name. Each track has title, artist, length, how many works use it, cover and a play link. A lyrics link and tags are usually absent. Each call returns only the first page, up to 10 tracks, with no next_page_token. A track being on Douyin does not clear it for commercial use.

keyword—Each call returns one page of up to 10 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect.$8 per 1,000 requestsid · url · title · author_name · duration_seconds · duration_sec · use_count · cover_image_url · audio_url · lyric_url · tags · platform
search_suggest

Search suggestions

Get the autocomplete suggestions Douyin's search box shows for a keyword, in Douyin's order, with rank from 1. Up to 10 per call; Douyin usually offers about five, and there is no paging. Suggestions carry no search volume.

keyword—Catalog values: defaultLimit=10, maxLimit=10. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$8 per 1,000 requestsrank · keyword · platform
billboard_rise_list

Billboard rising trends

Spot the trends climbing fastest on Douyin, from the rising board in Hot Spot Treasure. Each trend has its rank and places gained, title, ID, heat, related video count, category, creation time and an hourly heat curve. Keep only trends containing a keyword if you like. 50 per page; page on with next_page_token.

keyword, page_tokenEach call returns one page of up to 50 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect.$0.81 per 1,000 requestsrank · rank_change · title · topic_id · hot_value · video_count · category · created_at · hot_trend · next_page_token · platform
billboard_challenge_hot

Billboard trending challenges

Read the challenge board of Hot Spot Treasure, Douyin's own trend tool: the whole board of 50 trends in one call. Each trend has its rank, title, ID, heat, related video count, creation time and a heat curve sampled about every ten minutes. One call returns one page of up to 50 trends; there is no next page.

—Each call returns one page of up to 50 rows. There is no next page. Each page is billed once.$0.81 per 1,000 requestsrank · title · topic_id · hot_value · video_count · created_at · hot_trend · platform
billboard_topic_hot

Billboard trending topics

See which Douyin hashtags are heating up, from the hashtag board in Hot Spot Treasure, over the last hour, day, 3 days or 7 days. Each hashtag has its rank, numeric ID for hashtag_detail, name, heat, all-time views and works, average views per work, cover and up to 14 days of daily heat. 50 per page; page on with next_page_token.

keyword, page_token, time_windowEach call returns one page of up to 50 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect.$0.81 per 1,000 requestsrank · hashtag_id · hashtag_name · hot_value · total_view_count · total_video_count · average_view_count · cover_image_url · created_at · daily_trend · next_page_token · platform
music_detail

Music detail

Read one Douyin track by the numeric music_id from music_search, or a douyin.com/music link. Get title, artist, length, how many works use it, cover, a play link and a lyrics link when there is one. Some responses also carry is_original (an original sound) and the uploader's secUid in owner_id. Lookups by song title belong to music_search.

music_id——$0.81 per 1,000 requestsid · url · title · author_name · duration_seconds · duration_sec · use_count · cover_image_url · audio_url · lyric_url · platform · is_original · owner_id
xingtu_conversion_ability

Xingtu creator conversion

Read the conversion figures Xingtu shows for one Douyin creator's Xingtu order videos over the last 7, 30 or 90 days: related videos, median plays, component clicks and click rate, CPC, GPM, average sales, products promoted and their categories. Most values are ranges in Xingtu's own wording, such as 500-1000, with open-ended ones like "10% or more" in Chinese. Only creators with Xingtu orders in the window have figures; the rest return an empty result, which is not charged.

douyin_idtime_window—$1.6 per 1,000 requestscreator_id · time_window · related_video_count · video_play_median · component_click_count_range · component_click_rate_range · cpc_range_cny · gpm_range_cny · average_sales_range_cny · product_count · product_price_range_cny · categories · platform
xingtu_link_structure

Xingtu connected-user breakdown

See how many users Xingtu counts as connected to one Douyin creator, split into Xingtu's four levels, each with its count, its share of the total and the median for creators in the same industry. Also get the total, its rank among Xingtu creators (total_rank_top_percent, 0 to 1, smaller is better) and Xingtu's link type label, in Chinese, meaning seeding or spread.

douyin_id——$16 per 1,000 requestscreator_id · link_type · total_user_count · total_rank_top_percent · levels · platform
xingtu_recommended_videos

Xingtu recommended videos

List the four video groups on a Douyin creator's Xingtu page: signature videos, latest videos, top Xingtu order videos and top personal videos. Each video has its ID, link, play count and post time only. A group with no videos is left out.

douyin_id——$1.6 per 1,000 requestscreator_id · signature_videos · latest_videos · top_xingtu_order_videos · top_personal_videos · platform
xingtu_touch_distribution

Xingtu connected-user sources

See which content categories a Douyin creator's connected users came from, as Xingtu counts them: a tree of up to three levels, usually personal versus Xingtu content, then category and subcategory, each with a count.

douyin_id——$16 per 1,000 requestscreator_id · categories · platform
xingtu_video_performance

Xingtu video performance

Compare a Douyin creator's personal videos and Xingtu order videos on engagement rate, median plays and completion rate. Each measure has the creator's value, the platform-wide average and the percentile (the share of creators it beats, 0 to 1). Also get the latest personal and Xingtu order videos, up to about 15 of each, with title, plays, likes, comments, shares and duration.

douyin_id——$16 per 1,000 requestscreator_id · personal_videos · xingtu_videos · latest_videos · latest_xingtu_videos · platform
posts_batch

Posts in bulk

Look up as many as 20 Douyin videos at once from urls, each given as a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link, or a whole share text that contains a short link. Each video found is one row with caption, hashtags, engagement counts, author profile, cover, background music, publish time and a signed video_url, plus input, the entry you passed. video_url expires, so download promptly if you need to keep it. Billed per video; videos not found are not charged and come back in missed. Each entry can appear only once, and an array that breaks the rules returns 422 before any charge.

urls——$0.56 per 1,000 requestsEach element in urls counts as one callid · url · text · media_type · video_url · like_count · comment_count · share_count · collect_count · author_name · author_id · author_douyin_id · author_bio · author_avatar_url · author_follower_count · author_following_count · author_like_count · author_video_count · author_is_verified · cover_image_url · video_width · video_height · video_bitrates · has_watermark · duration_sec · duration_seconds · hashtags · posted_at · title · music · location · image_urls · is_deleted · is_private · platform · input
profiles_batch

Profiles in bulk

Look up as many as 20 Douyin accounts at once from urls, each given as a secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted. Each account found is one row with nickname, Douyin ID, bio, follower, following, like and video counts, verification badge and avatar, plus input, the entry you passed. Billed per account; accounts not found are not charged and come back in missed. Each entry can appear only once, and an array that breaks the rules returns 422 before any charge.

urls——$0.56 per 1,000 requestsEach element in urls counts as one calluser_id · douyin_id · nickname · bio · url · follower_count · following_count · like_count · video_count · is_verified · avatar_url · platform · input
media_links

Media download links

Get download links for as many as 20 Douyin videos at once from urls, each given as a numeric video ID or a https://www.douyin.com/video/<video_id> link; short links and share texts are not accepted. Each video found is one row with video_url, best_stream (the highest-bitrate stream), stream_count, video_width, video_height, video_size_bytes, has_watermark, cover_image_url, covers, image_urls, audio_url and input. The links are signed and expire; expires_at is the earliest expiry in the row. Send the request_headers of the row with every download, or Douyin may refuse it. Set fresh to true to skip cached links (default false). Billed per video; videos not found are not charged and come back in missed. Each entry can appear only once, and an array that breaks the rules returns 422 before any charge.

urlsfresh—$0.56 per 1,000 requestsEach element in urls counts as one callid · url · media_type · video_url · video_url_expires_at · video_width · video_height · video_size_bytes · has_watermark · best_stream · stream_count · cover_image_url · covers · image_urls · audio_url · request_headers · expires_at · fetched_at · platform · input
related_posts

Related posts

List the videos Douyin recommends next to one video, from its url: a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link or a whole share text. Each row has caption, hashtags, engagement counts, author profile, cover, background music, publish time and a signed video_url. One call returns one list; there is no paging.

urllimit—$0.56 per 1,000 requestsid · url · text · media_type · video_url · like_count · comment_count · share_count · collect_count · author_name · author_id · author_douyin_id · author_bio · author_avatar_url · author_follower_count · author_following_count · author_like_count · author_video_count · author_is_verified · cover_image_url · video_width · video_height · video_bitrates · has_watermark · duration_sec · duration_seconds · hashtags · posted_at · title · music · location · image_urls · is_deleted · is_private · platform
post_history

Post metrics history

Read the saved history of one Douyin video's like_count, comment_count, share_count and collect_count. Pass url as a numeric video ID or a link that contains it; short links and share texts are not accepted. Each row is one snapshot with captured_at (UTC), from oldest to newest. Snapshots come at irregular times, and a video can have few or none. One call returns the whole list; there is no paging.

urllimit—$0.79 per 1,000 requestsvideo_id · captured_at · like_count · comment_count · share_count · collect_count · platform
music_posts

Posts using a track

List the videos that use one Douyin track, from its music_id (taken from a video's music.id or from music_detail; a douyin.com/music link also works). Each row has caption, hashtags, engagement counts, author profile, cover and publish time, plus music_post_count, how many videos use the track by Douyin's count. Douyin shows only part of them, often a few dozen at most, so you usually get far fewer rows. One call returns the whole list; there is no paging.

music_idlimit—$0.79 per 1,000 requestsid · url · text · media_type · video_url · like_count · comment_count · share_count · collect_count · author_name · author_id · author_douyin_id · author_bio · author_avatar_url · author_follower_count · author_following_count · author_like_count · author_video_count · author_is_verified · cover_image_url · video_width · video_height · video_bitrates · has_watermark · duration_sec · duration_seconds · hashtags · posted_at · title · music · location · image_urls · is_deleted · is_private · platform · music_post_count
resolve_links

Link recognition

Find Douyin links and IDs inside a piece of text, such as a whole share text. Pass the text in text. Each match is one row with matched_text, match_type, resource_type (video, user, music, collection, live room and others), resource_id and url, plus handle when the match is a user. A short link has needs_expansion set to true, and its resource_id may then be empty. id_created_at is the creation time read from the ID itself.

textlimit—$0.79 per 1,000 requestsmatched_text · match_type · resource_type · resource_id · handle · url · needs_expansion · id_created_at · platform
trending_history

Trending history

See how Douyin trending terms moved over the last hours. Choose a board (hotspot by default, entertainment, social or challenge) and how far back to look with hours (1 to 168, default 24). Each term has first_seen_at and last_seen_at within the window, snapshot_count, best_rank, peak_hot_value and is_on_board, which is its state at the latest snapshot. The board is recorded about every ten minutes, and the record can have gaps. best_rank is absent for pinned terms that have no rank. One call returns one list; there is no paging.

board, hours, limit—$0.79 per 1,000 requestskeyword · board · first_seen_at · last_seen_at · snapshot_count · best_rank · peak_hot_value · is_on_board · platform
user_mixes

Account collections

List the collections (mixes) a Douyin account has published, from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link. Nicknames, Douyin IDs and short links are not accepted. Each row has mix_id, name, description, url, cover_image_url, episode_count, play_count, created_at and updated_at, plus mix_count, how many collections the account has. Some accounts return fewer collections than mix_count. A page holds up to 20 collections and limit does not change that; a page can hold fewer. Pass back each next_page_token as page_token within 24 hours; the last page has none. Use a mix_id with mix_posts.

user_idpage_tokenEach call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.79 per 1,000 requestsmix_id · name · description · url · cover_image_url · author_id · author_name · episode_count · play_count · created_at · updated_at · mix_count · platform
mix_posts

Collection posts

List the videos in one Douyin collection from its mix_id (taken from user_mixes; a https://www.douyin.com/collection/<ID> link also works). Each row is a video with caption, hashtags, engagement counts, author profile, cover and publish time, plus episode (its position, from 1), play_count of that episode and mix_episode_count. Rows run from the first episode on. A page holds up to 15 videos and limit does not change that; a page can hold fewer. Pass back each next_page_token as page_token within 24 hours; the last page has none.

mix_idpage_tokenEach call returns one page of up to 15 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.79 per 1,000 requestsid · url · text · media_type · video_url · like_count · comment_count · share_count · collect_count · author_name · author_id · author_douyin_id · author_bio · author_avatar_url · author_follower_count · author_following_count · author_like_count · author_video_count · author_is_verified · cover_image_url · video_width · video_height · video_bitrates · has_watermark · duration_sec · duration_seconds · hashtags · posted_at · title · music · location · image_urls · is_deleted · is_private · platform · play_count · episode · mix_episode_count
user_overview

Account overview

Get a quick read on one Douyin account from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link; nicknames, Douyin IDs and short links are not accepted. You get one object: the profile fields (nickname, Douyin ID, bio, follower, following, like and video counts, verification, avatar) and statistics over the account's recent posts: recent_post_count (about 20, pinned posts included), recent_media_types, recent_stats (average, median and maximum of likes, comments, shares and saves), posts_per_week, newest_post_at, oldest_post_at, top_posts by likes and the recent_posts themselves. The statistics cover the posts on the first page of the profile, so posts from about the last 7 days are not included; newest_post_at shows the newest post covered.

user_id——$1.6 per 1,000 requestsuser_id · douyin_id · nickname · bio · url · follower_count · following_count · like_count · video_count · is_verified · avatar_url · platform · recent_post_count · recent_media_types · recent_stats · posts_per_week · newest_post_at · oldest_post_at · top_posts · recent_posts
live_room

Live room

Read one Douyin live room from its numeric room_id, the number in https://live.douyin.com/<room_id>. You get one object with title, is_live, live_id, url, cover_image_url, the author's name, author_id, author_douyin_id, avatar and verification, like_count, viewer_count (people watching now, a point-in-time figure), started_at when given, and streams, the pull URLs by quality and format, such as flv or hls. The stream URLs are signed, expire, and are absent when the room is not live.

room_id——$0.79 per 1,000 requestsroom_id · live_id · title · is_live · url · cover_image_url · author_name · author_id · author_douyin_id · author_avatar_url · author_is_verified · like_count · viewer_count · started_at · streams · platform
feed

News feed

List the videos Douyin recommends on its home page or in one channel. Set channel to home (default), game, anime, food, knowledge or music. Each row is a video with caption, hashtags, engagement counts, author profile, cover, video_url and publish time. A page holds about 20 videos, sometimes fewer, and pages can repeat a video, so de-duplicate by id. Pass next_page_token back as page_token for the next page; each page is billed once.

channel, page_tokenEach call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.56 per 1,000 requestsid · url · text · media_type · video_url · like_count · comment_count · share_count · collect_count · author_name · author_id · author_douyin_id · author_bio · author_avatar_url · author_follower_count · author_following_count · author_like_count · author_video_count · author_is_verified · cover_image_url · video_width · video_height · video_bitrates · has_watermark · duration_sec · duration_seconds · hashtags · posted_at · title · music · location · image_urls · is_deleted · is_private · platform
series_feed

Short-drama channel

List the short dramas on Douyin's short-drama channel, 16 per page. genre narrows the list to hot, sweet_romance, comedy, uplifting, growth, suspense, family, urban, fantasy, xuanhuan, workplace, youth, costume, action, comeback or other; leave it out for the channel's default picks. Each row has series_id, name, description, url, cover_image_url, genres, sub_genres, status_text, episode_count, updated_to_episode, play_count, collect_count, is_paid (with paid_episode_count, episode_price_cny and full_price_cny on paid dramas), icp_number, episode_video_id, the author and last_episode_at. Pages can repeat a drama, so de-duplicate by series_id.

genre, page_tokenEach call returns one page of up to 16 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.56 per 1,000 requestsseries_id · name · description · url · cover_image_url · genres · sub_genres · status_text · episode_count · updated_to_episode · play_count · collect_count · is_paid · paid_episode_count · episode_price_cny · full_price_cny · icp_number · episode_video_id · author_id · author_uid · author_name · author_douyin_id · author_avatar_url · author_is_verified · author_follower_count · created_at · updated_at · last_episode_at · platform
series_posts

Short-drama episodes

List the episodes of one Douyin short drama from its series_id, in episode order, up to 20 per page. Each row is a video with caption, engagement counts, author profile, cover and video_url, plus episode, series_id and is_paid. The video links of paid episodes are encrypted and do not play after download.

series_idpage_tokenEach call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.79 per 1,000 requestsid · url · text · media_type · video_url · like_count · comment_count · share_count · collect_count · author_name · author_id · author_douyin_id · author_bio · author_avatar_url · author_follower_count · author_following_count · author_like_count · author_video_count · author_is_verified · cover_image_url · video_width · video_height · video_bitrates · has_watermark · duration_sec · duration_seconds · hashtags · posted_at · title · music · location · image_urls · is_deleted · is_private · platform · episode · series_id · is_paid
user_series

Account short dramas

List the short dramas a Douyin account has published, from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link, up to 20 per page. Rows have the same fields as series_detail; sub_genres is often missing here, so read series_detail for it.

user_idpage_tokenEach call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.$0.79 per 1,000 requestsseries_id · name · description · url · cover_image_url · genres · sub_genres · status_text · episode_count · updated_to_episode · play_count · collect_count · is_paid · paid_episode_count · episode_price_cny · full_price_cny · icp_number · author_id · author_uid · author_name · author_douyin_id · author_avatar_url · author_is_verified · author_follower_count · created_at · updated_at · last_episode_at · platform
danmaku

On-screen video comments

Read the on-screen comments (danmaku) of one Douyin video from its url: a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link or a whole share text that contains a short link. Each page covers one stretch of the video of up to 32 seconds, so the number of rows per page varies; to read the whole video, keep passing next_page_token back as page_token until it is absent. Each row has id, text, video_id, video_time (mm:ss), video_time_seconds, like_count, author_uid, is_ad and danmaku_count (all danmaku on the video). Each page is billed once.

urlpage_token, limitFor the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call.$0.56 per 1,000 requestsid · text · video_id · video_time · video_time_seconds · like_count · author_uid · is_ad · danmaku_count · platform
live_viewers

Broadcast viewer ranking

Read the viewer ranking of one Douyin broadcast from its live_id: up to 200 viewers in one response, each with rank, user_id, douyin_id, nickname, avatar_url, is_verified and url. After the broadcast ends only a few viewers remain on the list.

live_idlimit—$0.56 per 1,000 requestsrank · user_id · douyin_id · nickname · avatar_url · is_verified · url · platform
series_detail

Short-drama details

Read one Douyin short drama from its numeric series_id (from series_feed or user_series; a share link also works). You get one object with name, description, url, cover_image_url, genres, sub_genres, status_text, episode_count, updated_to_episode, play_count, collect_count, is_paid (with paid_episode_count, episode_price_cny and full_price_cny on paid dramas), icp_number, the author, created_at, updated_at and last_episode_at. List its episodes with series_posts.

series_id——$0.79 per 1,000 requestsseries_id · name · description · url · cover_image_url · genres · sub_genres · status_text · episode_count · updated_to_episode · play_count · collect_count · is_paid · paid_episode_count · episode_price_cny · full_price_cny · icp_number · author_id · author_uid · author_name · author_douyin_id · author_avatar_url · author_is_verified · author_follower_count · created_at · updated_at · last_episode_at · platform
mix_detail

Collection details

Read one Douyin collection (mix) from its numeric mix_id (from user_mixes; a https://www.douyin.com/collection/<ID> link also works). You get name, description, url, cover_image_url, episode_count, play_count, collect_count, the author, created_at, updated_at and is_complete. When is_complete is false, play_count, collect_count, description, created_at and updated_at are missing: page through user_mixes to the same mix_id for them. List the videos with mix_posts.

mix_id——$0.56 per 1,000 requestsmix_id · name · description · url · cover_image_url · episode_count · play_count · collect_count · author_id · author_uid · author_name · author_douyin_id · author_avatar_url · author_is_verified · author_follower_count · created_at · updated_at · is_complete · platform
live_session

Broadcast details

Read one Douyin broadcast from its live_id (from live_room or user_live rows; a new one each time the host goes live, not the number in the live-room link). You can still read it after the broadcast ends. You get room_id, live_id, title, is_live, url, cover_image_url, the host's name, IDs, avatar, verification and follower count, like_count, viewer_count, started_at, streams (signed pull URLs that expire, only while live) and is_paid.

live_id——$0.79 per 1,000 requestsroom_id · live_id · title · is_live · url · cover_image_url · author_name · author_id · author_douyin_id · author_avatar_url · author_is_verified · like_count · viewer_count · started_at · streams · platform · author_uid · author_follower_count · is_paid
user_live

User live

Check whether a Douyin host is live now, from their secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link. You get one object with is_live and the host's name, IDs, avatar, verification and follower count; while the host is live it also has room_id, live_id, title, url, cover_image_url, like_count, viewer_count, started_at and streams (signed pull URLs that expire). Pass live_id to live_session or live_viewers.

user_id——$0.79 per 1,000 requestsroom_id · live_id · title · is_live · url · cover_image_url · author_name · author_id · author_douyin_id · author_avatar_url · author_is_verified · like_count · viewer_count · started_at · streams · platform · author_uid · author_follower_count · is_paid
profile_by_id

Profile by numeric ID

Look up a Douyin account by its numeric uid: the author_uid on video and comment rows, or the uid from profile. You get one object with user_id (the secUid for profile and user_posts), douyin_id, nickname, bio, url, follower_count, following_count, like_count, video_count, is_verified, avatar_url and uid.

uid——$0.56 per 1,000 requestsuser_id · douyin_id · nickname · bio · url · follower_count · following_count · like_count · video_count · is_verified · avatar_url · platform · uid
What each action's parameters mean (61 actions)

Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.

Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.

What do the Douyin search parameters mean?

Find Douyin videos for a search term. Get caption, hashtags, likes, comments, shares, saves, author details and a signed play link. Douyin does not publish play counts. So view_count is usually absent or 0 and never shows real plays. Judge reach by likes, comments and shares.

Full API reference: parameters, code samples, response example and health
keywordRequired
Search term for the video search action, passed as a string, for example latte art. It finds videos; it is not an account nickname or a video ID.
page_tokenOptional
Page token. To start paging, send an empty string page_token=""; then pass back the previous response's next_page_token exactly as received to get the next page, keeping keyword, sort and publish_time unchanged. Each page is one call and comes as a whole Douyin result page, not cut: a page usually holds about 10 videos, often a few more (fewer on the last page). Videos Douyin repeats from the previous page are left out. Tokens last 24 hours and only work for the same account and the same parameters; an expired or mismatched token returns 422, so start again from the first page. On the last page the response has no next_page_token. Without page_token the call is a single fetch of one page, usually about 10 videos, with no next_page_token.
publish_timeOptional
Filters video search results by publishing time window. Allowed values are unlimited (default), one_day (last 24 hours), one_week (last 7 days), and half_year (last 6 months).
Allowed values:half_yearone_dayone_weekunlimited
sortOptional
Sorts video search results. Allowed values are relevance (default), newest for the latest publish date, and most_liked for highest likes. Supports legacy compatibility aliases general (mapped to relevance) and latest (mapped to newest).
Allowed values:most_likednewestrelevance

What do the Douyin profile parameters mean?

Look up a Douyin account by secUid. Get nickname, handle, bio, follower, like and video counts, IP location, verification and shop status. Pass the secUid (often starting MS4w) in user_id, not a nickname or short ID. Videos come from user_posts.

Full API reference: parameters, code samples, response example and health
user_idRequired
The Douyin user's secUid string (typically starting with MS4w), not a nickname or short numerical Douyin ID. It can be obtained from an author_id field in search results or from a user profile URL. If the account has been deleted or banned (Douyin keeps only an empty shell profile), the call returns 200 with an empty result and empty_reason set to account_unavailable. It is not charged, and retrying the same account does not change the result. Requesting the same account again within 24 hours returns the same result and is also not charged.
Douyin Open Platform: Open ID and Union ID — Douyin Open Platform defines Open ID as the user identifier within a single app, whereas Union ID operates across the developer account scope. For this page, user_id expects a secUid per the instructions above; do not supply Open Platform identifiers directly as equivalent inputs. · Checked

What do the Douyin user_posts parameters mean?

Track the videos a Douyin account publishes, newest first. Each video has caption, hashtags, length, engagement counts and publish time, plus is_deleted and is_private when Douyin reports them. Start paging with an empty page_token. Pass back each next_page_token within 24 hours. since sets an earliest publish date.

Full API reference: parameters, code samples, response example and health
user_idRequired
The Douyin user's secUid string (typically starting with MS4w), not a nickname or short numerical Douyin ID. Used to identify accounts for profile, user_posts, user_mixes and user_overview; can be obtained from an author_id field in search results or a user profile URL.
Douyin Open Platform: Open ID and Union ID — Douyin Open Platform defines Open ID as the user identifier within a single app, whereas Union ID operates across the developer account scope. For this page, user_id expects a secUid per the instructions above; do not supply Open Platform identifiers directly as equivalent inputs. · Checked
page_tokenOptional
Page token for user_posts: send an empty string page_token="" to start from the newest page, then pass back each response's next_page_token exactly as received, keeping the other parameters unchanged. Tokens last 24 hours and only work for the same account and parameters; the last page has no next_page_token. Pages hold about 20 rows, newest first, and skip the since lower bound; filter by posted_at on your side if you need a date window. Each page is one call.
sinceOptional
Sets a lower bound for video publish dates in profile and user_posts actions using the YYYY-MM-DD format. Filters videos retrieved for the request rather than account creation date. Omitting this parameter removes the date filter.
untilOptional
Day to page back from, as YYYY-MM-DD in Beijing time (UTC+8). With it, the first page starts with posts published on or before that day, newest first, and pinned posts are not placed at the top. After that, pass each response's next_page_token back as page_token exactly as received, keeping the other parameters, until included, unchanged. Each page is one call. Cannot be sent together with since: for posts in a date range, page from until and stop once posted_at is earlier than the day you want. Starting from until may miss some posts published in roughly the last two weeks.

What do the Douyin video parameters mean?

Fetch one Douyin video's caption, hashtags, length, engagement counts, author profile, background music and publish time from its video link, plus is_deleted and is_private when Douyin reports them. The play link in video_url is signed and expires, so download promptly if you need to keep it.

Full API reference: parameters, code samples, response example and health
urlRequired
Full URL of the target Douyin video, formatted as https://www.douyin.com/video/<video_id>. Do not pass user profile or search page URLs. If the video does not exist or cannot be viewed (deleted, set to visible only to the author, still under review, or the ID is wrong), the call returns 200 with an empty result and empty_reason set to post_unavailable. It is not charged. Requesting the same URL again within 1 hour returns the same result and is also not charged. The window is 1 hour because a video that is visible only to the author or under review may become visible later; a request after 1 hour looks the video up again.

What do the Douyin comments parameters mean?

Pull viewer comments on a Douyin video, with likes, reply count, IP region, hot-comment and author-liked flags, mentions and any images. Each comment can also carry the commenter's author_douyin_id and author_is_verified, is_pinned for a comment the author pinned, and sticker_url when it holds a sticker. Pass back next_page_token as page_token to page through the top-level comments.

Full API reference: parameters, code samples, response example and health
urlRequired
Full URL of the target Douyin video, formatted as https://www.douyin.com/video/<video_id>. Fetches video details in video, comments in comments, the replies under one comment in comment_replies (the video the comment sits on), audio transcripts in transcript, the videos recommended next to it in related_posts, or its count history in post_history. Do not pass user profile or search page URLs.
page_tokenOptional
Page token for user_posts and comments. To start paging, send an empty string page_token=""; then pass back the previous response's next_page_token exactly as received to get the next page, keeping every other parameter unchanged. Tokens last 24 hours and only work for the same account and the same parameters; an expired or mismatched token returns 422, so start again from the first page. On the last page the response has no next_page_token (pagination.has_more is false). Each user_posts page is one call and holds up to 20 rows, newest first, and is not filtered by since (filter by posted_at on your side if you need a date window). comments pages hold up to 50 top-level comments and are priced per block of rows: every 20 rows count as one call, so a page counts as 3 calls for its 50 rows (a smaller limit counts that many rows), and blocks that come back with no rows are not charged. Without page_token the call is a single fetch: user_posts returns the newest batch (since applies) and comments returns only the first top-level comments, also at one call per 20 rows: 20 rows by default and at most 150, usually with no reply rows and no next_page_token.

What do the Douyin comment_replies parameters mean?

List the replies under one top-level comment on a Douyin video, up to 100 per call, read 20 at a time. Each reply has text, likes, replier, IP region and the author-liked flag, plus reply_to_reply_id and reply_to_author_name when it answers another reply. Pass the video link with a comment_id from comments, and page with next_page_token.

Full API reference: parameters, code samples, response example and health
urlRequired
Full URL of the target Douyin video, formatted as https://www.douyin.com/video/<video_id>. Fetches video details in video, comments in comments, the replies under one comment in comment_replies (the video the comment sits on), audio transcripts in transcript, the videos recommended next to it in related_posts, or its count history in post_history. Do not pass user profile or search page URLs.
comment_idRequired
The ID of the top-level comment whose replies you want, digits only, taken from the id of a comments row; only comments whose reply_count is above zero have replies. Used by comment_replies together with the url of the same video; it is not a video ID or a reply ID.
page_tokenOptional
Page token for comment_replies: send an empty string page_token="" to start from the first reply, then pass back each response's next_page_token exactly as received, keeping the other parameters unchanged. Tokens last 24 hours and only work for the same account and the same parameters; on the last page the response has no next_page_token. Pages hold up to 20 replies and are priced per block of rows: every 20 rows count as one call, and a block that comes back with no rows is not charged.

What do the Douyin trending parameters mean?

Check Douyin's trending boards for hot keywords. Each keyword has rank, heat score, related video, article and live-room counts, label, peak rank and a url when there is one. Choose boards with boards (default hotspot). hot_value is Douyin's own score and you can compare it only within one board.

Full API reference: parameters, code samples, response example and health

What do the Douyin transcript parameters mean?

Turn a Douyin video's speech into text with timestamped segments. You also get the title, publish time, engagement counts, author and an audio track link. Mandarin, Cantonese, English, Japanese and Korean are supported; not every video has recognizable speech, and the text is not translated.

Full API reference: parameters, code samples, response example and health
urlRequired
Full URL of the target Douyin video, formatted as https://www.douyin.com/video/<video_id>. Do not pass user profile or search page URLs. If nobody speaks in the video, the call returns 200 with an empty result. It is not charged. An empty result with empty_reason set to no_speech means no speech was detected in this video's audio. Mandarin, Cantonese, English, Japanese and Korean speech is supported; in other languages the transcript may be wrong, or the call may return an empty result with empty_reason set to no_speech.

What do the Douyin creator_search parameters mean?

Search Douyin creator accounts by nickname, handle or phrase. Get follower count, gender, verification and live status, plus the secUid for follow-up calls. Narrow with follower_range and user_type. Matches are candidates, not a confirmed identity.

Full API reference: parameters, code samples, response example and health
keywordRequired
A creator nickname, Douyin ID, or related search phrase used for account discovery. It does not run the video search action or guarantee an exact identity match.
follower_rangeOptional
Filters creator_search by an account's follower-count band. Use under_1k, 1k_to_10k, 10k_to_100k, 100k_to_1m, or over_1m; omit it to leave the band unrestricted.
Allowed values:100k_to_1m10k_to_100k1k_to_10kover_1munder_1k
user_typeOptional
Filters creator_search by account category: general, business, or verified_individual. It is not a buyer category or proof of legal identity.
Allowed values:businessgeneralverified_individual

What do the Douyin creator_audience parameters mean?

Break down a Douyin creator's followers by device price band, gender, age or province, with each bucket's share and its TGI index. Shares are decimals between 0 and 1, not percentages, and the buckets are not buyer records or individual people.

Full API reference: parameters, code samples, response example and health
user_idRequired
The Douyin creator's secUid, usually beginning with MS4w, used to read the available audience distribution and TGI signals. Use user_id from creator discovery, not a nickname, short Douyin ID, or buyer identifier.
dimensionOptional
Selects the creator_audience follower-segment view: device_price_band (default), gender, age, or province. Distribution values are raw share decimals from 0 to 1, not percentages; TGI remains a separate index. This parameter does not request individual follower records or buyer data.
Allowed values:agedevice_price_bandgenderprovince

What do the Douyin creator_trend parameters mean?

Track a Douyin creator's follower count over time as a dated series, with the average follower count across the window. Pass the creator's secUid in user_id. The series alone does not show what caused any growth.

Full API reference: parameters, code samples, response example and health
user_idRequired
The Douyin creator's secUid, usually beginning with MS4w, used to read the available follower-trend series. It is not a nickname or short numerical Douyin ID.

What do the Douyin creator_benchmark parameters mean?

Compare a Douyin creator with similar accounts through average posts, likes, comments, shares and follower growth, each with a percentile rank. These are relative account signals, not sales, conversions or proof of cause.

Full API reference: parameters, code samples, response example and health
user_idRequired
The Douyin creator's secUid, usually beginning with MS4w, used to read the available account averages and percentiles. It is not a nickname or short numerical Douyin ID.

What do the Douyin xingtu_creator_search parameters mean?

Search Douyin's Xingtu creator records by keyword. Get engagement rate, expected plays, follower growth, commerce score, GMV ranges (not exact GMV), value indices and CNY quotes by video length. creator_id is only for comparing these rows. Analytics and rate cards need the douyin_id from creator_search.

Full API reference: parameters, code samples, response example and health
keywordRequired
A creator search phrase for xingtu_creator_search. The returned creator_id identifies and compares records within this Xingtu search result; it is not accepted by xingtu_creator_analytics or xingtu_rate_card, which require the douyin_id returned by ordinary creator_search. It is not a product keyword or video search.

What do the Douyin xingtu_creator_analytics parameters mean?

Get a creator's Xingtu commercial profile on Douyin. It includes type and grade, followers, average plays, content themes, commerce flag and lowest CNY quote. Pass the visible douyin_id from creator_search, not a secUid or Xingtu ID. The lowest quote is an asking price, not a closed deal.

Full API reference: parameters, code samples, response example and health
douyin_idRequired
The visible Douyin account ID (unique_id) returned by the ordinary creator_search action and required by xingtu_creator_analytics and xingtu_rate_card; xingtu_creator_search does not return it. It is distinct from a user_id (secUid), Xingtu creator_id, and nickname.

What do the Douyin xingtu_rate_card parameters mean?

See the rate tiers a Douyin creator lists on Xingtu. Each tier has format, current and original quote, settlement note, video type and open status. Use the douyin_id from creator_search. These are posted rates, not an agreed deal or final settlement.

Full API reference: parameters, code samples, response example and health
douyin_idRequired
The visible Douyin account ID (unique_id) returned by the ordinary creator_search action and required by xingtu_creator_analytics and xingtu_rate_card; xingtu_creator_search does not return it. It is distinct from a user_id (secUid), Xingtu creator_id, and nickname.

What do the Douyin xingtu_creator_rankings parameters mean?

Pull up to five creators from a Douyin Xingtu ranking board. Choose the board by industry, board type and time window. Get rank, previous rank, score, CPM and order ranges. Ranks and scores compare only within the returned board and window. Order and repurchase ranges are not exact totals.

Full API reference: parameters, code samples, response example and health
industryRequired
Selects the Xingtu creator-ranking industry: apparel_accessories, automotive, beauty, electronics, food_beverage, household_goods, or mother_baby_pets. It is a board filter, not a creator-authored tag.
Allowed values:apparel_accessoriesautomotivebeautyelectronicsfood_beveragehousehold_goodsmother_baby_pets
ranking_typeRequired
Selects the Xingtu ranking board: all_top, head_tier, paid_ad_performers, rising_stars, sales_champions, top_creators, or viral_drivers. Board names do not turn rank into a forecast or guaranteed outcome.
Allowed values:all_tophead_tierpaid_ad_performersrising_starssales_championstop_creatorsviral_drivers
time_windowRequired
Selects the Xingtu ranking snapshot: latest_weekly, latest_monthly, all_history_weekly, or all_history_monthly. This scopes the returned leaderboard and does not accept an arbitrary date range.
Allowed values:all_history_monthlyall_history_weeklylatest_monthlylatest_weekly

What do the Douyin product_search parameters mean?

Search Douyin Mall products by keyword, up to 30 a page. Get CNY price, 30-day sales, positive review rate, shop, commission rate and number of partnering creators. Only page 1 is available for now; page 2 and later, by page_token or page, return 503 and are not charged. Each page is one call. The partnering creator count does not show that a specific creator sold the item. When the main source is unavailable, a backup source returns at most five products with no next page, and only product ID, title, link, image, CNY price and shop ID. Sales, review rate, shop name, category, commission and creator fields are then missing. Lead-in prices of a tenth of a yuan or less are left out.

Full API reference: parameters, code samples, response example and health
keywordRequired
A Douyin product search phrase. Results form an independent product pool and do not establish that any specified creator promoted or sold those items.
pageOptional
Page number from 1 to 17, with up to 30 products a page. Only page 1 can be read for now, as one call; pages 2 to 17 return 503 and are not charged. When page_token is also sent, the token wins.
page_tokenOptional
Page token for product_search. Leave it out for the first page. Only page 1 is available for now: a request with the previous response's next_page_token returns 503 with error.reason later_pages_unavailable and is not charged, and sending it again does not help. Each page holds up to 30 products and is one call. Tokens last 24 hours.

What do the Douyin shop_products parameters mean?

List the products of one Douyin Mall shop from its numeric shop_id, 10 a page. Each product has ID, promotion ID, title, link, image, CNY price and monthly sales, and every row repeats the shop's total product count and page count. Take shop_id from a product_search or product_detail row. Page on with next_page_token; each page is one call.

Full API reference: parameters, code samples, response example and health
shop_idRequired
The numeric ID of a Douyin Mall shop, taken from the shop_id of a product_search or product_detail row. It is not a shop name.
pageOptional
Page number starting at 1, with 10 products a page; the number of pages is the shop_page_count on each row. It reads that page directly as one call; when page_token is also sent, the token wins.
page_tokenOptional
Page token for shop_products. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping shop_id unchanged. Each page holds 10 products and is one call. Tokens last 24 hours; the last page has none.

What do the Douyin product_detail parameters mean?

Read one Douyin Mall product by numeric ID. Get displayed and discount price in CNY, sales figure, shop, images, assurances, shipping notes, variants and on-sale status. Take product_id from product_search or live_product_search, not a SKU or promotion ID.

Full API reference: parameters, code samples, response example and health
product_idRequired
A numeric Douyin product ID returned by product_search or live_product_search. It is not a SKU ID, promotion ID, title, or URL.

What do the Douyin live_product_search parameters mean?

Find up to three Douyin products sold in live streams now for a keyword. Get SKU, title, CNY price, shop and live room ID. The room ID applies to this search only. It does not attribute past live sales.

Full API reference: parameters, code samples, response example and health
keywordRequired
A Douyin Mall product search phrase. Only products that carry a live tag and a live room ID at the time of the request come back; the results are not a record of what any given creator has sold on live streams.

What do the Douyin hashtag_search parameters mean?

Find Douyin hashtags whose names contain a keyword, ranked by heat. Each hashtag has its numeric ID, a heat index and the videos, likes and views it gathered over the last 7 full days in China time, with the period dates on every row. Up to 200 hashtags per call, 20 by default; pass hashtag_id to hashtag_detail for all-time totals.

Full API reference: parameters, code samples, response example and health
keywordRequired
The word to look for in Douyin hashtag names, such as food; Chinese terms usually match more hashtags. It finds hashtags, not videos.

What do the Douyin hashtag_detail parameters mean?

Read one Douyin hashtag by its numeric hashtag_id from hashtag_search. Get its name, total views since it was created, the number of users who have joined it, creation time and share link. Totals are platform counts for the whole hashtag, not for a period.

Full API reference: parameters, code samples, response example and health
hashtag_idRequired
The numeric ID of a Douyin hashtag for hashtag_detail, such as 1767586897793101, taken from the hashtag_id of a hashtag_search row. A hashtag name or #name is rejected before any charge.

What do the Douyin billboard_video_hot parameters mean?

Read the video board of Hot Spot Treasure, Douyin's own trend tool: the overall board, or the boards for highest follower growth or highest like rate, over the last hour, day, 3 days or 7 days. Each work has plays, likes, like rate, followers gained, follower-growth rate, heat score and author followers, highest heat first. Up to 50 per page; Douyin filters some works out, so pages often come back shorter and a short page is not the end. Rows carry no rank.

Full API reference: parameters, code samples, response example and health
boardOptional
Board for billboard_video_hot: all (default) is the overall board, follower_growth the board for works that gained the most followers relative to plays, and like_rate the board for the highest like rate.
Allowed values:allfollower_growthlike_rate
keywordOptional
Optional: keep only works related to this word, such as food; leave it out for the whole board.
page_tokenOptional
Page token. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged. Each page holds up to 50 works and is one call; Douyin filters some works out, so a page often holds fewer than 50 and a short page is not the end. Tokens last 24 hours; the last page has no next_page_token (about 1,000 works per board at most).
time_windowOptional
Time window: 1h (last hour), 1d (last 24 hours, default), 3d or 7d.
Allowed values:1d1h3d7d

What do the Douyin billboard_low_fan_explosion parameters mean?

Spot Douyin works from small accounts that took off, from the low-follower hit board in Hot Spot Treasure. Every row pairs the author's follower count with the work's plays, likes, like rate and new followers, so you can see how far a small account travelled. Narrow it with an optional keyword and a window from one hour to seven days. Up to 50 per page and page sizes vary, so keep paging until next_page_token is gone.

Full API reference: parameters, code samples, response example and health
keywordOptional
Optional: keep only works related to this word, such as food; leave it out for the whole board.
page_tokenOptional
Page token. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged. Each page holds up to 50 works and is one call; Douyin filters some works out, so a page often holds fewer than 50 and a short page is not the end. Tokens last 24 hours; the last page has no next_page_token (about 1,000 works per board at most).
time_windowOptional
Time window: 1h (last hour), 1d (last 24 hours, default), 3d or 7d.
Allowed values:1d1h3d7d

What do the Douyin billboard_high_completion parameters mean?

See which Douyin works viewers watch to the end, from the high completion-rate board in Hot Spot Treasure. You get duration, plays, likes, like rate, heat score, cover and a signed play link for each work; the completion rate itself is not returned. Choose a window from one hour to seven days and an optional keyword. Up to 50 per page, often fewer, with paging through next_page_token.

Full API reference: parameters, code samples, response example and health
keywordOptional
Optional: keep only works related to this word, such as food; leave it out for the whole board.
page_tokenOptional
Page token. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged. Each page holds up to 50 works and is one call; Douyin filters some works out, so a page often holds fewer than 50 and a short page is not the end. Tokens last 24 hours; the last page has no next_page_token (about 1,000 works per board at most).
time_windowOptional
Time window: 1h (last hour), 1d (last 24 hours, default), 3d or 7d.
Allowed values:1d1h3d7d

What do the Douyin billboard_search_hot parameters mean?

Find the search terms rising on Douyin, from the search board in Hot Spot Treasure. Each term has its rank, its search heat for the chosen window and a day-by-day heat series of up to 14 days. Filter to terms containing a keyword if you like. 50 terms per page; page on with next_page_token. Heat is Douyin's own score, not a count of searches.

Full API reference: parameters, code samples, response example and health
keywordOptional
Optional: keep only search terms that contain this word, such as food; leave it out for the whole search board.
page_tokenOptional
Page token. Leave it out for the first page (the top 50 terms), then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged. Each page holds up to 50 terms and is one call; tokens last 24 hours, and the last page has no next_page_token.
time_windowOptional
Time window for the search heat: 1h, 1d (default), 3d or 7d.
Allowed values:1d1h3d7d

What do the Douyin billboard_account_search parameters mean?

Look for Douyin accounts related to a keyword through Hot Spot Treasure, with follower, like and video counts for each. The returned user_id is the secUid that profile and user_posts accept. About 30 accounts per page, sometimes a few fewer; page on with next_page_token. Results are related accounts, not a ranking.

Full API reference: parameters, code samples, response example and health
keywordRequired
The word to find related Douyin accounts for, such as food. Each account comes back with follower, like and video counts.
page_tokenOptional
Page token. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received. Each page holds up to 30 accounts (sometimes one or two fewer without being the end) and is one call; tokens last 24 hours, and the last page has no next_page_token.

What do the Douyin music_search parameters mean?

Search Douyin's music library by song title, artist or sound name. Each track has title, artist, length, how many works use it, cover and a play link. A lyrics link and tags are usually absent. Each call returns only the first page, up to 10 tracks, with no next_page_token. A track being on Douyin does not clear it for commercial use.

Full API reference: parameters, code samples, response example and health
keywordRequired
A song title, artist or sound name, such as Jay Chou; it searches Douyin's music library, not videos.

What do the Douyin search_suggest parameters mean?

Get the autocomplete suggestions Douyin's search box shows for a keyword, in Douyin's order, with rank from 1. Up to 10 per call; Douyin usually offers about five, and there is no paging. Suggestions carry no search volume.

Full API reference: parameters, code samples, response example and health
keywordRequired
The text typed into Douyin's search box, such as artificial intelligence; the suggestions come back in Douyin's order.

What do the Douyin billboard_rise_list parameters mean?

Spot the trends climbing fastest on Douyin, from the rising board in Hot Spot Treasure. Each trend has its rank and places gained, title, ID, heat, related video count, category, creation time and an hourly heat curve. Keep only trends containing a keyword if you like. 50 per page; page on with next_page_token.

Full API reference: parameters, code samples, response example and health
keywordOptional
Optional: keep only trends that contain this word, such as game; leave it out for the whole rising board.
page_tokenOptional
Page token. Leave it out for the first page (the top 50 trends), then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged. Each page holds up to 50 trends and is one call; tokens last 24 hours, and the last page has no next_page_token.

What do the Douyin billboard_challenge_hot parameters mean?

Read the challenge board of Hot Spot Treasure, Douyin's own trend tool: the whole board of 50 trends in one call. Each trend has its rank, title, ID, heat, related video count, creation time and a heat curve sampled about every ten minutes. One call returns one page of up to 50 trends; there is no next page.

Full API reference: parameters, code samples, response example and health

This action has no business parameters. Send only the platform and action identifiers.

What do the Douyin billboard_topic_hot parameters mean?

See which Douyin hashtags are heating up, from the hashtag board in Hot Spot Treasure, over the last hour, day, 3 days or 7 days. Each hashtag has its rank, numeric ID for hashtag_detail, name, heat, all-time views and works, average views per work, cover and up to 14 days of daily heat. 50 per page; page on with next_page_token.

Full API reference: parameters, code samples, response example and health
keywordOptional
Optional: keep only hashtags whose names contain this word, such as food; leave it out for the whole hashtag board.
page_tokenOptional
Page token. Leave it out for the first page (the top 50 hashtags), then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged. Each page holds up to 50 hashtags and is one call; tokens last 24 hours, and the last page has no next_page_token (about 1,000 hashtags per board at most).
time_windowOptional
Time window for the hashtag heat: 1h, 1d (default), 3d or 7d.
Allowed values:1d1h3d7d

What do the Douyin music_detail parameters mean?

Read one Douyin track by the numeric music_id from music_search, or a douyin.com/music link. Get title, artist, length, how many works use it, cover, a play link and a lyrics link when there is one. Some responses also carry is_original (an original sound) and the uploader's secUid in owner_id. Lookups by song title belong to music_search.

Full API reference: parameters, code samples, response example and health
music_idRequired
Numeric Douyin music ID, such as 7699717253151558410, taken from the id of a music_search row, from a video's music.id or from music_detail; a douyin.com/music/<ID> link is accepted too.

What do the Douyin xingtu_conversion_ability parameters mean?

Read the conversion figures Xingtu shows for one Douyin creator's Xingtu order videos over the last 7, 30 or 90 days: related videos, median plays, component clicks and click rate, CPC, GPM, average sales, products promoted and their categories. Most values are ranges in Xingtu's own wording, such as 500-1000, with open-ended ones like "10% or more" in Chinese. Only creators with Xingtu orders in the window have figures; the rest return an empty result, which is not charged.

Full API reference: parameters, code samples, response example and health
douyin_idRequired
The creator's visible Douyin ID (unique_id, from creator_search) or the 19-digit Xingtu creator_id returned by xingtu_creator_search. A creator who is not on Xingtu gives an empty result, which is not charged.
time_windowOptional
Period of the Xingtu figures: 7d, 30d (default) or 90d, counted back from today. It is not the ranking period of xingtu_creator_rankings.
Allowed values:30d7d90d

What do the Douyin xingtu_link_structure parameters mean?

See how many users Xingtu counts as connected to one Douyin creator, split into Xingtu's four levels, each with its count, its share of the total and the median for creators in the same industry. Also get the total, its rank among Xingtu creators (total_rank_top_percent, 0 to 1, smaller is better) and Xingtu's link type label, in Chinese, meaning seeding or spread.

Full API reference: parameters, code samples, response example and health

What do the Douyin xingtu_recommended_videos parameters mean?

List the four video groups on a Douyin creator's Xingtu page: signature videos, latest videos, top Xingtu order videos and top personal videos. Each video has its ID, link, play count and post time only. A group with no videos is left out.

Full API reference: parameters, code samples, response example and health

What do the Douyin xingtu_touch_distribution parameters mean?

See which content categories a Douyin creator's connected users came from, as Xingtu counts them: a tree of up to three levels, usually personal versus Xingtu content, then category and subcategory, each with a count.

Full API reference: parameters, code samples, response example and health
douyin_idRequired
The creator's visible Douyin ID (unique_id, from creator_search) or the 19-digit Xingtu creator_id returned by xingtu_creator_search. A creator who is not on Xingtu gives an empty result, which is not charged.

What do the Douyin xingtu_video_performance parameters mean?

Compare a Douyin creator's personal videos and Xingtu order videos on engagement rate, median plays and completion rate. Each measure has the creator's value, the platform-wide average and the percentile (the share of creators it beats, 0 to 1). Also get the latest personal and Xingtu order videos, up to about 15 of each, with title, plays, likes, comments, shares and duration.

Full API reference: parameters, code samples, response example and health
douyin_idRequired
The creator's visible Douyin ID (unique_id, from creator_search) or the 19-digit Xingtu creator_id returned by xingtu_creator_search. A creator who is not on Xingtu gives an empty result, which is not charged.

What do the Douyin posts_batch parameters mean?

Look up as many as 20 Douyin videos at once from urls, each given as a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link, or a whole share text that contains a short link. Each video found is one row with caption, hashtags, engagement counts, author profile, cover, background music, publish time and a signed video_url, plus input, the entry you passed. video_url expires, so download promptly if you need to keep it. Billed per video; videos not found are not charged and come back in missed. Each entry can appear only once, and an array that breaks the rules returns 422 before any charge.

Full API reference: parameters, code samples, response example and health
urlsRequired
The videos to read, as an array of up to 20 entries; each entry can appear only once. Each entry is a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link, or a whole share text that contains a short link. Billed per video; videos not found are not charged. Rows carry input, the entry you passed.

What do the Douyin profiles_batch parameters mean?

Look up as many as 20 Douyin accounts at once from urls, each given as a secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted. Each account found is one row with nickname, Douyin ID, bio, follower, following, like and video counts, verification badge and avatar, plus input, the entry you passed. Billed per account; accounts not found are not charged and come back in missed. Each entry can appear only once, and an array that breaks the rules returns 422 before any charge.

Full API reference: parameters, code samples, response example and health
urlsRequired
The accounts to read, as an array of up to 20 entries; each entry can appear only once. Each entry is a secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted. Billed per account; accounts not found are not charged. Rows carry input, the entry you passed.

What do the Douyin media_links parameters mean?

Get download links for as many as 20 Douyin videos at once from urls, each given as a numeric video ID or a https://www.douyin.com/video/<video_id> link; short links and share texts are not accepted. Each video found is one row with video_url, best_stream (the highest-bitrate stream), stream_count, video_width, video_height, video_size_bytes, has_watermark, cover_image_url, covers, image_urls, audio_url and input. The links are signed and expire; expires_at is the earliest expiry in the row. Send the request_headers of the row with every download, or Douyin may refuse it. Set fresh to true to skip cached links (default false). Billed per video; videos not found are not charged and come back in missed. Each entry can appear only once, and an array that breaks the rules returns 422 before any charge.

Full API reference: parameters, code samples, response example and health

What do the Douyin related_posts parameters mean?

List the videos Douyin recommends next to one video, from its url: a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link or a whole share text. Each row has caption, hashtags, engagement counts, author profile, cover, background music, publish time and a signed video_url. One call returns one list; there is no paging.

Full API reference: parameters, code samples, response example and health

What do the Douyin post_history parameters mean?

Read the saved history of one Douyin video's like_count, comment_count, share_count and collect_count. Pass url as a numeric video ID or a link that contains it; short links and share texts are not accepted. Each row is one snapshot with captured_at (UTC), from oldest to newest. Snapshots come at irregular times, and a video can have few or none. One call returns the whole list; there is no paging.

Full API reference: parameters, code samples, response example and health
urlRequired
The Douyin video whose like, comment, share and collect snapshots you want: a numeric video ID, or a link that contains it such as https://www.douyin.com/video/<video_id>. Short links and share texts are not accepted.
limitOptional
Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without limit, whatever the value.

What do the Douyin music_posts parameters mean?

List the videos that use one Douyin track, from its music_id (taken from a video's music.id or from music_detail; a douyin.com/music link also works). Each row has caption, hashtags, engagement counts, author profile, cover and publish time, plus music_post_count, how many videos use the track by Douyin's count. Douyin shows only part of them, often a few dozen at most, so you usually get far fewer rows. One call returns the whole list; there is no paging.

Full API reference: parameters, code samples, response example and health
music_idRequired
Numeric Douyin music ID, such as 7699717253151558410, taken from the id of a music_search row, from a video's music.id or from music_detail; a douyin.com/music/<ID> link is accepted too.
limitOptional
Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without limit, whatever the value.

What do the Douyin resolve_links parameters mean?

Find Douyin links and IDs inside a piece of text, such as a whole share text. Pass the text in text. Each match is one row with matched_text, match_type, resource_type (video, user, music, collection, live room and others), resource_id and url, plus handle when the match is a user. A short link has needs_expansion set to true, and its resource_id may then be empty. id_created_at is the creation time read from the ID itself.

Full API reference: parameters, code samples, response example and health

What do the Douyin trending_history parameters mean?

See how Douyin trending terms moved over the last hours. Choose a board (hotspot by default, entertainment, social or challenge) and how far back to look with hours (1 to 168, default 24). Each term has first_seen_at and last_seen_at within the window, snapshot_count, best_rank, peak_hot_value and is_on_board, which is its state at the latest snapshot. The board is recorded about every ten minutes, and the record can have gaps. best_rank is absent for pinned terms that have no rank. One call returns one list; there is no paging.

Full API reference: parameters, code samples, response example and health

What do the Douyin user_mixes parameters mean?

List the collections (mixes) a Douyin account has published, from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link. Nicknames, Douyin IDs and short links are not accepted. Each row has mix_id, name, description, url, cover_image_url, episode_count, play_count, created_at and updated_at, plus mix_count, how many collections the account has. Some accounts return fewer collections than mix_count. A page holds up to 20 collections and limit does not change that; a page can hold fewer. Pass back each next_page_token as page_token within 24 hours; the last page has none. Use a mix_id with mix_posts.

Full API reference: parameters, code samples, response example and health
user_idRequired
The account whose collections you want: its secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted.
page_tokenOptional
Page token for user_mixes. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping user_id unchanged. Tokens last 24 hours; the last page has no next_page_token. A page holds up to 20 collections.

What do the Douyin mix_posts parameters mean?

List the videos in one Douyin collection from its mix_id (taken from user_mixes; a https://www.douyin.com/collection/<ID> link also works). Each row is a video with caption, hashtags, engagement counts, author profile, cover and publish time, plus episode (its position, from 1), play_count of that episode and mix_episode_count. Rows run from the first episode on. A page holds up to 15 videos and limit does not change that; a page can hold fewer. Pass back each next_page_token as page_token within 24 hours; the last page has none.

Full API reference: parameters, code samples, response example and health
mix_idRequired
Numeric Douyin collection ID, taken from the mix_id of a user_mixes row; a https://www.douyin.com/collection/<ID> link is accepted too.
page_tokenOptional
Page token for mix_posts. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping mix_id unchanged. Tokens last 24 hours; the last page has no next_page_token. A page holds up to 15 videos, in episode order.

What do the Douyin user_overview parameters mean?

Get a quick read on one Douyin account from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link; nicknames, Douyin IDs and short links are not accepted. You get one object: the profile fields (nickname, Douyin ID, bio, follower, following, like and video counts, verification, avatar) and statistics over the account's recent posts: recent_post_count (about 20, pinned posts included), recent_media_types, recent_stats (average, median and maximum of likes, comments, shares and saves), posts_per_week, newest_post_at, oldest_post_at, top_posts by likes and the recent_posts themselves. The statistics cover the posts on the first page of the profile, so posts from about the last 7 days are not included; newest_post_at shows the newest post covered.

Full API reference: parameters, code samples, response example and health
user_idRequired
The account to summarize: its secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted.

What do the Douyin live_room parameters mean?

Read one Douyin live room from its numeric room_id, the number in https://live.douyin.com/<room_id>. You get one object with title, is_live, live_id, url, cover_image_url, the author's name, author_id, author_douyin_id, avatar and verification, like_count, viewer_count (people watching now, a point-in-time figure), started_at when given, and streams, the pull URLs by quality and format, such as flv or hls. The stream URLs are signed, expire, and are absent when the room is not live.

Full API reference: parameters, code samples, response example and health
room_idRequired
Numeric Douyin live room ID, the number in https://live.douyin.com/<room_id>; the link itself is accepted too.

What do the Douyin feed parameters mean?

List the videos Douyin recommends on its home page or in one channel. Set channel to home (default), game, anime, food, knowledge or music. Each row is a video with caption, hashtags, engagement counts, author profile, cover, video_url and publish time. A page holds about 20 videos, sometimes fewer, and pages can repeat a video, so de-duplicate by id. Pass next_page_token back as page_token for the next page; each page is billed once.

Full API reference: parameters, code samples, response example and health
channelOptional
Which recommendations to read: home for the home page (default), game, anime, food, knowledge or music.
Allowed values:animefoodgamehomeknowledgemusic
page_tokenOptional
Page token for feed. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping the other inputs unchanged. Tokens last 24 hours; the last page has no next_page_token. A page holds about 20 videos, sometimes fewer; pages can repeat a video, so de-duplicate by id.

What do the Douyin series_feed parameters mean?

List the short dramas on Douyin's short-drama channel, 16 per page. genre narrows the list to hot, sweet_romance, comedy, uplifting, growth, suspense, family, urban, fantasy, xuanhuan, workplace, youth, costume, action, comeback or other; leave it out for the channel's default picks. Each row has series_id, name, description, url, cover_image_url, genres, sub_genres, status_text, episode_count, updated_to_episode, play_count, collect_count, is_paid (with paid_episode_count, episode_price_cny and full_price_cny on paid dramas), icp_number, episode_video_id, the author and last_episode_at. Pages can repeat a drama, so de-duplicate by series_id.

Full API reference: parameters, code samples, response example and health
genreOptional
Short-drama genre: hot, sweet_romance, comedy, uplifting, growth, suspense, family, urban, fantasy, xuanhuan, workplace, youth, costume, action, comeback or other. Leave it out for the channel's default picks.
Allowed values:actioncomebackcomedycostumefamilyfantasygrowthhotothersuspensesweet_romanceupliftingurbanworkplacexuanhuanyouth
page_tokenOptional
Page token for series_feed. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping the other inputs unchanged. Tokens last 24 hours; the last page has no next_page_token. A page holds 16 dramas; pages can repeat a drama, so de-duplicate by series_id.

What do the Douyin series_posts parameters mean?

List the episodes of one Douyin short drama from its series_id, in episode order, up to 20 per page. Each row is a video with caption, engagement counts, author profile, cover and video_url, plus episode, series_id and is_paid. The video links of paid episodes are encrypted and do not play after download.

Full API reference: parameters, code samples, response example and health
series_idRequired
A numeric Douyin short-drama ID, from the series_id of series_feed or user_series rows; a short-drama share link also works.
page_tokenOptional
Page token for series_posts. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping the other inputs unchanged. Tokens last 24 hours; the last page has no next_page_token. A page holds up to 20 episodes, in episode order.

What do the Douyin user_series parameters mean?

List the short dramas a Douyin account has published, from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link, up to 20 per page. Rows have the same fields as series_detail; sub_genres is often missing here, so read series_detail for it.

Full API reference: parameters, code samples, response example and health
user_idRequired
The account whose short dramas you want: its secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted.
page_tokenOptional
Page token for user_series. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping the other inputs unchanged. Tokens last 24 hours; the last page has no next_page_token. A page holds up to 20 dramas.

What do the Douyin danmaku parameters mean?

Read the on-screen comments (danmaku) of one Douyin video from its url: a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link or a whole share text that contains a short link. Each page covers one stretch of the video of up to 32 seconds, so the number of rows per page varies; to read the whole video, keep passing next_page_token back as page_token until it is absent. Each row has id, text, video_id, video_time (mm:ss), video_time_seconds, like_count, author_uid, is_ad and danmaku_count (all danmaku on the video). Each page is billed once.

Full API reference: parameters, code samples, response example and health
urlRequired
The Douyin video whose danmaku you want: a numeric video ID, a https://www.douyin.com/video/<video_id> link, a v.douyin.com short link or a whole share text that contains a short link.
page_tokenOptional
Page token for danmaku. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping the other inputs unchanged. Tokens last 24 hours; the last page has no next_page_token. Each page is one stretch of up to 32 seconds of the video; to read the whole video, page until there is no next_page_token.
limitOptional
Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without limit, whatever the value.

What do the Douyin live_viewers parameters mean?

Read the viewer ranking of one Douyin broadcast from its live_id: up to 200 viewers in one response, each with rank, user_id, douyin_id, nickname, avatar_url, is_verified and url. After the broadcast ends only a few viewers remain on the list.

Full API reference: parameters, code samples, response example and health
live_idRequired
The numeric ID of one broadcast, from the live_id of live_room or user_live rows. It changes each time the host goes live and is not the number in the live-room link. After the broadcast ends only a few viewers remain on the list.
limitOptional
Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without limit, whatever the value.

What do the Douyin series_detail parameters mean?

Read one Douyin short drama from its numeric series_id (from series_feed or user_series; a share link also works). You get one object with name, description, url, cover_image_url, genres, sub_genres, status_text, episode_count, updated_to_episode, play_count, collect_count, is_paid (with paid_episode_count, episode_price_cny and full_price_cny on paid dramas), icp_number, the author, created_at, updated_at and last_episode_at. List its episodes with series_posts.

Full API reference: parameters, code samples, response example and health
series_idRequired
A numeric Douyin short-drama ID, from the series_id of series_feed or user_series rows; a short-drama share link also works.

What do the Douyin mix_detail parameters mean?

Read one Douyin collection (mix) from its numeric mix_id (from user_mixes; a https://www.douyin.com/collection/<ID> link also works). You get name, description, url, cover_image_url, episode_count, play_count, collect_count, the author, created_at, updated_at and is_complete. When is_complete is false, play_count, collect_count, description, created_at and updated_at are missing: page through user_mixes to the same mix_id for them. List the videos with mix_posts.

Full API reference: parameters, code samples, response example and health
mix_idRequired
A numeric Douyin collection ID, from the mix_id of user_mixes rows; a https://www.douyin.com/collection/<ID> link also works.

What do the Douyin live_session parameters mean?

Read one Douyin broadcast from its live_id (from live_room or user_live rows; a new one each time the host goes live, not the number in the live-room link). You can still read it after the broadcast ends. You get room_id, live_id, title, is_live, url, cover_image_url, the host's name, IDs, avatar, verification and follower count, like_count, viewer_count, started_at, streams (signed pull URLs that expire, only while live) and is_paid.

Full API reference: parameters, code samples, response example and health
live_idRequired
The numeric ID of one broadcast, from the live_id of live_room or user_live rows. It changes each time the host goes live and is not the number in the live-room link. You can still look up a broadcast after it ends.

What do the Douyin user_live parameters mean?

Check whether a Douyin host is live now, from their secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link. You get one object with is_live and the host's name, IDs, avatar, verification and follower count; while the host is live it also has room_id, live_id, title, url, cover_image_url, like_count, viewer_count, started_at and streams (signed pull URLs that expire). Pass live_id to live_session or live_viewers.

Full API reference: parameters, code samples, response example and health
user_idRequired
The host whose live status you want: their secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted.

What do the Douyin profile_by_id parameters mean?

Look up a Douyin account by its numeric uid: the author_uid on video and comment rows, or the uid from profile. You get one object with user_id (the secUid for profile and user_posts), douyin_id, nickname, bio, url, follower_count, following_count, like_count, video_count, is_verified, avatar_url and uid.

Full API reference: parameters, code samples, response example and health
uidRequired
The account's numeric Douyin UID: the author_uid on video and comment rows, or the uid from profile.

How to use the Douyin API

  1. 01Choose a platform action from the public catalog.
  2. 02Send the platform, action, and required parameters to POST /api/v1/social.
  3. 03Read the result from the response. For an asynchronous action, poll the returned job ID.
  4. 04Store the response fields that your application needs.
douyin_search.sh
curl -X POST https://api.everyinfra.com/api/v1/social \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"douyin","action":"search","params":{"keyword":"<keyword>"}}'

Douyin guides

Worked examples and methods built on these actions. Check the current actions, parameters and fields on this page first; an article's examples and limits do not replace the live catalog.

Build

Douyin Comments API: Scrape Comments from a Video URL to JSON with Replies

Start with live parameters for douyin.comments, read comments using minimal requests, preserve video source, comment IDs, and reply relationships, and handle limits, empty results, timestamp parsing, and repeated observations.

Read the article
Build

Multiplatform Reputation Monitoring Blueprint: Define Scope Before Evaluating Negative Shifts

Design a traceable reputation monitoring workflow starting with target lists, comment identities, and incremental cursors; use offline samples to demonstrate deduplication and ingestion gaps while preserving manual review.

Read the article
Build

Unified Data API Getting Started: From Capability Catalog to First Available Result

Access multi-platform data using platform, action, and params: read the capability catalog, complete minimal requests, handle asynchronous tasks, partial results, and billing, and establish traceable data records.

Read the article

Douyin API questions

What can I retrieve with the Douyin API?

Set platform to douyin. The current catalog lists search, profiles, posts by user, video details, comments, and more. These action names identify different Douyin objects or views; they are not interchangeable search modes.

Which input starts the Douyin search request?

Search term for the video search action, passed as a string, for example latte art. It finds videos; it is not an account nickname or a video ID. Send it as keyword inside params.

Which fields can Douyin search return?

Its declared schema includes next_page_token, text, media_type, and video_url. A declared field can still be absent from an individual record, and every other action has its own field list.

Does every Douyin action return immediately?

Actions labeled asynchronous return a job ID you poll. xingtu_video_performance, posts_batch, profiles_batch, and media_links run synchronously only: they read everything they return (every target of a batch, or every SKU of a product) within the same call, and a request with "mode": "async" gets a 422 before anything is charged. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

Google Analytics needs consent. Privacy