Douyin Content Guide Valid Dates
https://api.sandbase.ai/v1/api/douyin/index/content-valid-dateReturns the valid date ranges supported by the Douyin content guide index. Helps clients determine allowable date intervals before requesting trend and guide statistics.
- मूल्य
- $0.001USD / कॉल
- मेथड
- POST
- प्रतिक्रिया
- JSON
- पैरामीटर
- 0 आवश्यक · 0 वैकल्पिक
प्लेग्राउंड
[
{
"data": {
"day": "20260818",
"earliest_week": "20260524",
"month": "20260731",
"week": "20260816"
}
}
]उदाहरण
प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
API README
Douyin Content Guide Valid Dates API
Returns the latest valid dates for the Douyin content guide index. It needs no input. The response gives one date for day, week and month data, plus the earliest week available.
Use cases
- Set the maximum selectable date in a date picker for a Douyin content guide dashboard.
- Check the latest
day,weekormonthvalue before you request content trend data. - Limit weekly queries to the range between
earliest_weekandweek. - Pick the most recent valid date for a scheduled report job.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-valid-date" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"day": "20261101",
"earliest_week": "20260809",
"month": "20261031",
"week": "20261101"
}
Response fields
| Field | Meaning |
|---|---|
day | Latest valid date for daily data, as a YYYYMMDD string. |
week | Latest valid date for weekly data, as a YYYYMMDD string. |
earliest_week | Earliest valid date for weekly data. Use it as the lower bound of a weekly range. |
month | Latest valid date for monthly data, as a YYYYMMDD string. The value in the example is the last day of a month. |
Notes
- Send an empty JSON object
{}. The API has no request parameters. - All dates are strings in
YYYYMMDDformat. - Only the weekly data has an earliest date in this response. The response shows no earliest date for
dayormonth. - For valid dates of other Douyin Index data types, call Douyin Index Valid Dates.
Pricing
$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/content-valid-date" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. प्रमाणीकरण
अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
इस API के लिए कोई parameter schema प्रकाशित नहीं किया गया है।
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"day": "20260818",
"earliest_week": "20260524",
"month": "20260731",
"week": "20260816"
}
}
]और जानें
संबंधित APIs
| 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 |
प्रश्न
FAQ
Douyin Content Guide Valid Dates API का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/douyin/index/content-valid-date पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
Douyin Content Guide Valid Dates API की लागत कितनी है?
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
Douyin Content Guide Valid Dates API कौन-से parameters स्वीकार करती है?
Douyin Content Guide Valid Dates कोई input parameters नहीं लेता; एक खाली JSON body भेजें।
Douyin Content Guide Valid Dates API क्या लौटाती है?
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक Douyin developer account या API key चाहिए?
नहीं। Douyin Content Guide Valid Dates SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।
