它提供来自单个查询的高度结构化和全面的搜索结果,使您能够获取准确、有条理的信息,随时可以集成到任何应用程序中。API 返回的基本数据包括相关术语、智能建议、丰富的知识面板(如有),以及与用户搜索意图最相关的链接。
当提交一个关键字或短语时,端点生成一组结果,并将其分为明确定义的部分。首先,它提供按相关性排序的相关关键字,每个关键字附带额外的元素,如图片、标题、标签和在建议排序中的位置。这使得快速理解用户的意图成为可能,并扩展了对相关主题的语义分析。
它总结了关于特定实体的关键信息:图像、标题、描述和上下文。该面板帮助您获取摘要信息,而无需进行额外的搜索。
主要的网络结果也会被返回,每个结果都有标题、描述、链接和其他元数据,提供了对最相关来源的清晰、直接的视图。这个结构便于将其集成到需要处理外部内容、显示搜索结果、生成报告或基于上下文信息开发功能的系统中。
通过发送一个简单的查询参数,即时返回缓存的搜索引擎结果页面数据,包括顶级结果、相关关键词、知识见解和结构化搜索信息
搜索 - 端点功能
| 对象 | 描述 |
|---|---|
query |
[必需] Enter a query. |
related_keywords |
可选 Show related keywords (true or false). |
limit |
可选 Maximum number of results. |
{"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/11444/get+google+search+results+api/21603/search?query=usa&related_keywords=true' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
API返回结构化搜索结果,包括相关关键词、知识面板和主要网页结果。每个结果包含基本信息,如标题、描述、网址和附加元数据,以增强对搜索意图的理解
响应中的关键字段包括“knowledgePanel”用于实体摘要,“relatedKeywords”用于相关术语,以及“results”包含一个搜索结果数组,每个条目都有“title”“description”和“url”
回复分为几个部分:“knowledgePanel”(如果可用)、“relatedKeywords”和“results”。每个部分提供特定的数据类型,使用户能够轻松导航并根据他们的查询提取相关信息
该端点提供与相关关键词、实体的知识面板和主要网络结果的信息。这包括标题、描述、网址和上下文数据,从而实现对搜索主题的全面洞察
用户可以通过在GET请求中指定查询参数来定制他们的请求 这允许根据特定的关键词或短语进行量身定制的搜索 提高返回数据的相关性
数据来源于谷歌的搜索结果,它汇集了来自各种网页的信息,确保了内容的广泛和多样性。这有助于保持返回结果的相关性和准确性
典型的使用案例包括将搜索结果集成到应用程序中 生成报告 增强SEO策略 以及为内容创作提供上下文信息 所有这些都利用了API返回的结构化数据
用户可以通过解析结构化响应来提取相关字段,从而利用返回的数据。例如,他们可以在应用程序中显示搜索结果,分析与SEO相关的关键词,或总结知识面板以获取快速见解
服务级别:
100%
响应时间:
1,179ms
服务级别:
100%
响应时间:
3,519ms
服务级别:
100%
响应时间:
796ms
服务级别:
100%
响应时间:
14ms
服务级别:
100%
响应时间:
14,476ms
服务级别:
100%
响应时间:
11ms
服务级别:
100%
响应时间:
3,519ms
服务级别:
100%
响应时间:
4,320ms
服务级别:
100%
响应时间:
5,055ms
服务级别:
100%
响应时间:
3,519ms
服务级别:
80%
响应时间:
573ms
服务级别:
100%
响应时间:
894ms
服务级别:
100%
响应时间:
103ms
服务级别:
100%
响应时间:
669ms
服务级别:
100%
响应时间:
595ms
服务级别:
100%
响应时间:
633ms
服务级别:
100%
响应时间:
7,797ms
服务级别:
100%
响应时间:
1,192ms
服务级别:
100%
响应时间:
733ms
服务级别:
100%
响应时间:
618ms