SeerMarTech 文档控制台

AI 关键词数据 Live

POST/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live

查询关键词在 AI 搜索场景下的搜索量数据,区别于传统搜索引擎搜索量。

参考价:¥1.2000 / 次(实际以请求返回为准)

请求体

参数类型必填说明
keywordsarray关键词列表(最多约 1000 个)
location_codeinteger地区代码
language_codestring语言代码

请求示例

curl

curl -X POST "https://api.seermartech.cn/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live" \ -H "Authorization: Bearer smt_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '[{"keywords": ["seo api", "keyword research tool"], "location_code": 2840, "language_code": "en"}]'

Python

import requests resp = requests.post( "https://api.seermartech.cn/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live", headers={"Authorization": "Bearer smt_live_YOUR_KEY"}, json=[{ "keywords": ["seo api", "keyword research tool"], "location_code": 2840, "language_code": "en", }], timeout=60, ) for item in resp.json()["tasks"][0]["result"][0]["items"]: print(item.get("keyword"), item.get("ai_search_volume"))

TypeScript

const resp = await fetch( "https://api.seermartech.cn/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live", { method: "POST", headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json", }, body: JSON.stringify([{ keywords: ["seo api", "keyword research tool"], location_code: 2840, language_code: "en", }]), } ); console.log((await resp.json()).tasks[0].result[0].items);

业务场景