Configure Bing search queries with Bright Data’s SERP API, including parameters for localization, geo-location, pagination, device targeting, and custom data output options.
Localization
setLang
Geo-Location
Pagination
count
Examples:
count=30
- request 30 results
count=50
- request 50 results
first
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
safesearch
The following are the possible filter values: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.
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
Device
brd_mobile
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
brd_browser
brd_mobile
to get according mobile 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
)