介绍
此页面将帮助你开始使用我们的爬虫API。
只需为成功的请求付费即可享受可靠的数据。
借助这些抓取 API,你最终可以收集抓取结果,而无需任何验证码或 IP 地址块。这是因为你无需设置 IP 地址,只需选择目标并将查询发送到我们的 endpoint。因此,代理管理、重试、结果本地化和许多其他常见问题都将得到处理,以返回 100% 正确的结果。
如果我们能够解析 JSON 格式的请求网站,你可以根据某些参数值 调整每个搜索请求,并以 HTML 或 JSON 格式获取结果。
执行搜索就像向 Scraping API 查询端点发出 GET 或 POST HTTPS 请求一样简单。要进行查询,请提供你的身份验证信息(user:pass
)和搜索查询。某些集成选项还需要有关你的应用程序/JSON 内容的规范。
现在你可以:检索付费数据和有机数据、监控 SEO、监控价格等。
你可以使用我们的抓取 API 抓取什么:Google 搜索 – 检索付费和有机 SERP 数据; Google购物; 热门产品和列表; 视频; 广告; 图片; 相关问题和搜索; 热门故事; 精选片段; 本地包; 酒店供应情况; 旅游业; 餐厅数据; 亚马逊搜索; 百度; Wayfair; Yandex; Bing; 还要别的吗。
从 Google 搜索“world”查询收到的几个初步结果和完整响应的屏幕截图:
{
"pos": 1,
"url": "https://www.worldbank.org/en/home",
"desc": "With 189 member countries, the World Bank Group is a unique global partnership fighting poverty worldwide through sustainable solutions.World Bank Live · Data · Careers · Where we work",
"title": "World Bank Group - International Development, Poverty ...",
"url_shown": "https://www.worldbank.org› ...",
"pos_overall": 1
},
{
"pos": 2,
"url": "https://www.who.int/",
"desc": "WHO's primary role is to direct international health within the United Nations' system and to lead partners in global health responses.World Health Assembly · WHO Coronavirus (COVID-19... · COVID-19 vaccines",
"title": "WHO | World Health Organization",
"url_shown": "https://www.who.int",
"pos_overall": 2
},
{
"results": [
{
"content": {
"url": "https://www.google.com/search?q=world&lr=lang_en&nfpr=1&hl=en",
"page": 1,
"results": {
"paid": [],
"organic": [
{
"pos": 1,
"url": "https://www.worldbank.org/en/home",
"desc": "With 189 member countries, the World Bank Group is a unique global partnership fighting poverty worldwide through sustainable solutions.World Bank Live · Data · Careers · Where we work",
"title": "World Bank Group - International Development, Poverty ...",
"url_shown": "https://www.worldbank.org› ...",
"pos_overall": 1
},
{
"pos": 2,
"url": "https://www.who.int/",
"desc": "WHO's primary role is to direct international health within the United Nations' system and to lead partners in global health responses.World Health Assembly · WHO Coronavirus (COVID-19... · COVID-19 vaccines",
"title": "WHO | World Health Organization",
"url_shown": "https://www.who.int",
"pos_overall": 2
},
{
"pos": 3,
"url": "https://en.wikipedia.org/wiki/World",
"desc": "In this sense, world history refers to the history of humanity as a whole or world politics is the discipline of political science studying issues that ...",
"title": "World - Wikipedia",
"url_shown": "https://en.wikipedia.org› wiki › World",
"pos_overall": 3
},
{
"pos": 4,
"url": "https://www.weforum.org/",
"desc": "The World Economic Forum is an independent international organization committed to improving the state of the world by engaging business, political, ...",
"title": "The World Economic Forum",
"url_shown": "https://www.weforum.org",
"pos_overall": 4
},
{
"pos": 5,
"url": "https://www.worldometers.info/coronavirus/",
"desc": "Country, OtherTotal; CasesNew; CasesTotal; DeathsNew; DeathsTotal; RecoveredNe...World259,773,111+81,4535,193,091+1,229234,916,758+9...Asia81,625,181+16,9781,205,680+18178,895,360+2...Europe71,598,510+58,2971,393,285+69963,443,906+6...View 237 more rows",
"title": "Coronavirus Cases - Worldometer",
"url_shown": "https://www.worldometers.info› coronavirus",
"pos_overall": 5
},
{
"pos": 6,
"url": "https://www.worldvision.org.uk/",
"desc": "Donate to World Vision today to support vulnerable children in fragile and developing countries. Find out more about how you can help these causes today.",
"title": "World Vision UK: International Children's Charity",
"url_shown": "https://www.worldvision.org.uk",
"pos_overall": 6
},
{
"pos": 7,
"url": "https://ourworldindata.org/covid-vaccinations",
"desc": "The Our World in Data COVID vaccination data. To bring this pandemic to an end, a large share of the world needs to be immune to the virus. The safest way to ...",
"title": "Coronavirus (COVID-19) Vaccinations - Statistics and Research",
"url_shown": "https://ourworldindata.org› covid-vaccinations",
"pos_overall": 7
},
{
"pos": 8,
"url": "https://www.bbc.co.uk/news/world",
"desc": "Get the latest BBC World News: international news, features and analysis from Africa, the Asia-Pacific, Europe, Latin America, the Middle East, South Asia, ...",
"title": "World - BBC News",
"url_shown": "https://www.bbc.co.uk› news › world",
"pos_overall": 8
},
{
"pos": 9,
"url": "https://worldhappiness.report/",
"desc": "The World Happiness Report is a publication of the Sustainable Development Solutions Network, powered by data from the Gallup World Poll and Lloyd's ...",
"title": "Home | The World Happiness Report",
"url_shown": "https://worldhappiness.report",
"pos_overall": 9
}
],
"knowledge": {
"title": "World",
"description": "In its most general sense, the term \"world\" refers to the totality of entities, to the whole of reality or to everything that is. The nature of the world has been conceptualized differently in different fields. Some conceptions see the world as unique while others talk of a \"plurality of worlds\"."
},
"search_information": {
"query": "world",
"showing_results_for": "world",
"total_results_count": 11900000000
},
"total_results_count": 11900000000
},
"last_visible_page": 10,
"parse_status_code": 12000
},
"url": "https://www.google.com/search?q=world&lr=lang_en&nfpr=1&hl=en",
"task_id": "6869593036469325825",
"created_at": "2021-11-25 11:10:10",
"updated_at": "2021-11-25 11:10:18"
}
]
}
如果你有有效的 SERP 订阅,请亲自在我们的 API 中尝试一下!
不要犹豫 – 与我们联系 了解更多详细信息和代码示例。
Updated 12 months ago