Last updated
Was this helpful?
Last updated
Was this helpful?
The bing_search
source is designed to retrieve Bing Search results pages (SERPs).
To scrape AI-generated search results from Bing, use the render
parameter.
In the example below, we make a request to retrieve Bing search results for the search term adidas
. The search will start from the 11th page and retrieve 10 pages of results, which will be delivered in a structured format.
We use synchronous integration method in our examples. If you would like to use or asynchronous integration, refer to the section.
In the following example, we send a request to retrieve AI-generated Bing search results for the search term best seo tools
.
Basic setup and customization options for Bing search scraping.
- mandatory parameter
Adapt search results to specific geographical locations, domains, and languages.
Controls for managing the pagination and retrieval of search results.
SERP Scraper API is capable of extracting either an HTML or JSON object that contains Bing search results, offering structured data on various elements of the results page.
The table below presents a detailed list of each SERP feature we parse, along with its description and data type. The table also includes some metadata.
In the following sections, parsed JSON code snippets are shortened where more than one item for the result type is available.
source
Sets the scraper.
bing_search
query
UTF-encoded keyword.
-
render
Enables JavaScript rendering when set to html
. More info.
-
parse
Returns parsed data when set to true
. Explore output data dictionary.
false
callback_url
URL to your callback endpoint. More info.
-
user_agent_type
Device type and browser. The full list can be found here.
desktop
geo_location
Specifies the location for search results. Supports city, state, country, or coordinate formats. Read more.
-
domain
Localize results for a certain country. Valid values: com
, ru
, ua
, by
, kz
, tr
.
com
locale
Accept-Language
header value which changes your Google search page web interface language. More info.
-
start_page
Starting page number.
1
pages
Number of pages to retrieve.
1
limit
Number of results to retrieve in each page.
10
url
The URL of the Bing search page.
string
page
The current page number.
integer
results
A dictionary containing the results of the search.
object
paid
(optional)
A list of sponsored results with their respective details.
array
organic
A list of unpaid listings with their respective details.
array
parse_status_code
The status code of the parsing job. You can see the parser status codes described here.
integer
created_at
The timestamp when the scraping job was created.
timestamp
updated_at
The timestamp when the scraping job was finished.
timestamp
status_code
The status code of the scraping job. You can see the scraper status codes described here.
integer
job_id
The ID of the job associated with the scraping job.
string
pos
The position of the advertisement within the list of paid ads.
integer
url
The complete URL of the paid advertisement.
string
desc
A brief description or summary of the advertisement content.
string
title
The main headline or title of the advertisement.
string
url_shown
The simplified URL displayed to users.
string
pos_overall
The ad's rank among all search results, including both paid and organic listings.
integer
pos
The rank of the organic result within the list of organic search results.
integer
url
The complete URL of the organic search result.
string
desc
A brief description or summary of the organic search result content.
string
title
The main headline or title of the organic search result.
string
url_shown
The simplified URL displayed to users.
string
pos_overall
The organic result's rank among all search results, including both paid and organic listings.
integer