brand_namestringआवश्यक
Brand info
https://api.sandbase.ai/v1/api/douyin/index/brand-linesReturns brand trend line metrics and popularity trends over time for a specified brand name and date range across supported platforms.
[
{
"data": {
"BaseResp": {
"StatusCode": -1,
"StatusMessage": "系统异常"
}
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Fetch historical brand popularity trends by passing brand_name, start_date, and end_date, with an optional app_name filter.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-lines" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"brand_name": "华为", "end_date": "20260412", "start_date": "20260406"}'
| Name | Type | Required | Description |
|---|---|---|---|
end_date | string | Yes | End date YYYYMMDD |
brand_name | string | Yes | Brand info |
start_date | string | Yes | Start date YYYYMMDD |
app_name | string | No | Platform |
start_date and end_date require date formats in YYYYMMDD.app_name accepts either aweme or toutiao.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-lines" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"app_name": "aweme",
"end_date": "20260412",
"brand_name": "华为",
"start_date": "20260406"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
brand_namestringआवश्यकBrand info
end_datestringआवश्यकEnd date YYYYMMDD
start_datestringआवश्यकStart date YYYYMMDD
app_namestringPlatform
डिफ़ॉल्ट: "aweme"
संभावित मान: aweme, toutiao
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"BaseResp": {
"StatusCode": -1,
"StatusMessage": "系统异常"
}
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin Brand Trend Linesयह 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/brand-lines पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: brand_name (string), end_date (string) और start_date (string)। वैकल्पिक: app_name (aweme, toutiao में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। Douyin Brand Trend Lines SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।