o_author_idstringbắt buộc
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-link-infoReturns Xingtu link indices for a Douyin creator, including cooperation, CP, conversion, and shopping indices filtered by industry tag.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"cooperate_index": {
"avg_value": 75.55,
"link_relative_ratio": 1,
"rank": "138814",
"rank_percent": 0.064,
"value": 75.71
},
"cp_index": {
"avg_value": 64.08,
"link_relative_ratio": 1,
"rank": "84223",
"rank_percent": 0.0388,
"value": 67.06
},
"link_convert_index": {
"avg_value": 55.24,
"link_relative_ratio": 1,
"rank": "372402",
"rank_percent": 0.1717,
"value": 40.44
},
"link_shopping_index": {
"avg_value": 53.33,
"link_relative_ratio": 1,
"rank": "312460",
"rank_percent": 0.1441,
"value": 46.32
},
"link_spread_index": {
"avg_value": 53.13,
"link_relative_ratio": 1,
"rank": "276267",
"rank_percent": 0.1274,
"value": 49.91
},
"link_star_index": {
"avg_value": 56.23,
"link_relative_ratio": 1,
"rank": "266434",
"rank_percent": 0.1228,
"value": 55.89
}
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns Xingtu link indices for one Douyin creator: cooperation, CP, conversion, shopping, spread and star. Each index comes with the creator's value, the average value, and the creator's rank. The only required input is the creator ID in o_author_id.
link_shopping_index with the average before choosing a creator for a product campaign.link_convert_index and its link_relative_ratio to see whether conversion is rising or falling.rank_percent on the cooperation and CP indices.industy_tag to see how a creator scores within one industry.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-link-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7589271892177518598"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
industy_tag | integer | No | Industry tag, 0=unlimited, default 0 |
platform_channel | integer | No | Platform channel, default 1 |
platform_source | integer | No | Platform source, default 1 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"cooperate_index": {
"avg_value": 75.55,
"link_relative_ratio": 0,
"rank": "138415",
"rank_percent": 0.0632,
"value": 75.71
},
"cp_index": {
"avg_value": 64.1,
"link_relative_ratio": 0,
"rank": "84302",
"rank_percent": 0.0385,
"value": 67.06
},
"link_convert_index": {
"avg_value": 55.24,
"link_relative_ratio": -0.0902,
"rank": "409688",
"rank_percent": 0.1872,
"value": 36.81
},
"link_shopping_index": {
"avg_value": 53.3,
"link_relative_ratio": 0.2556,
"rank": "93389",
"rank_percent": 0.0427,
"value": 69.16
},
"link_spread_index": {
"avg_value": 53.1,
"link_relative_ratio": 0.1397,
"rank": "144503",
"rank_percent": 0.066,
"value": 63.72
},
"link_star_index": {
"avg_value": 56.19,
"link_relative_ratio": 0.062,
"rank": "149014",
"rank_percent": 0.0681,
"value": 62.49
}
}
| Field | Meaning |
|---|---|
cooperate_index.value / cp_index.value | The creator's score on the cooperation index and the CP index. |
link_convert_index.value / link_shopping_index.value | The creator's score on the conversion index and the shopping index. |
link_spread_index.value / link_star_index.value | The creator's score on the spread index and the star index. |
cooperate_index.avg_value / cp_index.avg_value | The average score for the same index. Compare it with value to see if the creator is above or below average. The same field exists in each of the other indices. |
link_convert_index.link_relative_ratio | Relative change for the conversion index. In the sample it is -0.0902, a negative change. The same field exists in each of the other indices. |
link_shopping_index.rank | The creator's rank for the shopping index, returned as a string such as 93389. The same field exists in each of the other indices. |
link_shopping_index.rank_percent | The rank as a fraction, such as 0.0427. A smaller number means a better position. The same field exists in each of the other indices. |
base_resp.status_code / base_resp.status_message | Status of the call. 0 with an empty message is the success result in the sample. |
o_author_id from a lookup such as Douyin XingTu kolId by Douyin ID or Douyin Xingtu Creator Search.industy_tag defaults to 0, which means no industry filter. The parameter name is spelled this way in the schema.platform_source and platform_channel both default to 1.$0.004 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-link-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7589271892177518598"
}'Đặ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
industy_tagintegerIndustry tag, 0=unlimited, default 0
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
Đâ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": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"cooperate_index": {
"avg_value": 75.55,
"link_relative_ratio": 1,
"rank": "138814",
"rank_percent": 0.064,
"value": 75.71
},
"cp_index": {
"avg_value": 64.08,
"link_relative_ratio": 1,
"rank": "84223",
"rank_percent": 0.0388,
"value": 67.06
},
"link_convert_index": {
"avg_value": 55.24,
"link_relative_ratio": 1,
"rank": "372402",
"rank_percent": 0.1717,
"value": 40.44
},
"link_shopping_index": {
"avg_value": 53.33,
"link_relative_ratio": 1,
"rank": "312460",
"rank_percent": 0.1441,
"value": 46.32
},
"link_spread_index": {
"avg_value": 53.13,
"link_relative_ratio": 1,
"rank": "276267",
"rank_percent": 0.1274,
"value": 49.91
},
"link_star_index": {
"avg_value": 56.23,
"link_relative_ratio": 1,
"rank": "266434",
"rank_percent": 0.1228,
"value": 55.89
}
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.004 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-link-info 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.004 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: industy_tag (integer), platform_channel (integer) và platform_source (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 Creator Link Indices 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.