end_datestringआवश्यक
End date, YYYYMMDD
https://api.sandbase.ai/v1/api/douyin/index/multi-keyword-interpretationReturns index interpretation metrics for multiple keywords across selected time periods. Includes comparison metrics like period-over-period and year-over-year differences.
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"keyword_index_interpretations": [
{
"current_period": {
"consume_index": "3238777",
"content_index": "6286798",
"search_index": "5608122"
},
"keyword": "人工智能",
"last_period": {
"consume_index": "2375876",
"content_index": "22432607",
"search_index": "5764762"
},
"last_period_diff": {
"consume_diff": 0.36319277605396927,
"content_diff": -0.7197473303036067,
"search_diff": -0.02717198038704808
},
"last_year_diff": {
"consume_diff": -0.31968142346141104,
"content_diff": -0.29883205556881526,
"search_diff": 0.01205634620236288
},
"overview": {
"consume_index": 3238777,
"content_index": 6286798,
"search_index": 5608122
}
},
{
"current_period": {
"consume_index": "12721157",
"content_index": "5864262",
"search_index": "345391408"
},
"keyword": "华为",
"last_period": {
"consume_index": "11416262",
"content_index": "12861878",
"search_index": "339348518"
},
"last_period_diff": {
"consume_diff": 0.11430142370593815,
"content_diff": -0.5440586514659833,
"search_diff": 0.017807326920461233
},
"last_year_diff": {
"consume_diff": 0.054911176596635455,
"content_diff": -0.7390276463913172,
"search_diff": -0.0010165791323027082
},
"overview": {
"consume_index": 12721157,
"content_index": 5864262,
"search_index": 345391408
}
}
]
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns index metrics for each keyword in a comma separated list over a date range. Each keyword gets search, content and consume index values for the current period and the previous period, plus percentage differences against the previous period and the same period last year. It needs keyword_list, start_date and end_date.
华为 and 人工智能 over the same half-year window.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/multi-keyword-interpretation" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_date": "20260412", "keyword_list": "人工智能,华为", "start_date": "20251015"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
end_date | string | Yes | End date, YYYYMMDD |
keyword_list | string | Yes | Comma separated keywords |
start_date | string | Yes | Start date, YYYYMMDD |
app_name | string | No | Platform, aweme=Douyin, toutiao=Toutiao |
region | string | No | Region filter, comma separated, empty for all |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"keyword_index_interpretations": [
{
"current_period": {
"consume_index": "12721157",
"content_index": "5864262",
"search_index": "345391408"
},
"keyword": "华为",
"last_period": {
"consume_index": "11416262",
"content_index": "12861878",
"search_index": "339348518"
},
"last_period_diff": {
"consume_diff": 0.11430142370593815,
"content_diff": -0.5440586514659833,
"search_diff": 0.017807326920461233
},
"last_year_diff": {
"consume_diff": 0.054911176596635455,
"content_diff": -0.7390276463913172,
"search_diff": -0.0010165791323027082
},
"overview": {
"consume_index": 12721157,
"content_index": 5864262,
"search_index": 345391408
}
}
]
}
| Field | Meaning |
|---|---|
keyword_index_interpretations[].keyword | The keyword these metrics belong to. The list has one entry per keyword in the request. |
keyword_index_interpretations[].current_period.search_index / content_index / consume_index | Search, content and consume index for the requested date range. Values are strings. |
keyword_index_interpretations[].last_period.search_index / content_index / consume_index | The same three indexes for the previous period, used as the baseline for the period-over-period difference. |
keyword_index_interpretations[].last_period_diff.search_diff / content_diff / consume_diff | Change against the previous period as a decimal ratio. For example 0.114 means about 11.4% higher, and -0.544 means about 54.4% lower. |
keyword_index_interpretations[].last_year_diff.search_diff / content_diff / consume_diff | Change against the same period last year, as a decimal ratio. Negative values mean a decline. |
keyword_index_interpretations[].overview.search_index / content_index / consume_index | The current period indexes as numbers instead of strings. They match the current_period values. |
BaseResp.StatusCode | Status of the call. 0 appears in the sample response, with an empty StatusMessage. |
keyword_list, for example 人工智能,华为.start_date and end_date as YYYYMMDD, for example 20251015.app_name to aweme for Douyin (default) or toutiao for Toutiao. Leave region empty for all regions.region values.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/multi-keyword-interpretation" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"region": "",
"app_name": "aweme",
"end_date": "20260412",
"start_date": "20251015",
"keyword_list": "人工智能,华为"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
end_datestringआवश्यकEnd date, YYYYMMDD
keyword_liststringआवश्यकComma separated keywords
start_datestringआवश्यकStart date, YYYYMMDD
app_namestringPlatform, aweme=Douyin, toutiao=Toutiao
डिफ़ॉल्ट: "aweme"
संभावित मान: aweme, toutiao
regionstringRegion filter, comma separated, empty for all
डिफ़ॉल्ट: ""
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"keyword_index_interpretations": [
{
"current_period": {
"consume_index": "3238777",
"content_index": "6286798",
"search_index": "5608122"
},
"keyword": "人工智能",
"last_period": {
"consume_index": "2375876",
"content_index": "22432607",
"search_index": "5764762"
},
"last_period_diff": {
"consume_diff": 0.36319277605396927,
"content_diff": -0.7197473303036067,
"search_diff": -0.02717198038704808
},
"last_year_diff": {
"consume_diff": -0.31968142346141104,
"content_diff": -0.29883205556881526,
"search_diff": 0.01205634620236288
},
"overview": {
"consume_index": 3238777,
"content_index": 6286798,
"search_index": 5608122
}
},
{
"current_period": {
"consume_index": "12721157",
"content_index": "5864262",
"search_index": "345391408"
},
"keyword": "华为",
"last_period": {
"consume_index": "11416262",
"content_index": "12861878",
"search_index": "339348518"
},
"last_period_diff": {
"consume_diff": 0.11430142370593815,
"content_diff": -0.5440586514659833,
"search_diff": 0.017807326920461233
},
"last_year_diff": {
"consume_diff": 0.054911176596635455,
"content_diff": -0.7390276463913172,
"search_diff": -0.0010165791323027082
},
"overview": {
"consume_index": 12721157,
"content_index": 5864262,
"search_index": 345391408
}
}
]
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/index/multi-keyword-interpretation पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: end_date (string), keyword_list (string) और start_date (string)। वैकल्पिक: app_name (aweme, toutiao में से एक) और region (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Multi-Keyword Index Interpretation SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।