/search?engine=bing
API endpoint allows you to scrape the results from the Bing search engine via our SerpApi service.
Endpoint
GET https://serpapi.abcproxy.com/search
Description A user may query the following:
https://serpapi.abcproxy.com/search?engine=bing
utilizing a GET request. Head to the for a live and interactive demo.
Search Query
q
string
Yes
Parameter defines the search query. You can use anything that you would use in a regular Bing search.
coffee
Geographic Location
location
string
No
Parameter defines from where you want the search to originate. If several locations match the location requested, we'll pick the most popular one.
Japan-Tokyo
lat
string
No
Defines a GPS latitude for the search origin
37.26741027832031
lon
string
No
Defines a GPS longitude for the search origin
-121.83389282226562
mkt
string
No
The market where the results come from (e.g. en-US
). Typically, mkt is the country where the user is making the request from. However, it could be a different country if the user is not located in a country where Bing delivers results. The market must be in the form -. For example, en-US. The string is case insensitive. For a list of possible market values.
en-US
Localization
cc
string
No
us
, de
, gb
Pagination
first
int
No
Parameter controls the offset of the organic results. This parameter defaults to 1
.
10
count
int
No
Parameter controls the number of results per page.
Minimum: 1
Maximum: 50
Advanced Filters
safeSearch
string
No
Parameter defines the level of filtering for adult content. It can be set to:
Off
to return webpages with adult text, images, or videos.
Moderate
to return webpages with adult text, but not adult images or videos.
Strict
to not return webpages with adult text, images, or videos.
-
filters
string
No
Parameter allows usage of a more complex filtering options such as filtering by date range ex1:"ez5_18169_18230"
or using a specific display filters such as ufn:"Wunderman+Thompson"+sid:"5bede9a2-1bda-9887-e6eb-30b1b8b6b513"+catguid:"5bede9a2-1bda-9887-e6eb-30b1b8b6b513_cfb02057"+segment:"generic.carousel"+entitysegment:"Organization"
. Exact values can be constructed by using Bing search and copying filters
query parameter.
-
Serpapi Parameters
engine
string
Yes
Set parameter to bing
to use the Bing API engine.
google_patents
no_cache
boolean
No
Parameter will force SerpApi to fetch the Google Patents results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month.
true
or false
api_key
string
Yes
Parameter defines the SerpApi private key to use.
YOUR_API_KEY
Response Body
Response Fields
search_parameters
object
Contains query
parameters and search
context
search_metadata
object
Contains timing
and status
information
search_information
object
Contains search metadata like total results count
ads
object[]
Sponsored advertisements in search results
events_results
object
Event listings
and related
information
local_map
object
Embedded map data for local searches
local_results
object
Local business listings and details
organic_results
object[]
Main non-sponsored search results
explore_results
object[]
"People also explore" suggestions
inline_images
object
Image carousels within search results
inline_videos
object
Video carousels within search results
recipes_results
object
Recipe cards and cooking information
news_results
object
News article listings and snippets
knowledge_graph
object
Knowledge panel
with entity information
answer_box
object
Featured answer snippets and question boxes
related_searches
object[]
"Searches related to..." suggestions
related_questions
object[]
"People also ask" questions
pagination
object
Search results pagination controls
Common Errors
200
400
API Key can not be empty
200
401
Param error
200
402
API Key error
200
403
Insufficient Balance
200
404
Deduction failed
200
405
Failed to record usage count
200
406
Unsupported engine
200
407
Network error
200
408
File not found
200
409
Limit param error
200
410
Build url error
200
411
Failed to QueryRecentRecord
200
412
Failed to find json
200
413
Get html error
200
414
HTML is empty
200
429
Too many request
Error Example
Parameter defines the country to search from. It follows the 2-character format.