POST
网页搜索
最常用/v1/run/google.searchgoogle.search
运行 Google 网页搜索,获取自然搜索结果:标题、链接、摘要和排名位置。
1.9M /月
▲21.9%
99.93%
8015ms p50
4
起价US$0.40/千次请求
Ibex
POST
新闻
/v1/run/google.newsgoogle.news
按关键词搜索 Google 新闻,获取最新文章(标题、来源、链接和发布时间),以干净的 JSON 返回。
141,838 /月
▲227.4%
100.00%
841ms p50
2
起价US$0.99/千次请求
Quokka
POST
AI 模式
/v1/run/google.ai_modegoogle.ai_mode
向 Google AI Mode 提问,获取它生成的附带引用的回答。AI Mode 在搜索时才生成回答,所以对同一提示词重复调用,措辞和引用的来源都可能不同。
46,922 /月
▲2224.2%
98.05%
8072ms p50
2
起价US$2.00/千次请求
Badger
POST
自动补全
/v1/run/google.autocompletegoogle.autocomplete
获取部分查询词的 Google 搜索自动补全建议(关键词灵感)。
33,410 /月
▼19.4%
99.97%
4192ms p50
3
起价US$0.85/千次请求
Ibex
POST
AI 概览
/v1/run/google.ai_overviewgoogle.ai_overview
向 Google 搜索提交一个提示词,获取该次抓取中 Google 生成的 AI 概览,以及 Google 列出的全部来源。Google 每次搜索都会重新生成概览,所以同一提示词可能返回不同的措辞和不同的来源列表。
28,941 /月
▲365.2%
86.41%
16316ms p50
4
起价US$1.50/千次请求
Ibex
POST
Lens
/v1/run/google.lensgoogle.lens
以图搜图:查找与某个图片 URL 相关的网页和视觉匹配结果。
7,416 /月
▲550.7%
100.00%
1944ms p50
2
起价US$0.85/千次请求
Chameleon
POST
图片
/v1/run/google.imagesgoogle.images
运行 Google 图片搜索,获取结构化结果:图片 URL、尺寸、标题和来源页面。
6,039 /月
▲216.3%
99.97%
1406ms p50
2
起价US$0.85/千次请求
Chameleon
POST
趋势
/v1/run/google.trendsgoogle.trends
Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
2,637 /月
▲172.7%
92.05%
4845ms p50
2
起价US$2.00/千次请求
Badger
POST
搜索 100 条
/v1/run/google.search_100google.search_100
Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
2,106 /月
▲87.3%
76.76%
30342ms p50
1
价格US$24.00/千次请求
Owl
POST
学术搜索
/v1/run/google.scholargoogle.scholar
在 Google 学术中搜索学术论文,返回标题、作者、引用次数和 PDF 链接。
1,826 /月
▲434.1%
99.78%
6711ms p50
2
起价US$0.85/千次请求
Chameleon
POST
专利
/v1/run/google.patentsgoogle.patents
搜索 Google 专利,返回标题、专利号、发明人、受让人、关键日期和 PDF 链接。
1,436 /月
▲2740%
97.70%
6191ms p50
2
起价US$0.85/千次请求
Chameleon
POST
Ai overview preview
/v1/run/google.ai_overview_previewgoogle.ai_overview_preview
Ask Google Search a prompt and receive the AI Overview as a searcher first sees it, before selecting Show more: the opening text and the sources linked inside it. When Google shows the whole overview without a Show more button, that is what you receive. For the complete expanded overview with every source Google listed, use google.ai_overview.
754 /月
▲3160.9%
93.50%
10244ms p50
1
价格US$0.70/千次请求
Chameleon
POST
职位
/v1/run/google.jobsgoogle.jobs
Search Google Jobs, the job listings Google gathers from LinkedIn, Indeed, ZipRecruiter, company career sites and other boards, and get about 10 listings per call: title, company, location, the site it was found on, the full description, apply links on every board that carries it, and the posting details Google shows (posted, pay, job type, benefits). Each listing carries a listingToken you can pass to google.job for employer ratings. Send nextCursor back as cursor to walk further pages.
612 /月
▲61000%
93.92%
7110ms p50
1
价格US$0.85/千次请求
Chameleon
POST
Local services
/v1/run/google.local_servicesgoogle.local_services
Find the businesses Google lists in Local Services ads for a service in a US city (plumbers, electricians, cleaners...): up to 20 per request, each with phone, star rating, review count, category, service area and Google profile link.
53 /月
▲5100%
100.00%
7449ms p50
2
起价US$0.85/千次请求
Chameleon
POST
视频
/v1/run/google.videosgoogle.videos
在 Google 中搜索视频结果(YouTube 及其他平台),返回标题、链接、缩略图和来源。
50 /月
▲250%
100.00%
7136ms p50
2
起价US$0.85/千次请求
Chameleon
POST
职位
/v1/run/google.jobgoogle.job
Fetch one Google Jobs listing by the listingToken that google.jobs returns: title, company, location, the site it was found on, the full description, apply links on every board that carries it, the posting details Google shows (posted, pay, job type, benefits), and the employer's ratings on review sites such as Glassdoor and Indeed when Google shows them.
27 /月
▲2500%
100.00%
6461ms p50
1
价格US$0.85/千次请求
Chameleon
POST
Resolve links
/v1/run/google.resolve_linksgoogle.resolve_links
Turn Google redirect links (google.com/goto?url=...) into the destination URLs they point to. Google search, video, jobs and AI Overview results carry such a link in place of the destination when Google withholds it. Send up to 100 links in one call and get each one back in the order sent, with its destination, or resolved false when Google would not reveal it. One price per call whatever the number of links; a call usually answers in under 30 seconds and can take about a minute.
9 /月
100.00%
370ms p50
3
起价US$0.09/千次请求
Meerkat
关于 Google API
每个服务商对每个接口单独定价,所以表格显示的是每个接口的最低价。打开任一接口即可比较所有服务商。
调用 Google API
基础 URL
https://api.getanyapi.com认证请求头
Authorization: Bearer $ANYAPI_KEY示例请求:网页搜索
curl -X POST https://api.getanyapi.com/v1/run/google.search \ -H "Authorization: Bearer $ANYAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"best coffee maker","gl":"us","hl":"en","limit":10,"page":1}'
实测性能
Google API 的真实表现
过去 30 天经由 AnyAPI 的每一次调用,都在这里如实统计,而不是空口承诺。
99.7%
的调用成功(2,189,010 次调用)
首选线路成功 93.7%自动切换后恢复 5.9%失败 0.3%
响应时间估算(2,181,966 次调用,跨接口汇总)
- p50 加权估算
- 7.6s
- 各接口 p50 按请求量加权的平均值,并非合并计算的请求百分位数
- p99 加权估算
- 31.3s
- 各接口 p99 按请求量加权的平均值,并非合并计算的请求百分位数
常见问题
关于 Google API
AnyAPI 的 Google API 以统一格式的 JSON 返回 Google 数据,共 17 个接口:网页搜索、ai 模式、ai 概览、ai overview preview、自动补全、图片、职位、职位、lens、local services、新闻、专利、resolve links、学术搜索、搜索 100 条、趋势和视频。每项任务调用一个接口,只需一个密钥,AnyAPI 会在 10 个数据源之间路由每个请求,某个数据源失败时自动切换。价格以美元计,每千次请求 US$0.09 起(最便宜的接口),无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Google API 调用中有 99.7% 成功,按请求加权的响应时间中位数为 7.6 秒,共测量 2,189,010 次调用。
价格以美元计,每千次请求 US$0.09 起(最便宜的接口),无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。
17 个接口:网页搜索、ai 模式、ai 概览、ai overview preview、自动补全、图片、职位、职位、lens、local services、新闻、专利、resolve links、学术搜索、搜索 100 条、趋势和视频。每个接口使用相同的认证方式,返回相同的统一响应结构,所以调用另一个 Google 接口只需换一个 URL,别的都不用改。
过去 30 天,通过 AnyAPI 发起的 Google API 调用中有 99.7% 成功,按请求加权的响应时间中位数为 7.6 秒,共测量 2,189,010 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。