Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Douyin Related Posts Recommendations

API 文档
https://api.sandbase.ai/v1/api/douyin/web/related-posts

Returns recommended related posts for a specific Douyin video. Supports pagination using a refresh index and customizable post count limits.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 2 个可选

Playground

输入
Video id
Number, default is 20, it is recommended to keep it unchanged.
Paging index, default is 1, then increase by 1 each time for paging.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Douyin Related Posts Recommendations API

Returns a list of recommended Douyin videos related to one video. The input is the video's aweme_id. Each item in aweme_list holds the post text, author, hashtags, chapters and danmaku settings.

Use cases

  • Find videos that Douyin links to a given post, to study what content sits near it.
  • Collect hashtags from related posts to see which topics cluster around a video.
  • Read the AI chapter summaries of related long videos without opening each one.
  • Page through more suggestions by raising refresh_index to build a larger set of related videos.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/related-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aweme_id": "7393365489105358132"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
aweme_idstringYesVideo id
countintegerNoNumber, default is 20, it is recommended to keep it unchanged.
refresh_indexintegerNoPaging index, default is 1, then increase by 1 each time for paging.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "aweme_list": [
    {
      "ad_candidates": null,
      "ai_follow_images": null,
      "anchors": null,
      "authentication_token": "MS4wLjAA…",
      "author": {
        "avatar_thumb": {
          "height": 720,
          "uri": "100x100/aweme-avatar/tos-cn-i-0813c001_oEBnlHYiAAAuA9FHgEFru1CDJfHqfg9EAACC7I",
          "url_list": [
            "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c001_oEBnlHY…"
          ],
          "width": 720
        },
        "common_interest": null,
        "cover_url": [
          {
            "height": 720,
            "uri": "c8510002be9a3a61aad2",
            "url_list": [
              "https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expire…"
            ],
            "width": 720
          }
        ],
        "custom_verify": "",
        "enterprise_verify_reason": "",
        "follow_status": 0,
        "follower_status": 0,
        "followers_detail": null
      },
      "author_user_id": 3935848376315614,
      "aweme_control": {
        "can_comment": true,
        "can_forward": true,
        "can_share": true,
        "can_show_comment": true
      },
      "aweme_id": "7703155542465842482",
      "aweme_listen_struct": {
        "trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"not_intercept\",\"copyright_ta…"
      },
      "aweme_type": 0,
      "can_cache_to_local": true,
      "caption": "#历史 #美国 #人文星闪耀计划 #人物 #二战"
    }
  ],
  "chime_video_list": null,
  "filter_infos": null,
  "has_more": 1,
  "log_pb": {
    "impr_id": "202611031532293DB8359BA9C2541C2D10"
  },
  "status_code": 0
}

Response fields

FieldMeaning
aweme_list[].aweme_id / aweme_list[].group_idID of the related video. In this response both fields hold the same value.
aweme_list[].descFull post text, including hashtags.
aweme_list[].captionShort caption of the post. It can differ from desc, which may have an extra title in front.
aweme_list[].create_timePublish time of the video as a Unix timestamp in seconds.
aweme_list[].durationLength of the video. Values such as 2920491 suggest milliseconds, but the response does not state the unit.
aweme_list[].author_user_idNumeric ID of the account that posted the video.
aweme_list[].author.avatar_thumb.url_listImage URLs for the author's small avatar.
aweme_list[].cha_list[].cha_name / aweme_list[].cha_list[].cidName and ID of each hashtag attached to the video.
aweme_list[].chapter_abstractText summary of the video content. It is an empty string when the video has none.
aweme_list[].chapter_list[].desc / aweme_list[].chapter_list[].timestampTitle of each chapter and its start position in the video. Values such as 83000 suggest milliseconds.
aweme_list[].danmaku_control.danmaku_cntNumber of danmaku (scrolling comments) on the video.

Notes

  • Send the target video ID in aweme_id. Get it from a video link with Douyin Video ID Extractor.
  • To page, raise refresh_index by 1 on each call, starting at 1. count defaults to 20 and the docs advise leaving it unchanged.
  • Many fields are null for some videos, such as comment_list and anchors. Check for null before you read them.
  • Image URLs such as cover_url contain x-expires and x-signature query values, so save the image if you need it long term.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.03 每次调用JSON

指南:Best Douyin API in 2026: Pricing Compared

问题

常见问题

如何使用 Douyin Related Posts Recommendations API?

向 https://api.sandbase.ai/v1/api/douyin/web/related-posts 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Douyin Related Posts Recommendations API 的价格是多少?

每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Douyin Related Posts Recommendations API 接受哪些参数?

必填:aweme_id (string)。 可选:count (integer) 和 refresh_index (integer)。 Parameters 表和本页的 Playground 列出了每个字段。

Douyin Related Posts Recommendations API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Douyin 开发者账户或 API key 吗?

不需要。Douyin Related Posts Recommendations 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。