Google 搜索快速且完整的结果 API

API ID 15331

Google 搜索快速完整结果是一个容器化微服务,提供高性能 REST API,用于提取完整的 Google SERP(搜索引擎结果页面)布局:自然排名

API 文档

端点

请求
GOOGLE SEARCH FAST & COMPLETE RESULT API - 服务概览 什么是 GOOGLE SEARCH FAST & COMPLETE RESULT API Google Search Fast & Complete Result 是一种高性能 REST 微服务,可即时提取实时 Google 搜索引擎结果页面(SERP)。它以简洁的 JSON 格式提取完整的 SERP 布局,包括自然排名、知识图谱、热门新闻、用户也会询问的问题、赞助广告、视频结果和相关搜索,无需浏览器渲染开销 主要功能 - 实时 SERP 提取:自然排名、标题、链接、摘要、站点链接和富摘要 - 全面的 SERP 元素:知识图谱、用户也会询问的问题、热门新闻、视频和讨论 - 智能自动分页:获取连续页面(max_page)或指定单个页面(page_start) - 设备与地理位置:模拟桌面端或移动端布局、国家域名(gl)和语言(hl) - 细粒度搜索过滤:语言限制(lr)、国家限制(cr)、安全搜索(safe)、拼写检查开关(nfpr)和时间范围(time_period) - 简洁输出:包含 count、results 和 success 的标准化根级负载;移除分页包装 API 端点 - POST /search:接受 JSON 配置负载的主要搜索端点 - GET /health:健康检查端点(返回 {"status": "ok"}) 输入参数(POST /search) 必填 - q(字符串):搜索查询关键词或短语(例如 "artificial intelligence") 分页(互斥) - max_page(整数,可选):从第 1 页开始获取的最大连续页面数(例如 3) - page_start(整数,可选):要获取的单个特定页面编号(例如 2) (如果两者均未指定,则默认为第 1 页) 设备与本地化 - device(字符串,可选,默认值:"desktop"):"desktop" 或 "mobile" - hl(字符串,可选,默认值:"en"):Google 界面语言(例如 "en"、"it"、"de") - gl(字符串,可选,默认值:"us"):地理位置国家代码(例如 "us"、"it"、"gb") - google_domain(字符串,可选,默认值:"google.com"):Google 域名(例如 "google.it") - location(字符串,可选):城市或地区限制(例如 "New York,New York,United States") 搜索与内容过滤器 - include_html(布尔值,可选,默认值:false):包含原始 HTML 字符串 - lr(字符串,可选):语言限制(例如 "lang_it"、"lang_en") - cr(字符串,可选):国家限制(例如 "countryIT"、"countryUS") - safe(字符串,可选):安全搜索级别:"active" 或 "off" - nfpr(布尔值,可选,默认值:false):禁用拼写自动纠正 - filter(字符串,可选):"0" 显示被省略的重复结果 - time_period(字符串,可选):"last_hour"、"last_day"、"last_week"、"last_month"、"last_year" 输出结构 API 返回一个仅包含三个根字段的简洁 JSON 对象 - count(整数):results 数组中返回的结果页面总数 - results(数组):项目列表,每个项目包含一个 "search_page" 对象 - number(整数):页面编号 - search_parameters(对象):所应用参数的回显 - search_information(对象):结果总数、耗时、显示的查询、国家和城市 - organic_results(数组):排名靠前的网页结果(position、title、link、snippet、source) - knowledge_graph(对象或 null):实体面板(title、type、description、facts、profiles) - top_stories(数组):热门新闻文章和报道 - related_questions(数组):"用户也会询问的问题" - related_searches(数组):建议的相关搜索查询 - top_ads / bottom_ads(数组):赞助广告 - video_results(数组):视频链接、来源和时长 - success(布尔值):执行成功时为 true 示例 JSON 请求(POST /search) { "q": "artificial intelligence", "max_page": 1, "hl": "en", "gl": "us", "device": "desktop" } 示例 JSON 响应(200 OK) { "count": 1, "results": [ { "search_page": { "number": 1, "search_parameters": { "q": "artificial intelligence", "hl": "en", "gl": "us", "device": "desktop" }, "search_information": { "page_title": "artificial intelligence - Google Search", "query_displayed": "artificial intelligence", "total_results": 2450000000, "time_taken_displayed": 0.42 }, "organic_results": [ { "position": 1, "title": "Artificial intelligence - Wikipedia", "link": "https://en.wikipedia.org/wiki/Artificial_intelligence", "snippet": "Artificial intelligence is intelligence demonstrated by machines...", "source": "Wikipedia" } ], "top_stories": [], "related_questions": [], "related_searches": [] } } ], "success": true }
Endpoint ID: 40950
POST https://zylalabs.com/api/15331/google+search+fast+and+complete+result+api/40950/execute+google+search
输入参数

