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

Douyin Creator Activity Details

API 文档
https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-detail

Returns detailed information for a specific Douyin creator activity. Queries campaign details using a designated activity identifier.

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

Playground

输入
Activity ID (obtained from activity list interface)
输出示例
响应outputs · 1.6 KB · 44 行
[
  {
    "data": {
      "activity_description": "点击查看活动主页,发布视频带话题 #超能下蛋鸭,挂载《超能下蛋鸭》抖音小游戏摇杆,即可成功参与活动。",
      "activity_info": {
        "activity_id": "7545335931785450534",
        "activity_level": 3,
        "activity_name": "超能下蛋鸭视频激励活动",
        "activity_status": 2,
        "activity_type": 1,
        "challenge": null,
        "challenge_ids": [
          7507489617000532000
        ],
        "collect_id": 2522,
        "collect_status": false,
        "cover_image": "https://lf-gaia-dy.douyinstatic.com/obj/gaia-dy/1708322328af3a8a9d54f9ce683d1e1d.jpg",
        "game_id": "",
        "hot_score": 1125,
        "if_well_chosen": false,
        "jump_link": "sslocal://microapp?app_id=tt977ee1c308541d59&bdp_log=%7B%22enter_from_merge%22%3A%22game_h5%22%2C%22enter_position%22%3A%22distributor_mp%22%2C%22entrance_form%22%3A%226022%22%2C%22launch_from%22%3A%22game_h5%22%2C%22location%22%3A%22distributor_mp%22%7D&scene=026022&start_page=pages%2Factivity-detail%2Findex%3Factivity_id%3D7366765087961110&version=v2&version_type=current&bdpsum=054b43f",
        "jump_type": 2,
        "post_url": "",
        "query_tag": 302,
        "reward_type": 2,
        "show_end_time": "2025.10.14",
        "show_start_time": "2025.09.02"
      },
      "demo_videos": null,
      "my_publish_videos": null,
      "other_publish_videos": null,
      "publish_end_time": "2025.10.14",
      "publish_start_time": "2025.09.02",
      "reward_rules": "{\"text\":\"按投稿贡献排名,奖励详情请点击参与查看。\",\"anchorText\":\"\",\"anchorUri\":\"\"}",
      "status_code": 0,
      "topics": [
        "超能下蛋鸭"
      ],
      "topics_ids": [
        "7507489617000532018"
      ]
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Douyin Creator Activity Details API

This API returns the details of one Douyin creator activity, such as its name, status, topic tags, run dates and reward rules. It needs one input, the activity_id of the activity.

Use cases

  • Show the name, cover image and run dates of a Douyin creator campaign in a creator dashboard.
  • Read the required topic tag and participation steps before posting a video for an activity.
  • Check whether an activity is still open by comparing publish_start_time and publish_end_time with today's date.
  • Collect the topic names and topic IDs tied to an activity so you can track videos posted under them.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"activity_id": "7545335931785450534"}'

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

Parameters

NameTypeRequiredDescription
activity_idstringYesActivity ID (obtained from activity list interface)

Example response

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

{
  "activity_description": "点击查看活动主页,发布视频带话题 #超能下蛋鸭,挂载《超能下蛋鸭》抖音小游戏摇杆,即可成功参与活动。",
  "activity_info": {
    "activity_id": "7545335931785450534",
    "activity_level": 3,
    "activity_name": "超能下蛋鸭视频激励活动",
    "activity_status": 2,
    "activity_type": 1,
    "challenge": null,
    "challenge_ids": [
      7507489617000532000
    ],
    "collect_id": 2522,
    "collect_status": false,
    "cover_image": "https://lf-gaia-dy.douyinstatic.com/obj/gaia-dy/1708322328af3a8a9d54f9ce683d1e1d…",
    "game_id": "",
    "hot_score": 1125
  },
  "demo_videos": null,
  "my_publish_videos": null,
  "other_publish_videos": null,
  "publish_end_time": "2025.10.14",
  "publish_start_time": "2025.09.02",
  "reward_rules": "{\"text\":\"按投稿贡献排名,奖励详情请点击参与查看。\",\"anchorText\":\"\",\"anchorUri\":\"\"}",
  "status_code": 0,
  "topics": [
    "超能下蛋鸭"
  ],
  "topics_ids": [
    "7507489617000532018"
  ]
}

Response fields

FieldMeaning
activity_info.activity_nameName of the activity.
activity_info.activity_idID of the activity. It matches the activity_id you sent.
activity_descriptionText that explains how to join the activity, including the topic tag and the item to attach to the video.
activity_info.activity_status / activity_info.activity_type / activity_info.activity_level / activity_info.reward_typeNumeric codes for the status, type, level and reward type of the activity. The response does not include a label for each code.
publish_start_time / publish_end_timeFirst and last day of the activity period, in YYYY.MM.DD format.
activity_info.show_start_time / activity_info.show_end_timeDates between which the activity is shown, in YYYY.MM.DD format.
reward_rulesA JSON string. Its text key holds the reward rule in plain text. Parse the string before you read it.
topics[] / topics_ids[]Names and IDs of the topics linked to the activity. Both lists are in the same order.
activity_info.hot_scoreNumeric score for the activity's popularity.
activity_info.cover_imageURL of the activity cover image.

Notes

  • Get activity_id from Douyin Activity List.
  • activity_info.challenge_ids[] holds large numbers, while topics_ids[] holds IDs as strings. Treat IDs as strings to avoid rounding.
  • demo_videos, my_publish_videos and other_publish_videos came back as null for this activity.
  • status_code is 0 in the sample response.

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.001 每次调用JSON

指南:Best Douyin API in 2026: Pricing Compared

问题

常见问题

如何使用 Douyin Creator Activity Details API?

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

Douyin Creator Activity Details API 的价格是多少?

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

Douyin Creator Activity Details API 接受哪些参数?

必填:activity_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Douyin Creator Activity Details API 返回什么?

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

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

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