Douyin XingTu KOL Cost Metrics

API docs
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.

Price
$0.02USD / call
Method
POST
Response
JSON
Parameters
1 required · 0 optional

Playground

Input
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`
OutputExample
Responseoutputs · 388 B · 24 lines
[
  {
    "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
      }
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

API README

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.

Explore more

Related APIs

All APIs
APIPriceResponse
Douyin$0.02 per callJSON
Douyin$0.02 per callJSON
Douyin$0.02 per callJSON
Douyin$0.02 per callJSON
Douyin$0.02 per callJSON
Douyin$0.02 per callJSON

Questions

FAQ

How do I use the Douyin XingTu KOL Cost Metrics API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/xingtu/kol-cp-info-v1 with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Douyin XingTu KOL Cost Metrics API cost?

$0.02 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the Douyin XingTu KOL Cost Metrics API accept?

Required: kolId (string). The Parameters table and the Playground on this page list every field.

What does the Douyin XingTu KOL Cost Metrics API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Douyin developer account or API key?

No. Douyin XingTu KOL Cost Metrics runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.