Douyin Related posts API
Pass a video url (a video ID, a video link, a v.douyin.com short link or a whole share text all work) and read the related posts that Douyin recommends for it, for $0.56 per 1,000 calls.
- Each row is one recommended post, with
text, the engagement counts and the author fields. - One call returns one list, with no paging.
- Failed calls and empty results are not charged.
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
1Request
POST /api/v1/social { "platform": "douyin", "action": "related_posts", "params": { "url": "https://www.douyin.com/video/7633646113853104116" } }2JSON response
{ "results": [ { "text": string, "media_type": string, "video_url": string, "like_count": number }, … ] }3Rows
text media_type video_url like_count string string string number 4CSV
douyin-related_posts-sample.csv id,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
url goes in, and a list of related posts comes back; each row in results is one recommended post, listed as a field table and a CSV file.What data you get
This endpoint has no public real sample yet. The table lists the fields, types and meanings that each row returns, with no values.
| Field | Type | Meaning |
|---|---|---|
| id | string | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | string | Link to the record on the platform. |
| text | string | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| media_type | string | Media type: video, or image for image posts. |
| video_url | string | Video playback URL (signed, expires; download promptly if you need to keep it). Null for image posts or when the source omits it. |
| like_count | number | Likes. null means the platform or this capability does not disclose it; it is not 0. |
| comment_count | number | Comments. null means not disclosed, not 0. |
| share_count | number | Shares. null means not disclosed, not 0. |
| collect_count | number | Saves or favorites. null means not disclosed, not 0. |
| author_name | string | Author's display name. |
| author_id | string | Author's unique ID on the platform. |
| author_douyin_id | string | The author's Douyin ID. |
| author_bio | string | The author's profile bio (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows). |
| author_avatar_url | string | Author avatar image URL: the creator on search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows, the host on live_room, the commenter on comments rows. |
| author_follower_count | number | Author's follower count. null means not disclosed. |
| author_following_count | number | How many accounts the author follows (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows). |
| author_like_count | number | Total likes the author's profile has received (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts / transcript). |
| author_video_count | number | Total number of posts on the author's profile (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows). |
| author_is_verified | boolean | Whether the author is verified (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows; on live_room, whether the host is; on comments rows, whether the commenter is). |
| cover_image_url | string | Cover image URL: the cover of a video or image post on search, user_posts, posts_batch, related_posts, mix_posts, music_posts and media_links rows; the music cover on music_search and music_detail; the topic image on billboard_topic_hot; the collection cover on user_mixes; the room cover on live_room. Signed links expire. |
| video_width | number | Video frame width in pixels. |
| video_height | number | Video frame height in pixels. |
| video_bitrates | array | Keeps the platform's own meaning |
| has_watermark | boolean | Keeps the platform's own meaning |
| duration_sec | number | Video length in seconds. |
| duration_seconds | number | Duration in seconds. null for content that is not video or audio. |
| hashtags | array | Hashtags in the text, in order of appearance; absent when there are none. |
| posted_at | string | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| title | string | Title. null when the platform has no titles (for example text-only posts). |
| music | object | Background track: id, title, author, is_original (original sound or not), duration_sec, cover_url and play_url (audio link, may expire). Absent when there is no music information. |
| location | — | Location description passed through as is; the format varies by platform. |
| image_urls | — | Array of image links in the platform's display order; absent when there are no images. |
| is_deleted | boolean | True when the video has been deleted; present only when Douyin reports it on the row. |
| is_private | boolean | True when the video is visible only to its author (private); present only when Douyin reports it on the row. |
| platform | string | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Use cases
See what sits next to a hit
Read the related posts of a video that did well and compare
like_countandtextto see which content Douyin places next to it.Find similar accounts
Read
author_idandauthor_follower_countof the recommended posts to list accounts that make content close to this video.Collect topic ideas
Read
textandhashtagson each row to see which hashtags this kind of content often carries.Query straight from a share text
When you only have a share text, pass the whole text as
url; you do not need to turn it into a video link first.
Douyin Open Platform vs EveryInfra
Here is how the Douyin Open Platform overall authorization guide and EveryInfra related_posts compare on access.
| Compared | Douyin Open Platform | EveryInfra |
|---|---|---|
| User authorization | The documentation says the third party starts a Douyin authorization login request; after the Douyin user allows it (by scanning a QR code or logging in with an account and password), Douyin redirects to the third-party site (the callback endpoint). | No Douyin user has to scan a code or log in, and you need no callback address. The header carries your EveryInfra API key and the request carries only url. |
The Douyin Open Platform documentation is in Chinese; the table shows a translation, checked against its overall authorization guide on 2026-11-22. The page shows no update date. The documentation has no description of related recommended posts, so only access is compared here. Official sources: Overall authorization guide
Limits and gotchas
urlis required, one video per call; it takes a video ID, a video link, a v.douyin.com short link or a whole share text that contains a short link.- The result is the part that Douyin recommends, not a full list of related posts.
- One call returns one list, with no paging.
- Engagement counts are the values at the moment of the read; use
post_historyto see how they change. video_urlis signed and expires, so download it soon if you want to keep the file.
Pricing
Each call costs $0.000556 and is billed per call, not per post; one call returns one list. Failed calls and empty results are not charged.
| Calls | Cost |
|---|---|
| 10,000 | $5.56 |
| 100,000 | $55.56 |
| 1,000,000 | $555.56 |
Totals use the list price per call.
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "douyin",
"action": "related_posts",
"params": {
"url": "https://www.douyin.com/video/7633646113853104116"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
API reference
See the parameters, response fields, errors and billing for related_posts, and copy the page or open it as Markdown for an AI assistant.
AI prompt
#Please help me write a data collection script with the EveryInfra Douyin Related posts endpoint (douyin/related_posts).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to douyin and action to related_posts, and put the parameters inside params.
- Required parameters:
- url: The Douyin video to find recommended videos for: 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.
- Optional parameters:
- limit: The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows.
- Returns a list of records. Main fields of each record: id, url, text, media_type (Media type: video, or image for image p…), video_url (Video playback URL (signed, expires), like_count, comment_count, share_count, collect_count, author_name, author_id, author_douyin_id (The author's Douyin ID); 34 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=douyin.
- Example request body:
{
"platform": "douyin",
"action": "related_posts",
"params": {
"url": "https://www.douyin.com/video/7633646113853104116"
}
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | douyin | Platform identifier, fixed value. |
action | body | string | Yes | related_posts | Capability identifier, fixed value. |
url | body.params | string | Yes | - | The Douyin video to find recommended videos for: 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. |
limit | body.params | integer (1–) | No | - | The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows. |
Response example
#{ "id": "req_…", "platform": "douyin", "action": "related_posts", "results": [ { "id": …, "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": … } ], "count": …, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
url | Link to the record on the platform. |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
media_type | Media type: video, or image for image posts. |
video_url | Video playback URL (signed, expires; download promptly if you need to keep it). Null for image posts or when the source omits it. |
like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
comment_count | Comments. null means not disclosed, not 0. |
share_count | Shares. null means not disclosed, not 0. |
collect_count | Saves or favorites. null means not disclosed, not 0. |
author_name | Author's display name. |
author_id | Author's unique ID on the platform. |
author_douyin_id | The author's Douyin ID. |
author_bio | The author's profile bio (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows). |
author_avatar_url | Author avatar image URL: the creator on search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows, the host on live_room, the commenter on comments rows. |
author_follower_count | Author's follower count. null means not disclosed. |
author_following_count | How many accounts the author follows (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows). |
author_like_count | Total likes the author's profile has received (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts / transcript). |
author_video_count | Total number of posts on the author's profile (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows). |
author_is_verified | Whether the author is verified (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows; on live_room, whether the host is; on comments rows, whether the commenter is). |
cover_image_url | Cover image URL: the cover of a video or image post on search, user_posts, posts_batch, related_posts, mix_posts, music_posts and media_links rows; the music cover on music_search and music_detail; the topic image on billboard_topic_hot; the collection cover on user_mixes; the room cover on live_room. Signed links expire. |
video_width | Video frame width in pixels. |
video_height | Video frame height in pixels. |
video_bitrates | Keeps the platform's own meaning |
has_watermark | Keeps the platform's own meaning |
duration_sec | Video length in seconds. |
duration_seconds | Duration in seconds. null for content that is not video or audio. |
hashtags | Hashtags in the text, in order of appearance; absent when there are none. |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
title | Title. null when the platform has no titles (for example text-only posts). |
music | Background track: id, title, author, is_original (original sound or not), duration_sec, cover_url and play_url (audio link, may expire). Absent when there is no music information. |
location | Location description passed through as is; the format varies by platform. |
image_urls | Array of image links in the platform's display order; absent when there are no images. |
is_deleted | True when the video has been deleted; present only when Douyin reports it on the row. |
is_private | True when the video is visible only to its author (private); present only when Douyin reports it on the row. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
FAQ
What does the Douyin related posts API return?
A list of recommended posts, one per row: id, url, text, media_type, like_count, comment_count, share_count, collect_count, the author fields, hashtags, posted_at and more.
Is this every related post of the video?
No. It is the part that Douyin recommends, not a full list of related posts.
What can I pass as url?
A numeric video ID, a video link (https://www.douyin.com/video/<video ID>), a v.douyin.com short link or a whole share text that contains a short link.
How much does one list cost?
It costs $0.000556 per call, or $0.56 per 1,000 calls, billed per call and not per post. Failed calls and empty results are not charged.
Related Douyin endpoints
You can call the other Douyin endpoints with the same EveryInfra API key.
- Search
search$8.33 per 1,000 callsFind Douyin videos for a search term. - Details
profile$0.56 per 1,000 callsLook up a Douyin account by secUid. - Posts by user
user_posts$0.56 per 1,000 callsTrack the videos a Douyin account publishes, newest first. - Video details
video$0.56 per 1,000 callsFetch one Douyin video's caption, hashtags, length, engagement counts, author profile, background music and publish time from its video link, plusis_deletedandis_privatewhen Douyin reports them. - Comments
comments$0.56 per 1,000 callsPull viewer comments on a Douyin video, with likes, reply count, IP region, hot-comment and author-liked flags, mentions and any images. - Comment replies
comment_replies$0.56 per 1,000 callsList the replies under one top-level comment on a Douyin video, up to 100 per call, read 20 at a time. - Trending
trending$0.56 per 1,000 callsCheck Douyin's trending boards for hot keywords. - Transcript
transcript$0.56 per 1,000 callsTurn a Douyin video's speech into text with sentence-level timestamps. - Creator search
creator_search$0.56 per 1,000 callsSearch Douyin creator accounts by nickname, handle or phrase. - Creator audience
creator_audience$0.56 per 1,000 callsBreak down a Douyin creator's followers by device price band, gender, age or province, with each bucket's share and its TGI index. - Creator growth trend
creator_trend$0.56 per 1,000 callsTrack a Douyin creator's follower count over time as a dated series, with the average follower count across the window. - Creator benchmark
creator_benchmark$0.56 per 1,000 callsCompare a Douyin creator with similar accounts through average posts, likes, comments, shares and follower growth, each with a percentile rank. - Xingtu creator search
xingtu_creator_search$0.56 per 1,000 callsSearch Douyin's Xingtu creator records by keyword. - Xingtu creator analytics
xingtu_creator_analytics$0.56 per 1,000 callsGet a creator's Xingtu commercial profile on Douyin. - Xingtu creator rate card
xingtu_rate_card$0.56 per 1,000 callsSee the rate tiers a Douyin creator lists on Xingtu. - Xingtu creator rankings
xingtu_creator_rankings$0.56 per 1,000 callsPull up to five creators from a Douyin Xingtu ranking board. - Product search
product_search$8 per 1,000 callsSearch Douyin Mall products by keyword, up to 30 a page. - Shop store products
shop_products$8 per 1,000 callsList the products of one Douyin Mall shop from its numericshop_id, 10 a page. - Product details
product_detail$8 per 1,000 callsRead one Douyin Mall product by numeric ID. - Live product search
live_product_search$0.56 per 1,000 callsFind up to three Douyin products sold in live streams now for a keyword. - Hashtag search
hashtag_search$15.56 per 1,000 callsFind Douyin hashtags whose names contain akeyword, ranked by heat. - Hashtag detail
hashtag_detail$15.56 per 1,000 callsRead one Douyin hashtag by its numerichashtag_idfromhashtag_search. - Hot video board
billboard_video_hot$0.81 per 1,000 callsRead 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. - Low-follower hit board
billboard_low_fan_explosion$0.81 per 1,000 callsSpot Douyin works from small accounts that took off, from the low-follower hit board in Hot Spot Treasure. - High completion-rate board
billboard_high_completion$0.81 per 1,000 callsSee which Douyin works viewers watch to the end, from the high completion-rate board in Hot Spot Treasure. - Hot search board
billboard_search_hot$0.81 per 1,000 callsFind the search terms rising on Douyin, from the search board in Hot Spot Treasure. - Hot Spot account search
billboard_account_search$0.81 per 1,000 callsLook for Douyin accounts related to akeywordthrough Hot Spot Treasure, with follower, like and video counts for each. - Music search
music_search$8 per 1,000 callsSearch Douyin's music library by song title, artist or sound name. - Search suggestions
search_suggest$8 per 1,000 callsGet the autocomplete suggestions Douyin's search box shows for akeyword, in Douyin's order, withrankfrom 1. - Billboard rise list
billboard_rise_list$0.81 per 1,000 callsSpot the trends climbing fastest on Douyin, from the rising board in Hot Spot Treasure. - Billboard challenge hot
billboard_challenge_hot$0.81 per 1,000 callsRead the challenge board of Hot Spot Treasure, Douyin's own trend tool: the whole board of 50 trends in one call. - Billboard topic hot
billboard_topic_hot$0.81 per 1,000 callsSee which Douyin hashtags are heating up, from the hashtag board in Hot Spot Treasure, over the last hour, day, 3 days or 7 days. - Music detail
music_detail$0.81 per 1,000 callsRead one Douyin track by the numericmusic_idfrommusic_search, or a douyin.com/music link. - Xingtu creator conversion ability
xingtu_conversion_ability$1.6 per 1,000 callsRead 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 connected-user structure
xingtu_link_structure$16 per 1,000 callsSee 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 recommended videos
xingtu_recommended_videos$1.6 per 1,000 callsList the four video groups on a Douyin creator's Xingtu page: signature videos, latest videos, top Xingtu order videos and top personal videos. - Xingtu connected-user sources
xingtu_touch_distribution$16 per 1,000 callsSee 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 video performance
xingtu_video_performance$16 per 1,000 callsCompare a Douyin creator's personal videos and Xingtu order videos on engagement rate, median plays and completion rate. - Posts in bulk
posts_batch$0.56 per 1,000 callsLook up as many as 20 Douyin videos at once fromurls, each given as a numeric video ID, ahttps://www.douyin.com/video/<video_id>link, av.douyin.comshort link, or a whole share text that contains a short link. - Profiles in bulk
profiles_batch$0.56 per 1,000 callsLook up as many as 20 Douyin accounts at once fromurls, each given as asecUid(startingMS4w) or a profile linkhttps://www.douyin.com/user/<secUid>. - Media download links
media_links$0.56 per 1,000 callsGet download links for as many as 20 Douyin videos at once fromurls, each given as a numeric video ID or ahttps://www.douyin.com/video/<video_id>link; short links and share texts are not accepted. - Post metrics history
post_history$0.79 per 1,000 callsRead the saved history of one Douyin video'slike_count,comment_count,share_countandcollect_count. - Posts using a track
music_posts$0.79 per 1,000 callsList the videos that use one Douyin track, from itsmusic_id(taken from a video'smusic.idor frommusic_detail; a douyin.com/music link also works). - Link recognition
resolve_links$0.79 per 1,000 callsFind Douyin links and IDs inside a piece of text, such as a whole share text. - Trending history
trending_history$0.79 per 1,000 callsSee how Douyin trending terms moved over the last hours. - Account collections
user_mixes$0.79 per 1,000 callsList the collections (mixes) a Douyin account has published, from itssecUidinuser_id(aMS4wstring) or ahttps://www.douyin.com/user/<secUid>link. - Collection posts
mix_posts$0.79 per 1,000 callsList the videos in one Douyin collection from itsmix_id(taken fromuser_mixes; ahttps://www.douyin.com/collection/<ID>link also works). - Account overview
user_overview$1.6 per 1,000 callsGet a quick read on one Douyin account from itssecUidinuser_id(aMS4wstring) or ahttps://www.douyin.com/user/<secUid>link; nicknames, Douyin IDs and short links are not accepted. - Live room
live_room$0.79 per 1,000 callsRead one Douyin live room from its numericroom_id, the number inhttps://live.douyin.com/<room_id>. - News feed
feed$0.56 per 1,000 callsList the videos Douyin recommends on its home page or in one channel. - Short-drama channel
series_feed$0.56 per 1,000 callsList the short dramas on Douyin's short-drama channel, 16 per page. - Short-drama episodes
series_posts$0.79 per 1,000 callsList the episodes of one Douyin short drama from itsseries_id, in episode order, up to 20 per page. - Account short dramas
user_series$0.79 per 1,000 callsList the short dramas a Douyin account has published, from itssecUidinuser_id(aMS4wstring) or ahttps://www.douyin.com/user/<secUid>link, up to 20 per page. - On-screen video comments
danmaku$0.56 per 1,000 callsRead the on-screen comments (danmaku) of one Douyin video from itsurl: a numeric video ID, ahttps://www.douyin.com/video/<video_id>link, av.douyin.comshort link or a whole share text that contains a short link. - Broadcast viewer ranking
live_viewers$0.56 per 1,000 callsRead the viewer ranking of one Douyin broadcast from itslive_id: up to 200 viewers in one response, each withrank,user_id,douyin_id,nickname,avatar_url,is_verifiedandurl. - Short-drama details
series_detail$0.79 per 1,000 callsRead one Douyin short drama from its numericseries_id(fromseries_feedoruser_series; a share link also works). - Collection details
mix_detail$0.56 per 1,000 callsRead one Douyin collection (mix) from its numericmix_id(fromuser_mixes; ahttps://www.douyin.com/collection/<ID>link also works). - Broadcast details
live_session$0.79 per 1,000 callsRead one Douyin broadcast from itslive_id(fromlive_roomoruser_liverows; a new one each time the host goes live, not the number in the live-room link). - User live
user_live$0.79 per 1,000 callsCheck whether a Douyin host is live now, from theirsecUidinuser_id(aMS4wstring) or ahttps://www.douyin.com/user/<secUid>link. - Profile by numeric ID
profile_by_id$0.56 per 1,000 callsLook up a Douyin account by its numericuid: theauthor_uidon video and comment rows, or theuidfromprofile.