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

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

Returns statistical metrics including like counts, play counts, and share counts for specified Douyin videos by ID.

Giá
$0.001USD / 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
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Video id, supports multiple video ids, separated by commas, no more than 2, single is also possible, no need for commas.
Đầu raVí dụ
Phản hồioutputs · 415 B · 21 dòng
[
  {
    "data": {
      "statistics_list": [
        {
          "aweme_id": "7448118827402972455",
          "digg_count": 4557,
          "play_count": 239527,
          "share_count": 69
        },
        {
          "aweme_id": "7126745726494821640",
          "digg_count": 36465,
          "download_count": 4515,
          "play_count": 1222995,
          "share_count": 8493
        }
      ]
    }
  }
]

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

Returns like, play and share counts for one or two Douyin videos. You pass the video IDs in aweme_ids, separated by a comma.

Use cases

  • Check the play and like counts of a single Douyin post.
  • Compare engagement between two Douyin videos in one call.
  • Read share_count to see how often a video was shared.
  • Check download_count on videos that report it.

Request

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

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

Parameters

NameTypeRequiredDescription
aweme_idsstringYesVideo id, supports multiple video ids, separated by commas, no more than 2, 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": "7448118827402972455",
      "digg_count": 4553,
      "play_count": 239913,
      "share_count": 69
    }
  ]
}

Response fields

FieldMeaning
statistics_list[]One entry per video ID you sent.
statistics_list[].aweme_idThe ID of the video these counts belong to. Use it to match each entry to your input.
statistics_list[].digg_countNumber of likes on the video.
statistics_list[].play_countNumber of plays on the video.
statistics_list[].share_countNumber of shares of the video.
statistics_list[].download_countNumber of downloads of the video. It appears only for some videos, so the first video in the example does not have it.

Notes

  • Send at most two IDs in aweme_ids. For one video, send the ID without a comma.
  • aweme_id values are long numeric strings. Keep them as strings.
  • download_count can be missing from an entry, so check for it before you read it.
  • To count more than two videos at once, use Douyin Video Statistics (Batch).

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 Video Statistics?

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

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

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