执行 Google 搜索 — 端点功能

对象 描述
请求体 必需 Json

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "count": 1,
    "results": [
        {
            "search_page": {
                "ai_overview": {
                    "references": [
                        {
                            "link": "https://www.reddit.com/r/ArtificialInteligence/comments/1ukh3xj/whats_the_ai_breakthrough_that_everyone_is/",
                            "snippet": "Diffusion LLMs: Diffusion LLMs are a significant advancement in AI, using a discrete diffusion architecture that allows for iterat...",
                            "source": "Reddit",
                            "title": "What's the AI breakthrough that everyone is waiting for, but ... - Reddit"
                        },
                        {
                            "link": "https://hai.stanford.edu/news/how-ai-is-transforming-scientific-discovery-while-keeping-humans-at-the-center",
                            "snippet": "In fields like Earth and climate science, AI is replacing computationally expensive numerical simulations with high-speed emulator...",
                            "source": "Stanford HAI",
                            "title": "How AI is Transforming Scientific Discovery While Keeping Humans ..."
                        },
                        {
                            "link": "https://openai.com/index/research-acceleration-jagged-frontier/",
                            "snippet": "Over the course of this year, AI systems have become increasingly capable, potentially increasing their ability to contribute to A...",
                            "source": "OpenAI",
                            "title": "Research acceleration: The jagged frontier - OpenAI"
                        },
                        {
                            "link": "https://www.youtube.com/watch?v=WoMitMc895A&t=140",
                            "snippet": "Top 15 New AI and Quantum Computing Breakthroughs of 2026 yet the most shocking development wasn't the sophistication of these sys...",
                            "source": "YouTube",
                            "title": "Top 15 New AI and Quantum Computing Breakthroughs of 2026"
                        },
                        {
                            "link": "https://en.wikipedia.org/wiki/AI_boom",
                            "snippet": "Key advances preceding the boom include the transformer (2017), generative pre-trained transformer (2018) and reinforcement learni...",
                            "source": "Wikipedia",
                            "title": "AI boom - Wikipedia"
                        },
                        {
                            "link": "https://medium.com/no-time/17-recent-ai-breakthroughs-everyone-should-know-about-e6a3a2f15d31",
                            "snippet": "A place to share stories about life, ideas, experiences, and the little things that matter. * Latest AI breakthroughs 2026 | New A...",
                            "source": "Medium",
                            "title": "17 Recent AI Breakthroughs Everyone Should Know About | by Pranit naik | No Time | Jul, 2026 | Medium"
                        },
                        {
                            "link": "https://www.cbsnews.com/news/anthropic-drug-discovery-claude-science-ipo/",
                            "snippet": "Megan Cerullo is a New York-based reporter for CBS MoneyWatch covering small business, workplace, health care, consumer spending a...",
                            "source": "CBS News",
                            "title": "Anthropic is betting AI can help conquer disease and generate big bucks in the bargain"
                        },
                        {
                            "link": "https://www.youtube.com/watch?v=SCLHfhu5ZmM&vl=en",
                            "snippet": "these are the 15 new discoveries. made by AI. 15 crisper guides optimized AI crisper lets scientists edit DNA but the scary part h...",
                            "source": "YouTube",
                            "title": "Top 15 New Discoveries MADE By AI (2026)"
                        }
                    ],
                    "state": "complete",
                    "text_blocks": [
                        {
                            "reference_indexes": [
                                0,
                                1,
                                2
                            ],
                            "snippet": "Recent AI breakthroughs span autonomous research agents, scientific discovery, and new model architectures.",
                            "type": "paragraph"
                        },
                        {
                            "snippet": "Autonomous Agents & Model Architectures",
                            "type": "heading"
                        },
                        {
                            "list": [
                                {
                                    "snippet": "Long-horizon coding and research agents: Coding and research agents increasingly complete multi-hour technical tasks independently, with internal benchmarks showing rising success rates across workflows like monitoring and launching training runs."
                                },
                                {
                                    "snippet": "Diffusion LLMs: Most users on r/ArtificialInteligence agree that discrete diffusion language models are a notable architectural advance, using iterative token-block refinement to cut compounding hallucinations.",
                                    "snippet_links": [
                                        {
                                            "link": "https://www.reddit.com/r/ArtificialInteligence/comments/1ukh3xj/whats_the_ai_breakthrough_that_everyone_is/",
                                            "text": "r/ArtificialInteligence"
                                        }
                                    ]
                                },
                                {
                                    "snippet": "Reasoning and efficiency: Reinforcement learning methods, open-weights releases, and non-Nvidia hardware training runs continue to lower costs and expand reasoning capabilities."
                                }
                            ],
                            "reference_indexes": [
                                3,
                                4,
                                5
                            ],
                            "type": "list"
                        },
                        {
                            "snippet": "Science, Medicine & Climate",
                            "type": "heading"
                        },
                        {
                            "list": [
                                {
                                    "snippet": "Biology and drug discovery: AI models are accelerating protein and molecular design, generating new antibody and antibiotic candidates, and modeling DNA and cellular interactions."
                                },
                                {
                                    "snippet": "Climate and materials: Fast AI emulators speed up ocean and climate simulations, while AI-guided materials screening helps identify lower-emission alternatives such as reduced-carbon cement formulations."
                                }
                            ],
                            "reference_indexes": [
                                6,
                                7
                            ],
                            "type": "list"
                        },
                        {
                            "snippet": "This video covers recent AI breakthroughs across reasoning models, scientific discoveries, and computing:",
                            "type": "paragraph"
                        },
                        {
                            "snippet": "Which area would you like to explore further: autonomous AI agents, AI in science and medicine, or new model architectures?",
                            "type": "paragraph"
                        }
                    ]
                },
                "bottom_ads": [],
                "discussions_and_forums": [],
                "knowledge_graph": null,
                "local_map": null,
                "local_results": null,
                "navigation": [
                    {
                        "title": "AI Mode",
                        "url": "https://google.com/search?q=artificial+intelligence+breakthroughs&sca_esv=1a183d7282c5c724&hl=en&gl=us&sxsrf=AKL5yDigEqUZJ6XNKHP5rKnMgpTkCXSuQw:1795438273446&udm=50&fbs=ACAhTvwdifjn2dKXmjtOfBxVFl_koHVe5RLSnJlTH2QYaq_YVdLmrLcUHX_SwxOCJnubtIJF2FutH3YuXOy9ohonzbybBZOvQZQMMGr0nkjfnWehCAWfPeSP3EGPvLoMF6RWAYvxlkEFnEukJe2nYw093tXbjlnyXVHUDRPvqRI10LbJ3BNry4C-AZohjx3EfbUJl8_LqGTPUiXkcoCMBGj7i_SJ7SwvEg&vsint=&aep=1&ntc=1&cs=1&sa=X&ved=2ahUKEwjPhITkkJ6YAxWwrSsGHWyUIUcQ2J8OegQIGxAD"
                    },
                    {
                        "title": "Images",
                        "url": "https://google.com/search?sca_esv=1a183d7282c5c724&hl=en&gl=us&sxsrf=AKL5yDigEqUZJ6XNKHP5rKnMgpTkCXSuQw:1795438273446&udm=2&fbs=ACAhTvwdifjn2dKXmjtOfBxVFl_koHVe5RLSnJlTH2QYaq_YVdLmrLcUHX_SwxOCJnubtIJF2FutH3YuXOy9ohonzbybBZOvQZQMMGr0nkjfnWehCAWfPeSP3EGPvLoMF6RWAYvxlkEFnEukJe2nYw093tXbjlnyXVHUDRPvqRI10LbJ3BNry4C-AZohjx3EfbUJl8_LqGTPUiXkcoCMBGj7i_SJ7SwvEg&q=artificial+intelligence+breakthroughs&sa=X&ved=2ahUKEwjPhITkkJ6YAxWwrSsGHWyUIUcQtKgLegQIIRAB"
                    },
                    {
                        "title": "Videos"
                    }
                ]
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
执行 Google 搜索 — 代码片段

curl --location --request POST 'https://zylalabs.com/api/15331/google+search+fast+and+complete+result+api/40950/execute+google+search' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{"q":"artificial intelligence breakthroughs","max_page":1,"hl":"en","gl":"us"}'

    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Google 搜索快速且完整的结果 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

**Google Search Fast & Complete Result** 是一款容器化微服务,提供高性能 REST API,用于提取完整的 Google SERP(搜索引擎结果页面)布局:自然搜索排名、知识图谱、精选摘要、其他人还在问、相关搜索和新闻模块 ### 功能 - **完整覆盖 SERP**:提取自然搜索排名、摘要、站点链接、知识图谱实体和头条新闻 - **多页分页**:按顺序提取页面(`max_page`)或检索指定的单页(`page_start`) - **设备和地理位置模拟**:桌面与移动设备用户代理渲染、本地化国家域名(`gl`)和语言(`hl`) - **精细搜索过滤器**:安全搜索开关、语言限制(`lr`)、国家限制(`cr`)和时间范围(`time_period`) ### 访问 可通过 Nginx 反向代理在 `/google-search-fast-complete-result` 下访问,也可直接通过端口 `5010` 访问

Google 搜索快速且完整的结果 API FAQs

它返回一个包含 Google 搜索结果页面的 JSON 对象 每个页面可以包含自然搜索结果 知识图谱 AI 概览引用 热门新闻 相关问题 相关搜索 广告 视频结果 搜索元数据以及请求所使用的参数

响应包含三个根字段:`count`、`results` 和 `success`。`results` 包含带有 `search_page` 对象的条目。每个搜索页面都包含页码、搜索参数、搜索信息以及可用的 SERP 元素数组或对象

自然搜索结果通常包含 `position`、`title`、`link`、`snippet` 和 `source`。这些字段分别标识排名、页面标题、目标网址、描述性文本和来源网站,使数据适用于排名分析和结果提取

使用 `max_page` 获取从第 1 页开始的连续页面,或使用 `page_start` 请求某个特定页面。这两种分页选项不能同时使用。如果两者都未提供,API 将返回第 1 页 彩神

将 `device` 设置为 `desktop` 或 `mobile`,并使用 `hl`、`gl`、`google_domain` 或 `location` 设置语言、国家、域名和区域背景。可使用 `lr`、`cr`、`safe`、`nfpr`、`filter` 和 `time_period` 筛选内容。

SERP 功能取决于查询内容。不可用的功能可能显示为空数组,例如 `top_stories: []` 或 `related_questions: []`,而基于对象的字段(如 `knowledge_graph`)则可能为 `null`。请检查字段是否存在及其内容,不要假设每项功能都存在。

是的。在请求中将 `include_html` 设为 `true`,即可在页面数据中包含原始 HTML 字符串。默认情况下,`include_html` 为 `false`,因此使用者收到的是结构化的 SERP 字段,而不包含原始标记】【。

应用可以利用自然排名进行排名分析,利用摘要和链接构建搜索数据集,利用知识图谱提取实体,利用相关问题开展内容研究,利用广告分析赞助结果,并利用本地化字段比较不同设备、语言和地区的搜索结果页 (SERP)_RGCTX

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API