o_author_idstringbắt buộc
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-abilityReturns creator conversion ability metrics including GMV, clicks, and conversion rate ranges filtered by creator, time range, and industry.
[
{
"data": {
"avg_sales_amount_range": "-",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"component_click_cnt_range": "500以下",
"component_click_rate_range": "2%以下",
"gpm_range": "-",
"rec_product_cnt": {
"value": "1"
},
"rec_product_price_range": "300-500",
"related_cpc_range": "1230-1232",
"related_video_cnt": {
"value": "2"
},
"video_vv_median": {
"value": "1455929"
}
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns conversion ability metrics for one Douyin Xingtu creator, such as sales amount, GPM, click and CPC ranges, plus video and product counts. It needs the creator ID in o_author_id. Optional filters set the industry, time range and platform.
gpm_range and avg_sales_amount_range before shortlisting them for a sales campaign.component_click_cnt_range and component_click_rate_range across several creators.video_vv_median to see the typical view count of a creator's videos.rec_product_cnt and related_video_cnt to see how many products and videos the metrics rest on.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-ability" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7029342444797820939"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
industry_id | integer | No | Industry ID, 0=unlimited, default 0 |
platform_channel | integer | No | Platform channel, default 1 |
platform_source | integer | No | Platform source, default 1 |
time_range | integer | No | Time range tier, default 2 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"avg_sales_amount_range": "-",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"component_click_cnt_range": "-",
"component_click_rate_range": "-",
"gpm_range": "-",
"rec_product_cnt": {
"value": "0"
},
"rec_product_price_range": "-",
"related_cpc_range": "-",
"related_video_cnt": {
"value": "1"
},
"video_vv_median": {
"value": "4621348"
}
}
| Field | Meaning |
|---|---|
avg_sales_amount_range | Range for the creator's average sales amount. The value is - when no range is available, as in the sample. |
gpm_range | Range for the creator's GPM. The value is - when no range is available. |
component_click_cnt_range / component_click_rate_range | Ranges for the number of clicks and the click rate on the creator's video components. Both are - when empty. |
related_cpc_range | Range for the related CPC value. The value is - when empty. |
rec_product_cnt.value | Count of recommended products, returned as a string. The sample shows 0. |
rec_product_price_range | Price range of the recommended products. The value is - when empty. |
related_video_cnt.value | Count of related videos, returned as a string. The sample shows 1. |
video_vv_median.value | Median video view count, returned as a string. The sample shows 4621348. |
base_resp.status_code / base_resp.status_message | Status of the call. status_code is 0 and status_message is empty in the sample. |
- when the creator has no data for the chosen filters. The count fields stay filled, so check them first.rec_product_cnt, related_video_cnt and video_vv_median come as strings inside a value key.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-ability" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7029342444797820939"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
o_author_idstringbắt buộcCreator ID
industry_idintegerIndustry ID, 0=unlimited, default 0
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
time_rangeintegerTime range tier, default 2
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"avg_sales_amount_range": "-",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"component_click_cnt_range": "500以下",
"component_click_rate_range": "2%以下",
"gpm_range": "-",
"rec_product_cnt": {
"value": "1"
},
"rec_product_price_range": "300-500",
"related_cpc_range": "1230-1232",
"related_video_cnt": {
"value": "2"
},
"video_vv_median": {
"value": "1455929"
}
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.01 mỗi lần gọi | JSON |
Douyin | $0.003 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-ability 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.
$0.002 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ý.
Bắt buộc: o_author_id (string). Tùy chọn: industry_id (integer), platform_channel (integer), platform_source (integer) và time_range (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
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.
Không. Douyin Xingtu Author Conversion Ability 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.