获取搜索引擎结果页面数据 API

获取可行的搜索引擎结果页面智能数据,以提升您的搜索引擎优化工作并有效引导目标流量
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

Fetch SERP数据API是一个强大的工具,旨在让您全面了解任何关键词在Google搜索结果中的排名。通过提交一个简单的关键词,该API返回前99个自然结果的详细分析,包括每个链接的确切排名、标题、描述、URL,以及关键指标如域名权威和页面权威。此外,它还显示特定域名的排名(如果出现在SERP中),这对于跟踪竞争网站或您自己网站的表现至关重要。

该API非常适合SEO机构、流量分析平台、数字营销专家和监测工具开发者。您可以将其集成到仪表板中,进行自动排名审核或生成自定义报告。

API 文档

端点


要使用此端点,您必须在参数中指定一个关键字


                                                                            
POST https://www.zylalabs.com/api/8458/fetch+serp+data+api/14825/keyword+results
                                                                            
                                                                        

关键词结果 - 端点功能

对象 描述
keyword [必需] Enter a keyword
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"status":"success","data":{"message":"The domain google.com  did not appear in the top 97 search results.","rank":null,"SERP":[{"rank":1,"title":"iPhone - Apple","link":"https:\/\/www.apple.com\/iphone\/","description":"Designed for Apple Intelligence. Discover the iPhone 16e along with iPhone 16 Pro, iPhone 16, and iPhone 15.","domain authority":100,"page authority":29},{"rank":2,"title":"Apple","link":"https:\/\/www.apple.com\/","description":"Discover the innovative world of Apple and shop everything iPhone, iPad, Apple Watch, Mac, and Apple TV, plus explore accessories, entertainment,\u00a0...","domain authority":100,"page authority":29},{"rank":3,"title":"iPhone - Wikipedia","link":"https:\/\/en.wikipedia.org\/wiki\/IPhone","description":"The iPhone is a line of smartphones developed and marketed by Apple that run iOS, the company's own mobile operating system. The first-generation iPhone was\u00a0...","domain authority":100,"page authority":49},{"rank":4,"title":"All iPhone - Best Buy","link":"https:\/\/www.bestbuy.com\/site\/iphone\/all-iphone\/pcmcat1683750935583.c?id=pcmcat1683750935583","description":"Best Buy offers various iPhones, including pre-owned models like iPhone 15, 12 Pro, and SE, and new models like iPhone 14, and refurbished options.","domain authority":90,"page authority":23},{"rank":5,"title":"r\/iPhone - Reddit","link":"https:\/\/www.reddit.com\/r\/iphone\/","description":"r\/iphone: Reddit's little corner for iPhone lovers (and some people who just mildly enjoy it\u2026)","domain authority":98,"page authority":28},{"rank":6,"title":"Apple iPhone - Walmart.com","link":"https:\/\/www.walmart.com\/browse\/cell-phones\/apple-iphone\/1105910_7551331_1127173","description":"Straight Talk Apple iPhone 16 Pro Max, 256GB, Natural Titanium - Prepaid Smartphone [Locked to Straight Talk]. 564.6 out of 5 Stars. 56 reviews. Save with.","domain authority":94,"page authority":28},{"rank":7,"title":"Update your iPhone or iPad - Apple Support","link":"https:\/\/support.apple.com\/en-us\/118575","description":"You can update your iPhone or iPad to the latest version of iOS or iPadOS wirelessly. If the update doesn't appear on your device, use your computer to update\u00a0...","domain authority":100,"page authority":29},{"rank":8,"title":"iPhone 17 Pro Max Battery Capacity Leaked (~5000mAh) - Reddit","link":"https:\/\/www.reddit.com\/r\/apple\/comments\/1lqoufq\/iphone_17_pro_max_battery_capacity_leaked_5000mah\/","description":"There are so many variables aside from the obvious being total use. How far do you discharge? What type of charging do you use?","domain authority":98,"page authority":28},{"rank":9,"title":"How to recover deleted photos on iPhone or iPad | Apple Support","link":"https:\/\/www.youtube.com\/watch?v=TxVC0xfLucc","description":"When you delete photos or videos in the Photos app, you can recover them from the Recently Deleted album within 30 days.","domain authority":100,"page authority":30},{"rank":10,"title":"New Apple iPhones & Accessories - Best Buy","link":"https:\/\/www.bestbuy.com\/site\/mobile-cell-phones\/iphone\/pcmcat305200050000.c?id=pcmcat305200050000","description":"There are notable upgrades with every new Apple iPhone generation, such as improvements in the display and storage space as well as constant advancements in\u00a0...","domain authority":90,"page authority":35},{"rank":11,"title":"iCloud","link":"https:\/\/www.icloud.com\/","description":"At iCloud.com, you can access your photos, files, and more from any web browser. Changes you make will sync to your iPhone and other devices.","domain authority":91,"page authority":73},{"rank":12,"title":"iPhone 17 Pro Max battery capacity might have just leaked - 9to5Mac","link":"https:\/\/9to5mac.com\/2025\/07\/03\/iphone-17-pro-max-battery-capacity-might-have-just-leaked\/","description":"iPhone 17 Pro Max has long been rumored to get thicker to make room for a bigger battery, and now that battery capacity might have leaked.","domain authority":90,"page authority":21},{"rank":13,"title":"Apple's New Releases, iPhone 17 Details, iOS 26 Beta 3 Soon","link":"https:\/\/www.youtube.com\/watch?v=SsFuLoDs-I8","description":"Apple Releasing Soon, iPhone Fold, and iOS 26 Beta 3 Soon - iOS 26 Beta 3 is coming soon which means iOS 26 Public Beta is soon as well.","domain authority":100,"page authority":30},{"rank":14,"title":"OS - iOS 26 - Apple","link":"https:\/\/www.apple.com\/os\/ios\/","description":"iOS 26 for iPhone with a new design, more helpful Apple Intelligence, polls and backgrounds in Messages, and features that make every day effortless.","domain authority":100,"page authority":29},{"rank":15,"title":"Apple iPhone: Shop Apple Smartphones | Verizon","link":"https:\/\/www.verizon.com\/smartphones\/apple\/","description":"Verizon offers the latest iPhone 16 series, with new features, and options from certified pre-owned to best deals, with 5G compatibility.","domain authority":93,"page authority":32},{"rank":16,"title":"Speed Up Your iPhone and Clear Your Cache Before iOS 26 Drops","link":"https:\/\/www.cnet.com\/tech\/services-and-software\/speedup-your-iphone-and-clear-your-cache-before-ios-26-drops\/","description":"Speed Up Your iPhone and Clear Your Cache Before iOS 26 Drops. Your iPhone will run faster and smoother with a little digital maintenance.","domain authority":95,"page authority":25},{"rank":17,"title":"30  GREAT iPhone Apps for Summer 2025 - YouTube","link":"https:\/\/www.youtube.com\/watch?v=RQg-2tbCFqY","description":"Discover 30  incredible iPhone apps perfect for summer\u2014from weather and travel to photography, gaming, mindfulness, and productivity!","domain authority":100,"page authority":30},{"rank":18,"title":"iOS 26 has an awesome Wi-Fi upgrade for your iPhone | Tom's Guide","link":"https:\/\/www.tomsguide.com\/phones\/ios-26-has-an-awesome-wi-fi-upgrade-for-your-iphone","description":"A small but mighty feature coming to iOS 26 is that the sign-in details for captive Wi-Fi networks are now synced across iPhones and iPads\u00a0...","domain authority":90,"page authority":21},{"rank":19,"title":"Major iPhone 2025 battery capacity leak will have you drooling over ...","link":"https:\/\/www.phonearena.com\/news\/iphone-17-pro-max-battery-capacity-leaks_id171959","description":"A 5000 mAh battery powering the iPhone 17 Pro Max would result in a 7% hike in battery capacity for the most premium of all 2025 iPhone models.","domain authority":88,"page authority":20},{"rank":20,"title":"Experience the world's first iPhone haptic trailer on the Apple TV  ...","link":"https:\/\/www.youtube.com\/shorts\/5C-oQcDvpTc","description":"F1TheMovie is now playing in theaters https:\/\/apple.co\/_F1 From Apple Original Films and the filmmakers from Top Gun: Maverick comes the\u00a0...","domain authority":100,"page authority":30},{"rank":21,"title":"5 reasons to skip buying a new iPhone 17 this year | Macworld","link":"https:\/\/www.macworld.com\/article\/2835386\/5-reasons-to-skip-buying-a-new-iphone-17-this-year.html","description":"5 reasons to skip buying a new iPhone 17 this year. Forget the overhauled camera bump\u2014much bigger changes are coming next year. Mahmoud Itani.","domain authority":90,"page authority":21},{"rank":22,"title":"Thumbnail Support and Viewing HEIC files from iPhone 15 Pro Max","link":"https:\/\/askubuntu.com\/questions\/1552295\/thumbnail-support-and-viewing-heic-files-from-iphone-15-pro-max","description":"The thumbnails do not display for the heic files from my iphone 15 pro max. The only application I have found that will open these files is\u00a0...","domain authority":89,"page authority":21},{"rank":23,"title":"iPhone 20 XX - Major LEAKS & RUMORS! - YouTube","link":"https:\/\/www.youtube.com\/watch?v=7sMzpyvJQLg","description":"When they leak stuff like this, it makes the upcoming phones look less exciting. I end up thinking, 'Why upgrade to the next iPhone if I can\u00a0...","domain authority":100,"page authority":30},{"rank":24,"title":"iPhone 16 Pro Max vs Galaxy S25 Ultra - Which Is Aging Better?","link":"https:\/\/www.youtube.com\/watch?v=kWpWRE_Gadw","description":"iPhone 16 Pro Max vs Galaxy S25 Ultra - Which Is Aging Better? It's been almost a year since the iPhone 16 Pro Max launched with the Galaxy\u00a0...","domain authority":100,"page authority":30},{"rank":25,"title":"iPhone | Pro, Plus, Max - AppleInsider","link":"https:\/\/appleinsider.com\/inside\/iphone","description":"The iPhone is known as the most successful consumer-electronic device in history. Not only did it revolutionize the market, but it also changed the way people\u00a0...","domain authority":90,"page authority":37},{"rank":26,"title":"Libby, the library app - App Store","link":"https:\/\/apps.apple.com\/us\/app\/libby-the-library-app\/id1076402606","description":"Free audiobooks, ebooks, and magazines from your local library! Borrow bestsellers and read anytime, anywhere.","domain authority":100,"page authority":29},{"rank":27,"title":"Apple iPhone Sales Grow in China for First Time Since 2023 on ...","link":"https:\/\/www.investopedia.com\/apple-iphone-sales-grow-in-china-for-first-time-since-2023-on-promotions-11766036","description":"Apple iPhone sales in China rose 8% year-over-year in the second quarter, the first period of quarterly growth in the country since 2023.","domain authority":95,"page authority":25},{"rank":28,"title":"Apple iOS 26: All the latest features for iPhone's new operating ...","link":"https:\/\/www.engadget.com\/mobile\/apple-ios-26-all-the-latest-features-for-iphones-new-operating-system-including-facetime-updates-135749454.html","description":"Apple iOS 26: All the latest features for iPhone's new operating system, including FaceTime updates. Exciting changes are coming to your iPhone\u00a0...","domain authority":92,"page authority":24},{"rank":29,"title":"Apple's New Budget MacBook with Old iPhone Parts!? - YouTube"}]},"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

