Douyin Relation Analysis Valid Dates
https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relationReturns the valid date range available for relation analysis on Douyin. Use this endpoint to discover supported timeframes before requesting relationship metrics.
- ราคา
- $0.001USD / คำขอ
- Method
- POST
- การตอบกลับ
- JSON
- พารามิเตอร์
- 0 จำเป็น · 0 ไม่บังคับ
Playground
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"datetime": "20260809",
"industry_relative_words_end_date": "20260816"
}
}
]ตัวอย่าง
เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
API README
Douyin Relation Analysis Valid Dates API
Returns the latest valid dates for Douyin relation analysis. It takes no input, so you send an empty JSON object.
Use cases
- Read the latest allowed end date before you build a date picker for relation word queries.
- Check
industry_relative_words_end_datebefore you request industry relation words, so your end date is in range. - Run the call at the start of a pipeline job to confirm the date you plan to use is not past the latest valid date.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relation" \
-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.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"datetime": "20261101",
"industry_relative_words_end_date": "20261101"
}
Response fields
| Field | Meaning |
|---|---|
datetime | Latest valid date for relation analysis, as a YYYYMMDD string. The sample value is 20261101. |
industry_relative_words_end_date | Latest valid end date for industry relation words, as a YYYYMMDD string. The sample value is 20261101. |
BaseResp.StatusCode | Status code of the call. 0 in the sample response. |
BaseResp.StatusMessage | Status text of the call. It is an empty string in the sample response. |
Notes
- The request has no parameters. Send
{}as the body. - Dates come back as
YYYYMMDDstrings with no separators. - Use the returned dates as the upper bound when you call Douyin Relation Word Analysis.
- For valid dates of other 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.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relation" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. การยืนยันตัวตน
ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
3. พารามิเตอร์
ยังไม่มีการเผยแพร่ schema ของพารามิเตอร์สำหรับ API นี้
4. การตอบกลับ
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"datetime": "20260809",
"industry_relative_words_end_date": "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 |
คำถาม
คำถามที่พบบ่อย
ฉันจะใช้ Douyin Relation Analysis Valid Dates API ได้อย่างไร?
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relation โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
Douyin Relation Analysis Valid Dates API ราคาเท่าไร?
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
Douyin Relation Analysis Valid Dates API รับพารามิเตอร์อะไรบ้าง?
Douyin Relation Analysis Valid Dates ไม่รับพารามิเตอร์อินพุต ส่ง JSON body ว่างเปล่า
Douyin Relation Analysis Valid Dates API ส่งคืนอะไร?
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Douyin ไหม?
ไม่จำเป็น Douyin Relation Analysis Valid Dates ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก
