Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Toutiao Specified Video Details

Dokumentasi API
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.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 0 opsional

Playground

Input
Post ID
OutputContoh
Responsoutputs · 103 B · 10 baris
[
  {
    "data": {
      "data": {
        "delete": 1
      },
      "message": "success"
    }
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Toutiao$0.001 per panggilanJSON
Toutiao$0.001 per panggilanJSON
Toutiao$0.001 per panggilanJSON
Toutiao$0.001 per panggilanJSON
Toutiao$0.001 per panggilanJSON
Toutiao$0.001 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API Toutiao Specified Video Details?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/toutiao/web/video-info dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Toutiao Specified Video Details?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Toutiao Specified Video Details?

Wajib: aweme_id (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Toutiao Specified Video Details?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Toutiao?

Tidak. Toutiao Specified Video Details berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Toutiao secara terpisah.