Bing Maps
The places Bing Maps lists for a query, answered as the document: `search_metadata`, `search_parameters`, `search_information` (`query_displayed`), `local_results`, `place_result` (a query with one match: that place is the only `local_results` item) and `pagination`.
The places Bing Maps lists for a query, answered as the document: search_metadata,
search_parameters, search_information (query_displayed), local_results, place_result (a
query with one match: that place is the only local_results item) and pagination. Up to 20 places. "Bing Maps couldn't
find ..." is local_results: []. place_id is Bing's ypid. filters is passed to Bing but no
filters block is answered. Bing Maps lists 60 places at most. zero_retention is not handled.
X-API-Key<token>Your API key.
cancel_token?stringA name you make up for this request (a UUID is fine), so you can later GET /v1/cancel
with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.
1 <= length <= 128q*stringA kind of place, a name or an address.
1 <= length <= 1000device?"desktop"Anything but desktop is a 400.
"desktop""desktop"location?stringA place name to centre on. Not with lat and lon.
length <= 200lat?numberWith lon: the centre (Bing's cp).
-90 <= value <= 90lon?numberWith lat.
-180 <= value <= 180market_code?stringlanguage-country from Bing's list (en-us...). Not with country_code.
country_code?stringTwo letters from Bing's list.
"US"language?stringBing's list.
"en"filters?stringUp to 3 Bing filter values, comma separated (ONow,UR8U).
num?integerPlaces a page.
3 <= value <= 2520page?integerAt most floor(60 / num) + 1; first = (page-1)*num.
1 <= value <= 211The places, as the document. When the page could not be parsed, the usual envelope.
application/json- response
The Bing Maps document.
search_metadata*search_parameters*The request's own fields as sent, engine first, without cancel_token.
search_information*The parser's own, e.g. yelp_search's; otherwise {}.
local_results?array<>Keys are absent when Bing does not give them.
place_result?A query with one match.
pagination?[key: string]?anycurl -X GET 'https://api.justserp.com/v1/bing/maps?q=dentist&location=London&num=10'{ "search_metadata": { "id": "string", "status": "Success", "created_at": "string", "request_url": "string", "html_url": "string" }, "search_parameters": {}, "search_information": { "query_displayed": "string" }, "local_results": [ { "position": 0, "place_id": "string", "title": "string", "link": "string", "type": "string", "type_id": "string", "address": "string", "phone": "string", "website": "string", "rating": 0, "reviews": 0, "reviews_source": "string", "open_state": "string", "is_permanently_closed": true, "gps_coordinates": { "latitude": 0, "longitude": 0 }, "thumbnail": "string", "amenities": [ "string" ] } ], "place_result": { "title": "string", "gps_coordinates": { "latitude": 0, "longitude": 0 } }, "pagination": { "current": 0, "next": 0 }}Bing News GET
One page of Bing News stories for a query or a category, answered as the document: `search_metadata`, `search_parameters`, `search_information` (`query_displayed`, `page`) and `organic_results` (5-12 stories a page).
Bing Images GET
One page of Bing Images results (35 pictures), answered as the document: `search_metadata`, `search_parameters`, `search_information` (`query_displayed`), `suggestions`, `images` and `related_searches`.