Bing Maps API
Last updated
Last updated
Our Bing Maps API allows you to scrape results from Bing Maps. The API is accessed through the following endpoint: /search?engine=bing_maps
.
Endpoint
GET https://serpapi.abcproxy.com/search
Description
A user may query the following:
https://serpapi.abcproxy.com/search?engine=bing_maps
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 Maps search.
coffee
Geographic Location
cp
string
No
Parameter defines GPS coordinates of location where you want your q (query) to be applied.
30.307989~-97.749943
Localization
setlang
string
Yes
us
, de
, gb
Advanced Bing Maps Parameters
place_id
string
No
-
Pagination
first
string
No
Parameter controls the offset of the organic results. This parameter defaults to 1
.
10
count
string
No
Parameter controls the number of results per page. This parameter is only a suggestion and might not reflect the returned results.
100
Serpapi Parameters
engine
string
Yes
Set parameter to bing_maps
to use the Bing Maps API engine.
bing_maps
no_c1ache
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
filters
object[]
Filter categories available for the search
local_results
object[]
Local business listings and map results
place_results
object
Detailed information about a specific place
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 language to search with. It follows the 2-character format.
Parameter defines the unique reference to a place on a Bing Map. Place IDs are available for most locations, including businesses, landmarks, parks, and intersections. You can find the place_id using our and Bing Local Pack API. place_id can be used without any other optional parameter including q parameter.