aweme_idstringจำเป็น
Post ID
https://api.sandbase.ai/v1/api/toutiao/web/video-infoReturns detailed information for a specified Toutiao video post. Retrieve post metadata and related video attributes using a valid post identifier.
[
{
"data": {
"data": {
"delete": 1
},
"message": "success"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns details for one Toutiao video post, looked up by its post ID in aweme_id. The sample response for this ID holds only a delete flag and a status message.
delete value.aweme_id before you call a richer video endpoint for the same post.curl -X POST "https://api.sandbase.ai/v1/api/toutiao/web/video-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"aweme_id": "7431543350882206242"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
aweme_id | string | Yes | Post ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"delete": 1
},
"message": "success"
}
| Field | Meaning |
|---|---|
data | Object that holds the result for the requested post. |
data.delete | Deletion flag for the post. The sample shows 1 for the requested ID, which suggests the post was removed. The response does not define the values, so check against a post you know is live. |
message | Status text for the call. The sample returns success. |
aweme_id, for example 7431543350882206242.success message does not mean the post has full details. The sample response returned only data.delete.$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/toutiao/web/video-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aweme_id": "7431543350882206242"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
aweme_idstringจำเป็นPost ID
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"data": {
"delete": 1
},
"message": "success"
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Toutiao | $0.001 ต่อการเรียก | JSON |
Toutiao | $0.001 ต่อการเรียก | JSON |
Toutiao | $0.001 ต่อการเรียก | JSON |
Toutiao | $0.001 ต่อการเรียก | JSON |
Toutiao | $0.001 ต่อการเรียก | JSON |
Toutiao | $0.001 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/toutiao/web/video-info โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: aweme_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Toutiao Specified Video Details ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Toutiao API แยกต่างหาก