Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Activity List

API 文件
https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-list

Returns activity and campaign records for Douyin accounts within a specified timestamp window between start_time and end_time.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
2 個必填 · 0 個選填

Playground

輸入
End timestamp
Start timestamp
輸出範例
回應outputs · 54 B · 7 行
[
  {
    "data": {
      "status_code": 0
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Douyin Activity List API

Returns a list of Douyin creator activity and campaign records that fall inside a time window. You send start_time and end_time as integer Unix timestamps in seconds.

Use cases

  • Build a calendar of Douyin campaigns that run during a given month.
  • Find activities with a high hot_score to decide which campaign to join.
  • Collect activity_id values and fetch full details for each activity.
  • Pull each activity's cover image and jump link to show campaigns in your own creator dashboard.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_time": 1759247999, "start_time": 1756656000}'

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

Parameters

NameTypeRequiredDescription
end_timeintegerYesEnd timestamp
start_timeintegerYesStart timestamp

Example response

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

{
  "list": [
    {
      "activity_id": "7555852683250996270",
      "activity_level": 3,
      "activity_type": 1,
      "challenge_ids": [
        0
      ],
      "creator_id": 2600,
      "crowd_id": "7555781468044364553",
      "game_id": "",
      "head_image": "https://lf-gaia-zb.douyinstatic.com/obj/gaia-zb/0add5e4217e2b0e0f4550bcfa026073e…",
      "highlight_tag": 0,
      "hot_score": 100,
      "jump_link": "https://webcast.amemv.com/magic/eco/runtime/release/68d678defa986f07272121e4?sho…",
      "jump_type": 2
    }
  ],
  "status_code": 0
}

Response fields

FieldMeaning
list[]One activity or campaign record. The list holds every activity found in the time window.
list[].activity_idID of the activity, returned as a string. Use it to look up the activity in the detail API.
list[].show_nameDisplay title of the activity, such as a campaign or hashtag name.
list[].show_start_time / list[].show_end_timeStart and end of the period when the activity is shown, as Unix timestamps in seconds.
list[].hot_scorePopularity score of the activity. All three sample records show 100.
list[].head_imageURL of the cover image for the activity.
list[].jump_linkLink that opens the activity. It can be a web URL, an aweme:// app link, or an empty string.
list[].challenge_ids[]IDs of the challenges (hashtags) linked to the activity. The value 0 appears when none is linked.
list[].activity_type / list[].activity_level / list[].jump_typeNumeric codes that classify the activity and how its link opens. The response gives no labels for these codes.
status_codeStatus of the call. 0 appears in the sample response.

Notes

  • start_time and end_time are both required. They are integer Unix timestamps in seconds, for example 1756656000 and 1759247999.
  • Pass list[].activity_id to Douyin Creator Activity Details to get more information on one activity.
  • The request has no pagination parameters. The whole result comes back in list.
  • Some fields, such as tag_start_time and tag_end_time, can be 0 when the activity has no tag period.

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.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Activity List API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-list。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Activity List API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Douyin Activity List API 接受哪些參數?

必要:end_time (integer) 和 start_time (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Activity List API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Activity List 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。