Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin Activity List

Tài liệu 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.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
2 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
End timestamp
Start timestamp
Đầu raVí dụ
Phản hồioutputs · 54 B · 7 dòng
[
  {
    "data": {
      "status_code": 0
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin Activity List?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-list với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin Activity List có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin Activity List chấp nhận những tham số nào?

Bắt buộc: end_time (integer) và start_time (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Activity List trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin Activity List chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.