kolIdstringआवश्यक
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/kol-touch-distribution-v1Returns touch distribution data for a Douyin Xingtu creator using their unique KOL identifier. Helps evaluate audience contact points and reach patterns.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns touch distribution data for a Douyin Xingtu creator. You send the creator's kolId and get back a list of touch categories with a count for each one.
cnt values of touch categories across several creators.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-touch-distribution-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": ""
},
"video_touch": [
{
"distribution_data": {
"cnt": 2,
"id": "0",
"name": "个人"
},
"second_distribution": []
}
]
}
| Field | Meaning |
|---|---|
base_resp.status_code / base_resp.status_message | Status of the call. status_code is 0 in the sample response and status_message is empty. |
video_touch[] | List of touch groups for the creator's videos. Each item holds one category and its sub-breakdown. |
video_touch[].distribution_data.name | Name of the touch category. The sample value is 个人. |
video_touch[].distribution_data.id | ID of the touch category, returned as a string. The sample value is 0. |
video_touch[].distribution_data.cnt | Count for the touch category. The sample value is 2. |
video_touch[].second_distribution[] | Second-level breakdown of the category. It is an empty list in the sample response. |
kolId from Douyin XingTu KOL ID by User ID, Douyin XingTu kolId Lookup or Douyin XingTu KOL ID by Unique ID.kolId is a numeric string such as 7048929565493690398.second_distribution can be an empty list, so check its length before you read items from it.$0.02 per successful call. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-touch-distribution-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kolId": "7048929565493690398"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
kolIdstringआवश्यक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`
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/xingtu/kol-touch-distribution-v1 पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.02 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: kolId (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Xingtu KOL Touch Distribution SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।