Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Toutiao Specified Video Details

API dokümanları
https://api.sandbase.ai/v1/api/toutiao/web/video-info

Returns detailed information for a specified Toutiao video post. Retrieve post metadata and related video attributes using a valid post identifier.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Post ID
ÇıktıÖrnek
Yanıtoutputs · 103 B · 10 satır
[
  {
    "data": {
      "data": {
        "delete": 1
      },
      "message": "success"
    }
  }
]

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

API README

Toutiao Specified Video Details API

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.

Use cases

  • Check whether a known Toutiao video post is still available before you process it.
  • Validate a stored list of Toutiao post IDs and flag the ones that return a delete value.
  • Test an aweme_id before you call a richer video endpoint for the same post.

Request

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.

Parameters

NameTypeRequiredDescription
aweme_idstringYesPost ID

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "delete": 1
  },
  "message": "success"
}

Response fields

FieldMeaning
dataObject that holds the result for the requested post.
data.deleteDeletion 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.
messageStatus text for the call. The sample returns success.

Notes

  • Pass the post ID as a string in aweme_id, for example 7431543350882206242.
  • A success message does not mean the post has full details. The sample response returned only data.delete.
  • To get more video fields, try Toutiao Video Information.
  • For article posts, use Toutiao Article Details (Web).

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.001 çağrı başınaJSON

Sorular

SSS

Toutiao Specified Video Details API'sini nasıl kullanırım?

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.

Toutiao Specified Video Details API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Toutiao Specified Video Details API'si hangi parametreleri kabul eder?

Gerekli: aweme_id (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Toutiao Specified Video Details API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Toutiao geliştirici hesabına veya API anahtarına ihtiyacım var mı?

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.