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

Douyin Content Consumption Trend

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/index/content-consume-trend

Returns content consumption metrics such as play counts and watch duration trends over time for a specified Douyin category within a selected date range.

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

Phòng thử nghiệm

Đầu vào
End date YYYYMMDD (inclusive)
Start date YYYYMMDD (inclusive)
Category ID (**required, does NOT support 0=all**, must pass a specific category ID)
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Douyin Content Consumption Trend API

Access category-level consumption heat trends across a date window defined by start_date and end_date for a specific tag_id.

Use cases

  • Track viewership and play count trends for Douyin categories over time.
  • Evaluate audience watch duration to measure category viewing heat.
  • Compare consumption shifts across distinct date ranges.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-consume-trend" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date": "1735660799", "start_date": "1730044800", "tag_id": "2027"}'

Parameters

NameTypeRequiredDescription
tag_idstringYesCategory ID (required, does NOT support 0=all, must pass a specific category ID)
end_datestringYesEnd date YYYYMMDD (inclusive)
start_datestringYesStart date YYYYMMDD (inclusive)

Notes

  • tag_id requires a specific category ID and does not support 0 for all categories.
  • Specify both start_date and end_date in YYYYMMDD format (inclusive).

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

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 Content Consumption Trend?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/index/content-consume-trend 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 Content Consumption Trend 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 Content Consumption Trend chấp nhận những tham số nào?

Bắt buộc: end_date (string), start_date (string) và tag_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Content Consumption Trend trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

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 Content Consumption Trend 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.