kolIdstringbắt buộc
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`
https://api.sandbase.ai/v1/api/douyin/xingtu/author-content-hot-comment-keywords-v1Returns hot comment keywords from content produced by a Douyin Xingtu creator. Queries data using the creator's KOL identifier.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"25岁": 4,
"女人": 4,
"维c": 4,
"胶原蛋白肽": 4,
"虾青素": 4
},
"keyword_map": {
"25岁": 4,
"女人": 4,
"女王": 4,
"维c": 12,
"胶原蛋白肽": 4,
"虾青素": 8
}
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns hot comment keywords from the content of a Douyin Xingtu creator. It needs one input, the creator's kolId.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-content-hot-comment-keywords-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kolId": "7048929565493690398"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
kolId | string | Yes | 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 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"25岁": 4,
"女人": 4,
"维c": 4,
"胶原蛋白肽": 4,
"虾青素": 4
},
"keyword_map": {
"25岁": 4,
"女人": 4,
"女王": 4,
"维c": 12,
"胶原蛋白肽": 4,
"虾青素": 8
}
}
| Field | Meaning |
|---|---|
keyword_map | Object that maps each hot comment keyword to a number. The keyword is the key and the number is the value. |
keyword_item_distribution | Object with the same shape as keyword_map: keyword as key, number as value. It holds a smaller set of keywords, and the numbers can differ from those in keyword_map. |
base_resp.status_code | Status code of the response. 0 means the call succeeded. |
base_resp.status_message | Status text of the response. It is an empty string when the call succeeds. |
kolId from Douyin XingTu KOL ID by User ID, Douyin XingTu kolId Lookup, or the lookup by unique ID.$0.02 per successful call. Failed calls are not charged.
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/author-content-hot-comment-keywords-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kolId": "7048929565493690398"
}'Đặ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.
kolIdstringbắt buộcUser 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`
Đâ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": ""
},
"keyword_item_distribution": {
"25岁": 4,
"女人": 4,
"维c": 4,
"胶原蛋白肽": 4,
"虾青素": 4
},
"keyword_map": {
"25岁": 4,
"女人": 4,
"女王": 4,
"维c": 12,
"胶原蛋白肽": 4,
"虾青素": 8
}
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 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/author-content-hot-comment-keywords-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.
$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ý.
Bắt buộc: kolId (string). 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 Hot Comment Keywords 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.