关键词结果 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/8458/fetch+serp+data+api/14825/keyword+results?keyword=iphone' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 获取搜索引擎结果页面数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

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

🚀 企业版

起价
$ 10,000/年


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

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

获取搜索引擎结果页面数据 API FAQs

API返回指定关键词的Google搜索结果的综合排名,包括前99个自然结果。每个结果包括标题 描述 URL 域名权威 页面权威和确切的排名位置

响应中的关键字段包括排名位置 页面标题 URL 描述 域名权威和页面权威 这些指标有助于评估每个搜索结果的表现和相关性

响应数据被结构化为一个JSON对象,包含一个结果数组。每个结果对象包括排名位置、标题、URL、描述和权威指标字段,使其易于解析和分析

该API提供有关自然搜索结果排名的信息,包括每个结果的标题 URL 描述和权威指标 如果特定域名出现在搜索引擎结果页面中,它也会显示该域名的排名

用户可以通过在POST请求中指定关键字参数来自定义他们的请求。未来的更新中可能会提供其他参数以优化搜索,但目前关键字是主要输入

数据直接来源于Google搜索结果,确保信息反映当前排名和实时搜索查询中显示的指标

典型的用例包括SEO分析 竞争研究 关键字表现跟踪以及为数字营销策略生成报告 机构可以利用这些数据来优化客户的搜索可见性

