DataForSEO SERP YouTube Video Comments Live Advanced
2.4积分/次起
ae_dataforseo_serp_youtube_video_comments_live_advanced
使用 DataForSEO 获取指定 YouTube 视频的实时评论,支持按地点、语言和设备类型进行筛选。
2.4积分/次起
价格说明
2.4积分/次起
| 条件 | 费用 |
|---|---|
| 每20条请求抓取深度 | 2.4积分 |
按请求的评论抓取深度计费,不足一档按一档计算。
起价适用于首档请求深度,未填写时采用默认深度。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
tasks | array | 是 | 暂无参数说明。 | — |
tasks[].os | string | null | 否 | 暂无参数说明。 | — |
tasks[].tag | string | null | 否 | 暂无参数说明。 | — |
tasks[].depth | integer | null | 否 | 暂无参数说明。 | — |
tasks[].device | string | null | 否 | 暂无参数说明。 | — |
tasks[].video_id | string | 否 | <em>ID of the video</em><br><strong>required field</strong><br>you can find video ID in the URL or 'youtube_video' item of <a href="/v3/serp/youtube/organic/live/advanced/" rel="noopener noreferrer" target="_blank">YouTube Organic</a> result<br>example:<br><code>vQXvyV0zIP4</code> | — |
tasks[].language_code | string | 否 | <em>search engine language code</em><br><strong>required field if you don't specify</strong> <code>language_name</code><br><strong>if you use this field, you don't need to specify <code>language_name</code></strong><br>you can receive the list of available languages of the search engine with their <code>language_code</code>_by making a separate request to the <code>https://api.dataforseo.com/v3/serp/youtube/languages</code><em><br></em>example:<em><br></em><code class="long-string">en</code>n | — |
tasks[].language_name | string | 否 | <em>full name of search engine language</em><br><strong>required field if you don't specify</strong> <code>language_code</code><br><strong>if you use this field, you don't need to specify <code>language_code</code></strong><br>you can receive the list of available languages of the search engine with their <code>language_name</code> by making a separate request to the <code>https://api.dataforseo.com/v3/serp/youtube/languages</code><br>example:<br><code class="long-string">English</code> | — |
tasks[].location_code | integer | 否 | <em>search engine location code</em><br><strong>required field if you don't specify</strong> <code>location_name</code>_<br><strong>if you use this field, you don't need to specify <code>location_name</code></strong><br>you can receive the list of available locations of the search engines with their <code>location_code</code> by making a separate request to the <code>https://api.dataforseo.com/v3/serp/youtube/locations</code><br>example:<br><code class="long-string">2840</code>n | — |
tasks[].location_name | string | 否 | <em>full name of search engine location</em><br><strong>required field if you don't specify</strong> <code>location_code</code><br><strong>if you use this field, you don't need to specify <code>location_code</code></strong><br>you can receive the list of available locations of the search engine with their <code>location_name</code> by making a separate request to the <code>https://api.dataforseo.com/v3/serp/youtube/locations</code><br>example:<br><code class="long-string">United States</code> | — |
调用示例
复制请求代码,查看对应的返回示例。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dataforseo_serp_youtube_video_comments_live_advanced' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"tasks": [
{
"depth": 40,
"language_code": "en",
"location_code": 2840,
"video_id": "mlaTOq1KI8w"
}
]
}
}'返回示例response.json
{
"cost": 0.004,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.004,
"data": {
"api": "serp",
"depth": 40,
"device": "desktop",
"function": "live",
"language_code": "en",
"location_code": 2840
},
"id": "11060940-2802-0139-0000-7f72b28c29d9",
"path": [
"v3"
],
"result": [
{
"check_url": "https://www.youtube.com/watch?v=mlaTOq1KI8w",
"comments_count": 6,
"datetime": "2026-11-06 09:40:39 +00:00",
"item_types": [
"youtube_comment"
],
"items": [
{}
],
"title": "ULTRAFORMER III HIFU Designing treatment area"
}
],
"result_count": 1
}
],
"tasks_count": 1,
"tasks_error": 0
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。




