YouTube Organic Live
POST
/v3/serp/youtube/organic/live/advanced实时获取 YouTube 视频搜索结果,含视频标题、频道、观看量、时长等。适用于视频 SEO 与竞品频道分析。
参考价:约 ¥0.0320 / 次(实际以请求返回为准)
请求体
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| keyword | string | 是 | 搜索关键词 |
| location_code | integer | 是 | 地理位置代码 |
| language_code | string | 是 | 语言代码 |
| depth | integer | 否 | 返回条数,默认 100 |
请求示例
curl
curl -X POST "https://api.seermartech.cn/v3/serp/youtube/organic/live/advanced" \
-H "Authorization: Bearer smt_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '[{"keyword": "seo tutorial", "location_code": 2840, "language_code": "en"}]'Python
import requests
resp = requests.post(
"https://api.seermartech.cn/v3/serp/youtube/organic/live/advanced",
headers={"Authorization": "Bearer smt_live_YOUR_KEY"},
json=[{"keyword": "seo tutorial", "location_code": 2840, "language_code": "en"}],
timeout=60,
)
for item in resp.json()["tasks"][0]["result"][0]["items"][:5]:
print(item.get("title"), item.get("url"))TypeScript
const resp = await fetch(
"https://api.seermartech.cn/v3/serp/youtube/organic/live/advanced",
{
method: "POST",
headers: {
Authorization: "Bearer smt_live_YOUR_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify([{ keyword: "seo tutorial", location_code: 2840, language_code: "en" }]),
}
);
const data = await resp.json();
console.log(data.tasks[0].result[0].items.slice(0, 5));业务场景
- 视频关键词排名监控
- 发现高播放竞品视频选题