Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Toutiao Specified Video Details

Dokumentacja 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.

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
Post ID
WyjściePrzykład
Odpowiedźoutputs · 103 B · 10 wierszy
[
  {
    "data": {
      "data": {
        "delete": 1
      },
      "message": "success"
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Toutiao$0.001 za wywołanieJSON
Toutiao$0.001 za wywołanieJSON
Toutiao$0.001 za wywołanieJSON
Toutiao$0.001 za wywołanieJSON
Toutiao$0.001 za wywołanieJSON
Toutiao$0.001 za wywołanieJSON

Pytania

FAQ

Jak używać API Toutiao Specified Video Details?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/toutiao/web/video-info z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Toutiao Specified Video Details?

$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Toutiao Specified Video Details?

Wymagane: aweme_id (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Toutiao Specified Video Details?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Toutiao lub klucza API?

Nie. Toutiao Specified Video Details działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Toutiao.