Google Question Search
Google Question Search 用于获取 Google 相关问题推荐数据。
- 按关键词批量获取相关问题词
- 支持按地区切换结果环境
- 返回关键词与问题列表的映射结构
- 适合做选题扩展、问题挖掘和长尾词整理
使用 XCrawl 获取 Google 相关问题
使用方式
curl -s -X POST 'https://run.xcrawl.com/v1/data' \
-H 'Authorization: Bearer $XCRAWL_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"engine": "google_question_search",
"location": "US",
"keyword_list": ["food", "fish"]
}'请求参数说明:
engine固定为google_question_searchlocation用于指定结果地区keyword_list用于传入一个或多个关键词
响应示例
{
"result": [
{
"food": [
{
"word": "Food near me",
"word_link": "https://www.google.com/search?q=Food+near+me"
}
]
},
{
"fish": [
{
"word": "Fish price",
"word_link": "https://www.google.com/search?q=Fish+price"
}
]
}
]
}参数说明
必填参数
| 参数 | 类型 | 说明 |
|---|---|---|
location | string | 指定结果地区。 |
keyword_list | array | 传入一个或多个关键词。 |
参数补充说明
location默认值为USkeyword_list中的每个元素都会返回一组对应的问题推荐
响应字段
响应数据位于 result[],每个元素都是一个“关键词 -> 相关问题列表”的映射对象。
| 字段 | 类型 | 说明 |
|---|---|---|
{keyword} | array | 当前关键词对应的相关问题列表。 |
问题字段
{keyword}[] 中每个元素包含以下字段:
| 字段 | 类型 | 说明 |
|---|---|---|
word | string | 相关问题或补全词。 |
word_link | string | 对应的 Google 搜索链接。 |
