Skip to content
登录 注册

Google SERP API

每个 Google 界面都只需一个端点即可访问。更改 engine 参数即可在 Search、Maps、Jobs、Shopping、Trends、Scholar 等之间切换。

GET https://serp.shifter.io/v1?engine=<engine>&api_key=YOUR_API_KEY

将您的 API 密钥作为 api_key 查询参数传递。密钥位于面板SERP API 下。

这些参数适用于大多数 Google 引擎。每个引擎还有其各自的特定参数,记录在其对应页面中。

ParameterTypeRequiredDescription
api_keystringyes您的 SERP API 密钥
enginestringyes使用哪个 Google 界面(见下表)
qstringusually搜索查询(某些照片/作者端点不需要)
locationstringno自由格式的位置(例如 "Chicago, Illinois"
glISO codeno国家过滤器(例如 usde
hlISO codeno界面语言(例如 enes
devicedesktop | mobile | tabletno模拟设备
startintegerno分页偏移量
numintegerno每页结果数
engine返回内容
google包含广告、摘要、PAA、知识图谱的自然搜索结果页
google_autocomplete部分查询的建议
google_images图片搜索结果页
google_news带日期和来源的新闻
google_shopping商品列表
google_product单个商品详情
google_mapsMaps 上的地点、评论、照片
google_maps_reviews某地点的所有评论
google_maps_photos某地点的所有照片
google_jobs职位列表
google_jobs_listing单个职位详情
google_trends兴趣随时间变化的趋势
google_scholar学术论文
google_scholar_author作者简介
google_scholar_cite格式化的引用
google_scholar_profiles作者发现
google_finance股票和市场数据
google_events本地活动
google_playPlay 商店应用、图书、电影
google_reverse_image托管某图片的网页
google_local_services本地服务提供商