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

Douyin Author Recommended Videos V2

Documentación de la API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-rec-videos-v2

Get Author Recommended Videos V2 on Douyin. Returns the platform data as structured JSON.

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

Entorno de pruebas

Entrada
Creator ID
Platform source, 1=Douyin
Platform channel, 1=Douyin video
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

Douyin Author Recommended Videos V2 API

Returns four lists of videos for one Douyin creator in Xingtu: masterpiece, newest, order hot and personal hot videos. Each video carries its item_id, create_time and play count. The only required input is the creator ID in o_author_id.

Use cases

  • Pull a creator's most played videos to judge their best past content before a brand deal.
  • Check the newest videos of a creator to see how recently and how often they post.
  • Collect item_id values from the hot lists to feed into video-level report APIs.
  • Compare the order hot list with the personal hot list to see which videos performed in sponsored work and which in organic posts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-rec-videos-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"o_author_id": "7112600044674482187", "platform_source": 1, "platform_channel": 1}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
o_author_idstringYesCreator ID
platform_channelintegerNoPlatform channel, 1=Douyin video
platform_sourceintegerNoPlatform source, 1=Douyin

Example response

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

{
  "base_resp": {
    "status_code": 0,
    "status_message": ""
  },
  "masterpiece_videos": [
    {
      "acu": 0,
      "avg_watch": 0,
      "barrage": 0,
      "biz_id": "0",
      "comment": 0,
      "core_user_id": "0",
      "create_time": 1791057423,
      "create_timestamp": 0,
      "duration": 0,
      "duration_min": 0,
      "fans_club": 0,
      "favorite": "0"
    }
  ],
  "newest_videos": [
    {
      "acu": 0,
      "avg_watch": 0,
      "barrage": 0,
      "biz_id": "0",
      "comment": 0,
      "core_user_id": "0",
      "create_time": 1791979120,
      "create_timestamp": 0,
      "duration": 0,
      "duration_min": 0,
      "fans_club": 0,
      "favorite": "0"
    }
  ],
  "order_hot_videos": [
    {
      "acu": 0,
      "avg_watch": 0,
      "barrage": 0,
      "biz_id": "0",
      "comment": 0,
      "core_user_id": "0",
      "create_time": 1792948058,
      "create_timestamp": 0,
      "duration": 0,
      "duration_min": 0,
      "fans_club": 0,
      "favorite": "0"
    }
  ],
  "personal_hot_videos": [
    {
      "acu": 0,
      "avg_watch": 0,
      "barrage": 0,
      "biz_id": "0",
      "comment": 0,
      "core_user_id": "0",
      "create_time": 1791015055,
      "create_timestamp": 0,
      "duration": 0,
      "duration_min": 0,
      "fans_club": 0,
      "favorite": "0"
    }
  ]
}

Response fields

FieldMeaning
masterpiece_videos[]Videos listed as the creator's masterpieces. Each item has the same video fields as the other lists.
newest_videos[]The creator's latest videos.
order_hot_videos[] / personal_hot_videos[]Two lists of hot videos for the creator, named order hot and personal hot. The names suggest sponsored-order videos and the creator's own videos, but the response does not define them.
masterpiece_videos[].item_idID of the video, as a string. The same field appears in every list.
masterpiece_videos[].playPlay count of the video. In the sample, values run from about 3.5 million to 36 million.
masterpiece_videos[].create_timeCreation time of the video as a Unix timestamp in seconds.
masterpiece_videos[].like / comment / shareInteraction counts for the video. They were 0 in the sample, so they may be empty for some videos.
masterpiece_videos[].item_title / item_coverTitle and cover image of the video. Both were empty strings in the sample.
base_resp.status_code / base_resp.status_messageStatus of the call. 0 with an empty message means success.

Notes

Pricing

$0.002 per successful call. Failed calls are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Douyin$0.002 por llamadaJSON
Douyin$0.002 por llamadaJSON
Douyin$0.002 por llamadaJSON
Douyin$0.01 por llamadaJSON
Douyin$0.003 por llamadaJSON
Douyin$0.001 por llamadaJSON

Guías:Best Douyin API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Douyin Author Recommended Videos V2?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-rec-videos-v2 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 Douyin Author Recommended Videos V2?

$0.002 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 Douyin Author Recommended Videos V2?

Requeridos: o_author_id (string). Opcionales: platform_source (integer) y platform_channel (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Douyin Author Recommended Videos V2?

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 Douyin?

No. Douyin Author Recommended Videos V2 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 Douyin por separado.