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

Douyin Video Statistics (Batch)

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/app-v3/multi-video-statistics

Get play, like, share and download counts for up to 50 Douyin videos in one request by passing comma-separated video IDs.

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

Phòng thử nghiệm

Đầu vào
Video id, supports multiple video ids, separated by commas, no more than 50, single is also possible, no need for commas.
Đầu raVí dụ
Phản hồioutputs · 83 B · 8 dòng
[
  {
    "data": {
      "status_code": 5,
      "status_msg": "参数不合法"
    }
  }
]

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 Video Statistics API (Batch)

Returns play, like, share and download counts for Douyin videos. Pass one or more video IDs in aweme_ids, separated by commas, up to 50 per request.

Use cases

  • Track the play and like counts of a list of campaign videos over time.
  • Rank a batch of videos by play_count or digg_count to find the top performers.
  • Compare how often viewers share or download videos in the same set.
  • Refresh the counts for videos you already stored from a user or hashtag listing.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/multi-video-statistics" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aweme_ids": "7565738211130035491"}'

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

Parameters

NameTypeRequiredDescription
aweme_idsstringYesVideo id, supports multiple video ids, separated by commas, no more than 50, single is also possible, no need for commas.

Example response

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

{
  "statistics_list": [
    {
      "aweme_id": "7565738211130035491",
      "digg_count": 88106,
      "download_count": 29,
      "play_count": 2553057,
      "share_count": 165
    }
  ]
}

Response fields

FieldMeaning
statistics_listList of results, one object per video ID in the request.
statistics_list[].aweme_idID of the Douyin video. Use it to match each result to the ID you sent.
statistics_list[].play_countNumber of plays for the video.
statistics_list[].digg_countNumber of likes (diggs) on the video.
statistics_list[].share_countNumber of times the video was shared.
statistics_list[].download_countNumber of times the video was downloaded.

Notes

  • Send aweme_ids as one string with IDs separated by commas, for example 7565738211130035491,7565738211130035492. A single ID needs no comma.
  • Do not send more than 50 IDs per request.
  • Match each result to your input by aweme_id, not by position.
  • To get descriptions, authors or play URLs, call Douyin Batch Video Information (App V3). To list a user's videos and their IDs first, use Douyin User Videos.

Pricing

$0.025 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.025 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 Video Statistics (Batch)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/app-v3/multi-video-statistics 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 Video Statistics (Batch) có giá bao nhiêu?

$0.025 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 Video Statistics (Batch) chấp nhận những tham số nào?

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

API Douyin Video Statistics (Batch) 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 Video Statistics (Batch) 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.