SERP API Bing Query Parameters
Learn about Thordata’s SERP API - Bing search query parameters.
Search Term Example:
q
Search Term
Specify search keywords
q=pizza
Localization Used to specify the language and habits of search results, as well as advertisements. Example:
cc
Country
Result region (affects search results), set only the country, country/region code (ISO 3166-1 alpha-2).
cc=US,cc=CN..
mkt
Language
Target market (affects search results and ads), set both language and country.
mkt=en-US,mkt=zh-CN...
Geolocation Used to specify the encoded location for the search, which will change the geographical location of the search. You can download a file containing all available values here. Example: curl -k "https://www.bing.com/search?q=pizza&location=Antarctica&lat=73&lon=42" --proxy scraping.thordata.com:30001 --proxy-user td-customer-serp_USERNAME:PASSWORD
location
Location
Specify the geographic location of the search results, to be used together with the lat (latitude) and lon (longitude) parameters.
location=Ecuador&lat=73&lon=42
Pagination Used to define the result offset (the offset from which results start) and the number of search results. The default number of search results is 10, with a maximum of 100. The actual number of results returned may be less than the requested number. Example:
first
Pagination
Specify search page number (offset)
first=10 (Page 2)
count
Results per page
Specify the number of results per search page
count=50 (Maximum value 100)
Safety Used to decide whether search results should block adult content. Example:
adlt
Safe
nable/Disable Adult Content Filtering
adlt=strict (Enable) adlt=off (Disable)
Parsing A custom Thordata parameter that allows the return of parsed JSON instead of raw HTML. Example:
json
Parsing
Specify output format
No json value (returns HTML) json=1 (returns JSON) json=2 (returns JSON + HTML)
Last updated
Was this helpful?