Douyin Collection posts API

Read the posts in a Douyin mix by mix_id, one row per episode, with episode, text, like_count, comment_count, share_count and the play_count of that episode, for $0.79 per 1,000 calls.

  • Each row is one episode of the mix, and episode starts at 1.
  • mix_episode_count gives the number of episodes in the mix.
  • Failed calls and empty results are not charged.

API health

24h health
Normal
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

Last 24 hours

Last 30 days

  1. 1Request

    POST /api/v1/social
    {
      "platform": "douyin",
      "action": "mix_posts",
      "params": {
        "mix_id": "7631984690945067058"
      }
    }
  2. 2JSON response

    {
      "results": [
        {
          "text": string,
          "media_type": string,
          "video_url": string,
          "like_count": number
        },
        …
      ]
    }
  3. 3Rows

    textmedia_typevideo_urllike_count
    stringstringstringnumber
  4. 4CSV

    douyin-mix_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,play_count,episode,mix_episode_count

A request with mix_id goes in, and one page of posts from the mix comes back; each row in results is one episode, 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.

FieldTypeMeaning
idstringThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlstringLink to the record on the platform.
textstringBody 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_typestringMedia type: video, or image for image posts.
video_urlstringVideo playback URL (signed, expires; download promptly if you need to keep it). Null for image posts or when the source omits it.
like_countnumberLikes. null means the platform or this capability does not disclose it; it is not 0.
comment_countnumberComments. null means not disclosed, not 0.
share_countnumberShares. null means not disclosed, not 0.
collect_countnumberSaves or favorites. null means not disclosed, not 0.
author_namestringAuthor's display name.
author_idstringAuthor's unique ID on the platform.
author_douyin_idstringThe author's Douyin ID.
author_biostringThe author's profile bio (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows).
author_avatar_urlstringAuthor 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_countnumberAuthor's follower count. null means not disclosed.
author_following_countnumberHow many accounts the author follows (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows).
author_like_countnumberTotal likes the author's profile has received (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts / transcript).
author_video_countnumberTotal number of posts on the author's profile (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows).
author_is_verifiedbooleanWhether 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_urlstringCover 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_widthnumberVideo frame width in pixels.
video_heightnumberVideo frame height in pixels.
video_bitratesarrayKeeps the platform's own meaning
has_watermarkbooleanKeeps the platform's own meaning
duration_secnumberVideo length in seconds.
duration_secondsnumberDuration in seconds. null for content that is not video or audio.
hashtagsarrayHashtags in the text, in order of appearance; absent when there are none.
posted_atstringPublish 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.
titlestringTitle. null when the platform has no titles (for example text-only posts).
musicobjectBackground 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_deletedbooleanTrue when the video has been deleted; present only when Douyin reports it on the row.
is_privatebooleanTrue when the video is visible only to its author (private); present only when Douyin reports it on the row.
platformstringSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).
play_countnumberReal only on Hot Spot Treasure and mixes. On the boards billboard_video_hot, billboard_low_fan_explosion and billboard_high_completion it is Douyin's own play figure. On mix_posts it is the plays of that episode, and on user_mixes the plays of the whole collection. Elsewhere Douyin does not publish play counts, so the value is usually 0 and does not reflect real plays; judge reach by likes, comments and shares.
episodenumberPosition of the video in the collection (mix_posts), counting from 1.
mix_episode_count—How many episodes the collection has in all (mix_posts); the same on every row.

Use cases

  • Compare episodes

    Line the rows up by episode and compare like_count, comment_count and play_count to see which episodes draw more attention.

  • Collect video addresses

    Page through the mix and take url and video_url from each row. video_url is signed and expires.

  • Check the release rhythm

    Read posted_at for each episode to see whether the mix went out all at once or one episode every few days.

  • Read the author next

    Each row carries author_name and author_id. Pass author_id to profile to read the profile.

Douyin Open Platform vs EveryInfra

Here is how the Douyin Open Platform documentation and EveryInfra mix_posts compare on what you need to connect.

ComparedDouyin Open PlatformEveryInfra
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. The request carries only mix_id, and the author does not need to authorize anything.

The Douyin Open Platform documentation is in Chinese. The table shows a translation, checked against the page on 2026-11-22. The page shows no update date. The Open Platform API list has no endpoint that reads the posts in a mix, so this row compares only what you need to connect. Official sources: User information access solution

