aweme_idstringzorunlu
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"
}
}
]Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
aweme_idstringzorunluPost ID
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
[
{
"data": {
"data": {
"delete": 1
},
"message": "success"
}
}
]Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Toutiao | $0.001 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/toutiao/web/video-info adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: aweme_id (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Toutiao Specified Video Details, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Toutiao API erişimi için ayrıca başvuru yapmanız gerekmez.