{"cached":false,"data":{"knowledgePanel":null,"relatedKeywords":null,"results":[{"description":"The United States of America (USA), also known as the United States (US) or America, is a country primarily located in North America.","timestamp":null,"title":"United States - Wikipedia","url":"https://en.wikipedia.org/wiki/United_States"},{"description":"USA TODAY delivers current national and local news, sports, entertainment, finance, technology, and more through award-winning journalism, photos,\u00a0...","timestamp":null,"title":"USA TODAY - Breaking News and Latest News Today","url":"https://www.usatoday.com/"},{"description":"Search and apply for federal jobs. Learn about unique hiring paths for veterans, students and graduates, individuals with a disability, and more.","timestamp":null,"title":"USAJOBS - The Federal Government's official employment site","url":"https://www.usajobs.gov/"},{"description":"A true-crime series that chronicles the most shocking and unpredictable cases involving a killer no one would suspect: Grandma. In every self-contained episode,\u00a0...","timestamp":null,"title":"USA TV Network","url":"https://www.usanetwork.com/"},{"description":"VisitTheUSA is the USA official guide for traveling the United States of America. Discover here all the information you need for your American holidays.","timestamp":null,"title":"Visit The USA: Guide To USA Holidays & Travel Around America","url":"https://www.visittheusa.com/"},{"description":"U.S. facts and figures. Learn about the United States, including American history, the president, holidays, the American flag, census data, and more.","timestamp":null,"title":"The U.S. and its government | USAGov","url":"https://www.usa.gov/about-the-us"},{"description":"Leading U.S. foreign policy to advance the interests and security of the American people.","timestamp":null,"title":"U.S. Department of State \u2013 Home","url":"https://www.state.gov/"},{"description":"United States, country in North America, a federal republic of 50 states. Besides the 48 conterminous states that occupy the middle latitudes of the continent.","timestamp":null,"title":"United States | History, Map, Flag, & Population | Britannica","url":"https://www.britannica.com/place/United-States"},{"description":"Welcome to the home of U.S. Soccer, where you can find the latest USMNT and USWNT soccer news, rosters, tournament results, scoring highlights and much\u00a0...","timestamp":null,"title":"U.S. Soccer Official Website | USWNT & USMNT","url":"https://www.ussoccer.com/"},{"description":"President Trump is committed to lowering costs for all Americans, securing our borders, unleashing American energy dominance, restoring peace through strength.","timestamp":null,"title":"The White House","url":"https://www.whitehouse.gov/"}],"searchTerm":"usa"},"ok":true,"status_code":200}
curl --location --request GET 'https://zylalabs.com/api/11441/google+search+results+data+fetch+api/21600/search?query=usa&related_keywords=true' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 谷歌搜索结果数据获取 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
它提供了来自单个查询的高度结构化和全面的搜索结果,使您能够获得准确、组织良好的信息,准备好集成到任何应用中。该API返回必要的数据,如相关术语、智能建议、丰富的知识面板(如果可用)以及与用户搜索意图最相关的链接。
当提交一个关键词或短语时,端点生成一组结果,分为明确定义的部分。首先,它提供按相关性排序的相关关键词,每个关键词都附有额外的元素,例如图像、标题、标签和在建议排名中的位置。这使得用户的意图得以快速理解,并扩展了相关主题的语义分析。
它总结了关于特定实体的关键数据:图像、标题、描述和上下文。该面板帮助您获取摘要信息,而无需进行额外的搜索。
主要的网页结果也被返回,每个结果都有标题、描述、链接和其他元数据,提供了最相关来源的清晰直接视图。这种结构便于其集成到需要处理外部内容的系统中,显示搜索结果、生成报告或基于上下文信息开发功能。
API 返回结构化搜索结果,包括相关关键词、知识面板和主要网页结果。每个结果包含基本信息,如标题、描述、URL 和附加元数据,以增强对搜索意图的理解
响应中的关键字段包括“knowledgePanel”用于实体摘要,“relatedKeywords”用于相关术语,以及“results”包含一个搜索结果数组,每个条目都有“title”“description”和“url”
响应分为几个部分:“knowledgePanel”(如果可用)、“relatedKeywords”和“results”。每个部分提供特定的数据类型,允许用户根据查询轻松导航和提取相关信息
该端点提供与相关关键词、实体的知识面板和主要网页结果的信息。这包括标题、描述、网址和上下文数据,从而使搜索主题获得全面的洞察。
用户可以通过在GET请求中指定查询参数来定制他们的请求。这允许基于特定的关键字或短语进行量身定制的搜索,从而提高返回数据的相关性
数据来源于谷歌的搜索结果,该结果汇集了来自各种网页的信息,确保内容的广泛性和多样性。这有助于保持返回结果的相关性和准确性
典型用例包括将搜索结果集成到应用程序中 生成报告 增强SEO策略 提供内容创作的上下文信息 所有这些都利用API返回的结构化数据
用户可以通过解析结构化响应来提取相关字段以利用返回的数据。例如,他们可以在应用程序中显示搜索结果,分析与SEO相关的关键词,或总结知识面板以获得快速见解