item_idstringrequerido
Video (item) ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-commentsGet Item Report Comments on Douyin. Returns the platform data as structured JSON.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Returns a list of comments for one Douyin video, taken from its Xingtu item report. Each comment has its ID, text, like count and reply count. The only input is the video item_id.
like_count to find the most liked comments on a video.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"item_id": "7372484719365098803"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | Video (item) ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comments": [
{
"comment_count": "30",
"comment_id": "7372955079207256882",
"comment_text": "不仅赞还评论你也尽量[比心]",
"like_count": "97"
}
]
}
| Field | Meaning |
|---|---|
base_resp.status_code / base_resp.status_message | Status of the request. A status_code of 0 with an empty status_message means the call worked. |
comments[] | List of comments on the video. Each entry is one comment. |
comments[].comment_id | ID of the comment, returned as a string. |
comments[].comment_text | Text of the comment. It can contain platform emoji codes such as [比心]. |
comments[].like_count | Number of likes the comment received, returned as a string. |
comments[].comment_count | Number of replies to the comment, returned as a string. |
item_id is the Douyin video ID, for example 7372484719365098803.like_count and comment_count come back as strings, so convert them before sorting.$0.003 per successful call. Failed calls are not charged.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "7372484719365098803"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
item_idstringrequeridoVideo (item) ID
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Douyin Item Report CommentsEsta API Douyin | $0.003 por llamada | JSON |
Douyin | $0.002 por llamada | JSON |
Douyin | $0.002 por llamada | JSON |
Douyin | $0.01 por llamada | JSON |
Douyin | $0.003 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-comments 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.
$0.003 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: item_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Douyin Item Report Comments 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.