Limits and gotchas

  • mix_id is required: the numeric ID of a mix, taken from the mix_id of a user_mixes row. A link https://www.douyin.com/collection/<ID> is also accepted.
  • One call returns one page in episode order, and the page may hold fewer rows than usual. To get the next page, pass next_page_token back as page_token and keep the other parameters. The token is valid for 24 hours, and the last page has no next_page_token.
  • episode starts at 1 and is the position of the episode in the mix. mix_episode_count is the number of episodes in the mix, and it is the same on every row.
  • play_count is the play count of that one episode.
  • video_url is signed and expires, so download it soon if you need to keep it.

Pricing

You pay $0.000792 per call, not per row. One call returns one page, so each page you read counts as one call. Failed calls and empty results are not charged.

CallsCost
10,000$7.92
100,000$79.17
1,000,000$791.67

Totals use the list price per call.

Code samples

#
bash
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": "mix_posts",
  "params": {
    "mix_id": "7631984690945067058"
  }
}'

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 mix_posts, and copy the page or open it as Markdown for an AI assistant.

POST

AI prompt

#
Please help me write a data collection script with the EveryInfra Douyin Collection posts endpoint (douyin/mix_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 mix_posts, and put the parameters inside params.
- Required parameters:
  - mix_id: 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.
- Optional parameters:
  - page_token: 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.
- 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); 37 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=douyin.
- Example request body:
{
  "platform": "douyin",
  "action": "mix_posts",
  "params": {
    "mix_id": "7631984690945067058"
  }
}
- Price: $0.79 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

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesdouyinPlatform identifier, fixed value.
actionbodystringYesmix_postsCapability identifier, fixed value.
mix_idbody.paramsstringYes-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_tokenbody.paramsstringNo-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.

Response example

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "id": "req_…",  "platform": "douyin",  "action": "mix_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": …,      "play_count": …,      "episode": …,      "mix_episode_count": …    }  ],  "next_page_token": …,  "pagination": { … },  "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.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlLink to the record on the platform.
textBody 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_typeMedia type: video, or image for image posts.
video_urlVideo playback URL (signed, expires; download promptly if you need to keep it). Null for image posts or when the source omits it.
like_countLikes. null means the platform or this capability does not disclose it; it is not 0.
comment_countComments. null means not disclosed, not 0.
share_countShares. null means not disclosed, not 0.
collect_countSaves or favorites. null means not disclosed, not 0.
author_nameAuthor's display name.
author_idAuthor's unique ID on the platform.
author_douyin_idThe author's Douyin ID.
author_bioThe author's profile bio (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows).
author_avatar_urlAuthor 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_countAuthor's follower count. null means not disclosed.
author_following_countHow many accounts the author follows (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows).
author_like_countTotal likes the author's profile has received (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts / transcript).
author_video_countTotal number of posts on the author's profile (search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts rows).
author_is_verifiedWhether 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_urlCover 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_widthVideo frame width in pixels.
video_heightVideo frame height in pixels.
video_bitratesKeeps the platform's own meaning
has_watermarkKeeps the platform's own meaning
duration_secVideo length in seconds.
duration_secondsDuration in seconds. null for content that is not video or audio.
hashtagsHashtags in the text, in order of appearance; absent when there are none.
posted_atPublish 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.
titleTitle. null when the platform has no titles (for example text-only posts).
musicBackground 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.
locationLocation description passed through as is; the format varies by platform.
image_urlsArray of image links in the platform's display order; absent when there are no images.
is_deletedTrue when the video has been deleted; present only when Douyin reports it on the row.
is_privateTrue when the video is visible only to its author (private); present only when Douyin reports it on the row.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).
play_countReal only on Hot Spot Treasure and mixes. On the boards billboard_video_hot, billboard_low_fan_explosion and billboard_high_completion it is Douyin's own play figure. On mix_posts it is the plays of that episode, and on user_mixes the plays of the whole collection. Elsewhere Douyin does not publish play counts, so the value is usually 0 and does not reflect real plays; judge reach by likes, comments and shares.
episodePosition of the video in the collection (mix_posts), counting from 1.
mix_episode_countHow many episodes the collection has in all (mix_posts); the same on every row.

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.

Errors

FAQ

What does the Douyin mix posts API return?

One row per episode of the mix: id, url, text, media_type, video_url, like_count, comment_count, share_count, collect_count, posted_at, episode and mix_episode_count, plus author fields such as author_name and author_id.

Where does the mix ID come from?

Take mix_id from a user_mixes row, or pass the mix link https://www.douyin.com/collection/<ID> directly.

How much does one page of mix posts cost?

It costs $0.000792 per call, or $0.79 per 1,000 calls, billed per call and not per row. Failed calls and empty results are not charged.

You can call the other Douyin endpoints with the same EveryInfra API key.

Google Analytics needs consent. Privacy