如果API返回部分或空结果,用户应该检查关键字输入的准确性。此外,他们可以在应用程序中实现错误处理,以优雅地管理意外响应

关键字结果端点返回指定关键字的前99个自然搜索结果的详细信息 包括每个结果的排名位置 标题 URL 描述 域名权威和页面权威

用户可以通过在POST请求中指定关键字参数来定制他们的请求。未来的更新可能会引入其他参数以进行进一步的定制,但目前关键字是主要输入

API返回数据为JSON格式,结构为包含结果数组的对象。每个结果表示为一个JSON对象,具有排名位置、标题、URL、描述和权威指标的字段

数据准确性通过直接从谷歌搜索结果中获取信息来维护,确保API反映实时排名和指标,正如它们在实时搜索查询中出现的那样

权威指标包括域名权威和页面权威帮助评估每个结果的可信度和排名潜力 更高的权威分数通常表示更强大更可靠的页面

用户可以分析返回的数据以识别高排名的竞争对手 评估关键词表现 并优化他们自己的内容策略 提供的指标可以指导内容创作和反向链接策略的决策

用户应验证关键词输入的准确性并检查请求格式是否存在潜在问题 在应用程序中实施错误处理可以有效管理意外响应

虽然API可以处理广泛的关键词,但用户应避免过于通用或模糊的术语,因为这些可能会产生相关性较低的结果。具体的、有针对性的关键词通常会产生更可操作的数据

一般常见问题

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 秒直到限制重置。

是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。

您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。

7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。

当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。

付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。


相关 API


您可能还喜欢