SERP API Bing Query Parameters
Configure Bing search queries with Bright Data’s SERP API, including parameters for localization, geo-location, pagination, device targeting, and custom data output options.
Search
Localization
Localization
setLang
A language to use for user interface strings. You may specify the language using either a 2-letter or 4-letter code. Using 4-letter codes is preferred.
Geo-Location
Geo-Location
Pagination
Pagination
count
A number of search results to return in the response. The default is 10 and the maximum value is 50. The actual number delivered may be less than requested.
Examples:
count=30
- request 30 results
count=50
- request 50 results
first
An offset that indicates the number of search results to skip before returning results. The default value is 1.
Use this parameter along with the count
parameter to page results. For example, set count
to 10 and first
to 1 to get the first page of results.
For each subsequent page, increment first
by 10 (for example, 1, 11, 21).
It is possible for multiple pages to include some overlap in results.
Examples:
first=1
(default) - first page of results
first=11
- second page of results
first=21
- third page of results, etc.
Filters
Filters
safesearch
Used to filter webpages, images, and videos for adult content.
The following are the possible filter values:
safesearch=off
— Returns content with adult text and images but not adult videos
safesearch=moderate
— Returns webpages with adult text, but not adult images or videos
safesearch=strict
— Does not return adult text, images, or videos
The default is Moderate.
NOTE: If the request comes from a market that Bing’s adult policy requires that safeSearch be set to Strict, Bing ignores the safesearch value and uses Strict.
Device
Device
brd_mobile
Define what device type to be represented in user-agent
Default or brd_mobile=0
will provide random desktop user-agent while brd_mobile=1
will provide random mobile user-agent.
For specific mobile platform provide one of the following values:
brd_mobile=ios
- iPhone user-agent (aliasbrd_mobile=iphone
)
brd_mobile=ipad
- iPad user-agent (aliasbrd_mobile=ios_tablet
)
brd_mobile=android
- Android phone
brd_mobile=android_tablet
- Android tablet
Browser
Browser
brd_browser
Define what browser to be represented in user-agent.
Can be combined with brd_mobile
to get according mobile browser.
Default will provide random browser.
For specific browser provide one of the following values:
brd_browser=chrome
- Google Chrome
brd_browser=safari
- Safari
brd_browser=firefox
- Mozilla Firefox (not compatible withbrd_mobile=1
)