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

Douyin XingTu KOL Cost Metrics

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/xingtu/kol-cp-info-v1

Get expected campaign metrics for a Douyin KOL from XingTu: expected views, CPM and CPE estimates, and hot-video counts.

Giá
$0.02USD / 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
User kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
Đầu raVí dụ
Phản hồioutputs · 388 B · 24 dòng
[
  {
    "data": {
      "base_resp": {
        "status_code": 0,
        "status_message": ""
      },
      "expect_cpe": {
        "cpe_21_60": "106",
        "cpe_60": "143"
      },
      "expect_cpm": {
        "cpm_21_60": "4415",
        "cpm_60": "5919"
      },
      "expect_vv": {
        "value": 312535
      },
      "hot_item": {
        "value": 1800
      }
    }
  }
]

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 XingTu KOL Cost Metrics API

Returns the expected campaign metrics XingTu shows for one Douyin creator: expected views, CPM and CPE estimates, and a hot-video count. It needs one input, the creator's XingTu kolId.

Use cases

  • Estimate how many views a sponsored video from a given KOL is likely to get with expect_vv.value.
  • Compare CPM and CPE estimates across a shortlist of KOLs before booking.
  • Check CPM and CPE for different video lengths to pick the better format for a brief.
  • Screen creators by hot_item.value to see how many hot videos XingTu counts for them.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-cp-info-v1" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kolId": "7038603512770461703"}'

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

Parameters

NameTypeRequiredDescription
kolIdstringYesUser kolId, can be obtained from the following interfaces: douyin/xingtu/xingtu-kolid-by-uid; douyin/xingtu/xingtu-kolid-by-sec-user-id; douyin/xingtu/xingtu-kolid-by-unique-id

Example response

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

{
  "base_resp": {
    "status_code": 0,
    "status_message": ""
  },
  "expect_cpe": {
    "cpe_21_60": "47",
    "cpe_60": "63"
  },
  "expect_cpm": {
    "cpm_21_60": "2039",
    "cpm_60": "2733"
  },
  "expect_vv": {
    "value": 676711
  },
  "hot_item": {
    "value": 1800
  }
}

Response fields

FieldMeaning
expect_vv.valueExpected video views for the KOL, as a number.
expect_cpm.cpm_21_60Expected CPM for videos in the 21 to 60 range, returned as a string. The key name suggests a 21 to 60 second video length.
expect_cpm.cpm_60Expected CPM for videos in the 60 range, returned as a string. The key name suggests videos longer than 60 seconds.
expect_cpe.cpe_21_60Expected CPE for the 21 to 60 range, returned as a string.
expect_cpe.cpe_60Expected CPE for the 60 range, returned as a string.
hot_item.valueHot-video count for the KOL, as a number.
base_resp.status_code / base_resp.status_messageStatus of the call. 0 with an empty message means it succeeded.

Notes

Pricing

$0.02 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.02 mỗi lần gọiJSON
Douyin$0.02 mỗi lần gọiJSON
Douyin$0.02 mỗi lần gọiJSON
Douyin$0.02 mỗi lần gọiJSON
Douyin$0.02 mỗi lần gọiJSON
Douyin$0.02 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 XingTu KOL Cost Metrics?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu/kol-cp-info-v1 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 XingTu KOL Cost Metrics có giá bao nhiêu?

$0.02 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 XingTu KOL Cost Metrics chấp nhận những tham số nào?

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

API Douyin XingTu KOL Cost Metrics 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 XingTu KOL Cost Metrics 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.