Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Toutiao Specified Video Details

Documentación de la 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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Post ID
SalidaEjemplo
Respuestaoutputs · 103 B · 10 líneas
[
  {
    "data": {
      "data": {
        "delete": 1
      },
      "message": "success"
    }
  }
]

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Toutiao$0.001 por llamadaJSON
Toutiao$0.001 por llamadaJSON
Toutiao$0.001 por llamadaJSON
Toutiao$0.001 por llamadaJSON
Toutiao$0.001 por llamadaJSON
Toutiao$0.001 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Toutiao Specified Video Details?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/toutiao/web/video-info con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Toutiao Specified Video Details?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Toutiao Specified Video Details?

Requeridos: aweme_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Toutiao Specified Video Details?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Toutiao?

No. Toutiao Specified Video Details funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Toutiao por separado.