curl --request POST \
--url https://api.aisa.one/apis/v1/bing-maps/businesses/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "restaurants"
}
'import requests
url = "https://api.aisa.one/apis/v1/bing-maps/businesses/search"
payload = { "query": "restaurants" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'restaurants'})
};
fetch('https://api.aisa.one/apis/v1/bing-maps/businesses/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/bing-maps/businesses/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'restaurants'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bing-maps/businesses/search"
payload := strings.NewReader("{\n \"query\": \"restaurants\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/bing-maps/businesses/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"restaurants\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bing-maps/businesses/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"restaurants\"\n}"
response = http.request(request)
puts response.read_body{
"count": 18,
"has_more": true,
"location": "1600 Pennsylvania Ave NW, Washington, DC",
"next_page": 2,
"observed_at_ms": 1791240313588,
"page": 1,
"query": "restaurants",
"resolved_query": {
"chain_id": null,
"corrected_query": "restaurants near 1600 Pennsylvania Ave NW, Washington, DC",
"keyword": "restaurants",
"location": "Washington, DC"
},
"results": [
{
"address": "800 16th St NW, Washington, DC 20006",
"category": "Restaurant",
"category_path": "30000.30949",
"image_url": "https://www.bing.com/th?id=OLC.ws1oQkyuc+Jyaw480x360&pid=Local",
"latitude": 38.900508880615234,
"longitude": -77.03695678710938,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN5B609F6EC24BDBC8",
"name": "The Lafayette",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 638-2570",
"rating": 4.5,
"rating_count": 175,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.hayadams.com/dining/the-lafayette",
"ypid": "YN5B609F6EC24BDBC8"
},
{
"address": "801 9th St NW, Washington, DC 20001",
"category": "Cuban restaurant",
"category_path": "30000.30949.30996",
"image_url": "https://www.bing.com/th?id=OLC.7WRCqGKzhrRYdQ480x360&pid=Local",
"latitude": 38.90011215209961,
"longitude": -77.02363586425781,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN5324A34C8347FB45",
"name": "Cuba Libre Restaurant & Rum Bar",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 408-1600",
"rating": 4,
"rating_count": 1151,
"rating_source": "Tripadvisor",
"style_category": "Restaurant",
"website": "https://www.cubalibrerestaurant.com/en/washington",
"ypid": "YN5324A34C8347FB45"
},
{
"address": "701 9th St NW, Washington, DC 20001",
"category": "Mediterranean restaurant",
"category_path": "30000.30949.31051",
"image_url": "https://www.bing.com/th?id=OLC.LlOJN+ULZGMwkw480x360&pid=Local",
"latitude": 38.89886093139648,
"longitude": -77.023681640625,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNEE9D01416998B76F",
"name": "Zaytinya",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 638-0800",
"rating": 4,
"rating_count": 6309,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.zaytinya.com/location/washington-dc/",
"ypid": "YNEE9D01416998B76F"
},
{
"address": "1734 N St NW, Washington, DC 20036",
"category": "Mediterranean restaurant",
"category_path": "30000.30949.31051",
"image_url": "https://www.bing.com/th?id=OLC.UKQRqLFImQ8oWg480x360&pid=Local",
"latitude": 38.90702438354492,
"longitude": -77.03984832763672,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN525F7C05D4A448E1",
"name": "Iron Gate Restaurant",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 524-5202",
"rating": 4,
"rating_count": 837,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.irongaterestaurantdc.com/",
"ypid": "YN525F7C05D4A448E1"
},
{
"address": "320 6th St NW, Washington, DC 20004",
"category": "Italian restaurant",
"category_path": "30000.30949.31030",
"image_url": "https://www.bing.com/th?id=OLC.lxws9OKdHwl62w480x360&pid=Local",
"latitude": 38.893829345703125,
"longitude": -77.02055358886719,
"maps_url": "https://www.bing.com/maps?ss=ypid.YND96509A30C3FA2D0",
"name": "Fiola",
"open_hours_text": "Closed · Opens tomorrow 5 PM",
"open_status": "Closed",
"phone": "(202) 628-2888",
"rating": 4,
"rating_count": 879,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "http://www.fioladc.com/",
"ypid": "YND96509A30C3FA2D0"
},
{
"address": "1101 Pennsylvania Ave NW, Washington, DC 20004",
"category": "Brazilian restaurant",
"category_path": "30000.30949.30967",
"image_url": "https://www.bing.com/th?id=OLC.34QBAbZpSXt3cg480x360&pid=Local",
"latitude": 38.895355224609375,
"longitude": -77.02738952636719,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN1D4C548F1D8767BC",
"name": "Fogo de Chão Brazilian Steakhouse",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 347-4668",
"rating": 4,
"rating_count": 2452,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://fogodechao.com/location/washington-dc/",
"ypid": "YN1D4C548F1D8767BC"
},
{
"address": "650 K St NW, Washington, DC 20001",
"category": "Italian restaurant",
"category_path": "30000.30949.31030",
"image_url": "https://www.bing.com/th?id=OLC.7wDgxkBmBUrHAQ480x360&pid=Local",
"latitude": 38.90226364135742,
"longitude": -77.02129364013672,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN486F4E18317EA430",
"name": "RPM Italian",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 204-4480",
"rating": 4,
"rating_count": 1913,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.rpmrestaurants.com/rpm-italian-d-c/",
"ypid": "YN486F4E18317EA430"
},
{
"address": "425 7th St NW, Washington, DC 20004",
"category": "Italian restaurant",
"category_path": "30000.30949.31030",
"image_url": "https://www.bing.com/th?id=OLC.gnfJ9n4ES6CasA480x360&pid=Local",
"latitude": 38.895660400390625,
"longitude": -77.02167510986328,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN662C8E46C59C6E84",
"name": "Carmine's Italian Restaurant - Washington D.C.",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 737-7770",
"rating": 3.5,
"rating_count": 1878,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "http://www.carminesnyc.com/",
"ypid": "YN662C8E46C59C6E84"
},
{
"address": "1201 K St NW, Washington, DC 20005",
"category": "Cafe",
"category_path": "30000.30949.30974",
"image_url": "https://www.bing.com/th?id=OLC.wM1rfYPD7heEtw480x360&pid=Local",
"latitude": 38.90275573730469,
"longitude": -77.0283203125,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNDCF5BE08D28092DA",
"name": "Baker’s Daughter",
"open_hours_text": null,
"open_status": null,
"phone": "(202) 758-0827",
"rating": 3.5,
"rating_count": 11,
"rating_source": "Tripadvisor",
"style_category": "Cafe",
"website": "http://bakersdaughterdc.com/",
"ypid": "YNDCF5BE08D28092DA"
},
{
"address": "1924 Pennsylvania Ave NW #3607, Washington, DC 20006",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.pVu7Xc/ehhftGg480x360&pid=Local",
"latitude": 38.90028381347656,
"longitude": -77.04450225830078,
"maps_url": "https://www.bing.com/maps?ss=ypid.YND17C3E81A52D1EBA",
"name": "Founding Farmers DC",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 822-8783",
"rating": 4,
"rating_count": 18611,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.wearefoundingfarmers.com/location/dc/",
"ypid": "YND17C3E81A52D1EBA"
},
{
"address": "1331 Pennsylvania Ave NW, Washington, DC 20004",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.r4PQR/a1M/JUtA480x360&pid=Local",
"latitude": 38.89632797241211,
"longitude": -77.03115844726562,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN22379E8A5726B4D2",
"name": "Avenue Grill",
"open_hours_text": "Closed · Opens Oct 10 at 6:30 AM",
"open_status": "Closed",
"phone": "(202) 626-6970",
"rating": 3,
"rating_count": 88,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.marriott.com/en-us/hotels/wasjw-jw-marriott-washington-dc/dining/?scid=feed67b0-9a2f-4de1-8df6-114544116108",
"ypid": "YN22379E8A5726B4D2"
},
{
"address": "600 14th St NW, Washington, DC 20005",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.TRcU41qfaBQ74Q480x360&pid=Local",
"latitude": 38.89752197265625,
"longitude": -77.03219604492188,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNBB4F234D4A16B6BE",
"name": "The Hamilton",
"open_hours_text": "Open · Closes 2 AM",
"open_status": "Open",
"phone": "(202) 787-1000",
"rating": 4,
"rating_count": 4062,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.thehamiltondc.com/",
"ypid": "YNBB4F234D4A16B6BE"
},
{
"address": "600 Massachusetts Ave NW, Washington, DC 20001",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.YDA8uqYOx9PpYw480x360&pid=Local",
"latitude": 38.901248931884766,
"longitude": -77.02034759521484,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN992607AA8B60166",
"name": "Founding Farmers & Distillers",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 464-3001",
"rating": 3.5,
"rating_count": 2823,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.wearefoundingfarmers.com/location/founding-farmers-distillers/",
"ypid": "YN992607AA8B60166"
},
{
"address": "1601 14th St NW, Washington, DC 20009",
"category": "Restaurant",
"category_path": "30000.30949",
"image_url": "https://www.bing.com/th?id=OLC.peioRSViQj778w480x360&pid=Local",
"latitude": 38.91139221191406,
"longitude": -77.0315170288086,
"maps_url": "https://www.bing.com/maps?ss=ypid.YND3C1400F458E3792",
"name": "Le Diplomate",
"open_hours_text": "Open · Closes 11 PM",
"open_status": "Open",
"phone": "(202) 332-3333",
"rating": 4.5,
"rating_count": 5829,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "http://lediplomatedc.com/",
"ypid": "YND3C1400F458E3792"
},
{
"address": "1600 Pennsylvania Ave NW, Washington, DC 20500",
"category": "Federal government offices",
"category_path": "30000.30928.35269",
"image_url": "https://www.bing.com/th?id=OLC.0uyPGflaLjhLVA480x360&pid=Local",
"latitude": 38.89766311645508,
"longitude": -77.03655242919922,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNBBF4FDC507FFE6C6",
"name": "The White House",
"open_hours_text": null,
"open_status": null,
"phone": "(202) 456-7041",
"rating": 4,
"rating_count": 764,
"rating_source": "Yelp",
"style_category": "GovernmentAndCommunity",
"website": "https://www.whitehouse.gov/",
"ypid": "YNBBF4FDC507FFE6C6"
},
{
"address": "2021 14th St NW, Washington, DC 20009",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.aZXMxrdd/Rts/g480x360&pid=Local",
"latitude": 38.91789627075195,
"longitude": -77.03144073486328,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNB4975B066B8E0CB9",
"name": "Busboys and Poets",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 387-7638",
"rating": 4,
"rating_count": 2969,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "http://www.busboysandpoets.com/",
"ypid": "YNB4975B066B8E0CB9"
},
{
"address": "3000 K St NW, Washington, DC 20007",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.EtKo5Te1Uks0Nw480x360&pid=Local",
"latitude": 38.90177917480469,
"longitude": -77.05960845947266,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNB03521F0111DC49A",
"name": "Founding Farmers Fishers & Bakers",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 298-8783",
"rating": 4,
"rating_count": 5215,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.wearefoundingfarmers.com/location/founding-farmers-fishers-bakers/",
"ypid": "YNB03521F0111DC49A"
},
{
"address": "88 District Square SW, Washington, DC 20024",
"category": "Mediterranean restaurant",
"category_path": "30000.30949.31051",
"image_url": "https://www.bing.com/th?id=OLC.DGLn7HGQyull4g480x360&pid=Local",
"latitude": 38.87998962402344,
"longitude": -77.02570343017578,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN3AF4F1E1700B3304",
"name": "La Vie",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 991-4655",
"rating": 4,
"rating_count": 1436,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://lavie-dc.com/",
"ypid": "YN3AF4F1E1700B3304"
}
],
"returned": 18,
"source_url": "https://www.bing.com/maps/overlaybfpr?q=restaurants+near+1600+Pennsylvania+Ave+NW%2C+Washington%2C+DC&count=18&first=0&setlang=en-US&cc=US"
}Search
Local businesses matching a category or a business name near a street address, city/state or postal code (US and other Bing Maps markets). One page of up to 30 results with Bing ypid, name, street address, phone, website, coordinates, category, aggregate rating with review count and source (Yelp/Tripadvisor/…), and current open status (Open/Closed in the business’s local time, with Bing’s rendered sentence such as “Open · Closes 10 PM”). Results are not filtered by opening hours: to find what is open now, read open_status on the rows. Use the ypid with business for structured weekly hours.
curl --request POST \
--url https://api.aisa.one/apis/v1/bing-maps/businesses/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "restaurants"
}
'import requests
url = "https://api.aisa.one/apis/v1/bing-maps/businesses/search"
payload = { "query": "restaurants" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'restaurants'})
};
fetch('https://api.aisa.one/apis/v1/bing-maps/businesses/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/bing-maps/businesses/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'restaurants'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bing-maps/businesses/search"
payload := strings.NewReader("{\n \"query\": \"restaurants\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/bing-maps/businesses/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"restaurants\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bing-maps/businesses/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"restaurants\"\n}"
response = http.request(request)
puts response.read_body{
"count": 18,
"has_more": true,
"location": "1600 Pennsylvania Ave NW, Washington, DC",
"next_page": 2,
"observed_at_ms": 1791240313588,
"page": 1,
"query": "restaurants",
"resolved_query": {
"chain_id": null,
"corrected_query": "restaurants near 1600 Pennsylvania Ave NW, Washington, DC",
"keyword": "restaurants",
"location": "Washington, DC"
},
"results": [
{
"address": "800 16th St NW, Washington, DC 20006",
"category": "Restaurant",
"category_path": "30000.30949",
"image_url": "https://www.bing.com/th?id=OLC.ws1oQkyuc+Jyaw480x360&pid=Local",
"latitude": 38.900508880615234,
"longitude": -77.03695678710938,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN5B609F6EC24BDBC8",
"name": "The Lafayette",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 638-2570",
"rating": 4.5,
"rating_count": 175,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.hayadams.com/dining/the-lafayette",
"ypid": "YN5B609F6EC24BDBC8"
},
{
"address": "801 9th St NW, Washington, DC 20001",
"category": "Cuban restaurant",
"category_path": "30000.30949.30996",
"image_url": "https://www.bing.com/th?id=OLC.7WRCqGKzhrRYdQ480x360&pid=Local",
"latitude": 38.90011215209961,
"longitude": -77.02363586425781,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN5324A34C8347FB45",
"name": "Cuba Libre Restaurant & Rum Bar",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 408-1600",
"rating": 4,
"rating_count": 1151,
"rating_source": "Tripadvisor",
"style_category": "Restaurant",
"website": "https://www.cubalibrerestaurant.com/en/washington",
"ypid": "YN5324A34C8347FB45"
},
{
"address": "701 9th St NW, Washington, DC 20001",
"category": "Mediterranean restaurant",
"category_path": "30000.30949.31051",
"image_url": "https://www.bing.com/th?id=OLC.LlOJN+ULZGMwkw480x360&pid=Local",
"latitude": 38.89886093139648,
"longitude": -77.023681640625,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNEE9D01416998B76F",
"name": "Zaytinya",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 638-0800",
"rating": 4,
"rating_count": 6309,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.zaytinya.com/location/washington-dc/",
"ypid": "YNEE9D01416998B76F"
},
{
"address": "1734 N St NW, Washington, DC 20036",
"category": "Mediterranean restaurant",
"category_path": "30000.30949.31051",
"image_url": "https://www.bing.com/th?id=OLC.UKQRqLFImQ8oWg480x360&pid=Local",
"latitude": 38.90702438354492,
"longitude": -77.03984832763672,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN525F7C05D4A448E1",
"name": "Iron Gate Restaurant",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 524-5202",
"rating": 4,
"rating_count": 837,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.irongaterestaurantdc.com/",
"ypid": "YN525F7C05D4A448E1"
},
{
"address": "320 6th St NW, Washington, DC 20004",
"category": "Italian restaurant",
"category_path": "30000.30949.31030",
"image_url": "https://www.bing.com/th?id=OLC.lxws9OKdHwl62w480x360&pid=Local",
"latitude": 38.893829345703125,
"longitude": -77.02055358886719,
"maps_url": "https://www.bing.com/maps?ss=ypid.YND96509A30C3FA2D0",
"name": "Fiola",
"open_hours_text": "Closed · Opens tomorrow 5 PM",
"open_status": "Closed",
"phone": "(202) 628-2888",
"rating": 4,
"rating_count": 879,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "http://www.fioladc.com/",
"ypid": "YND96509A30C3FA2D0"
},
{
"address": "1101 Pennsylvania Ave NW, Washington, DC 20004",
"category": "Brazilian restaurant",
"category_path": "30000.30949.30967",
"image_url": "https://www.bing.com/th?id=OLC.34QBAbZpSXt3cg480x360&pid=Local",
"latitude": 38.895355224609375,
"longitude": -77.02738952636719,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN1D4C548F1D8767BC",
"name": "Fogo de Chão Brazilian Steakhouse",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 347-4668",
"rating": 4,
"rating_count": 2452,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://fogodechao.com/location/washington-dc/",
"ypid": "YN1D4C548F1D8767BC"
},
{
"address": "650 K St NW, Washington, DC 20001",
"category": "Italian restaurant",
"category_path": "30000.30949.31030",
"image_url": "https://www.bing.com/th?id=OLC.7wDgxkBmBUrHAQ480x360&pid=Local",
"latitude": 38.90226364135742,
"longitude": -77.02129364013672,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN486F4E18317EA430",
"name": "RPM Italian",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 204-4480",
"rating": 4,
"rating_count": 1913,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.rpmrestaurants.com/rpm-italian-d-c/",
"ypid": "YN486F4E18317EA430"
},
{
"address": "425 7th St NW, Washington, DC 20004",
"category": "Italian restaurant",
"category_path": "30000.30949.31030",
"image_url": "https://www.bing.com/th?id=OLC.gnfJ9n4ES6CasA480x360&pid=Local",
"latitude": 38.895660400390625,
"longitude": -77.02167510986328,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN662C8E46C59C6E84",
"name": "Carmine's Italian Restaurant - Washington D.C.",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 737-7770",
"rating": 3.5,
"rating_count": 1878,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "http://www.carminesnyc.com/",
"ypid": "YN662C8E46C59C6E84"
},
{
"address": "1201 K St NW, Washington, DC 20005",
"category": "Cafe",
"category_path": "30000.30949.30974",
"image_url": "https://www.bing.com/th?id=OLC.wM1rfYPD7heEtw480x360&pid=Local",
"latitude": 38.90275573730469,
"longitude": -77.0283203125,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNDCF5BE08D28092DA",
"name": "Baker’s Daughter",
"open_hours_text": null,
"open_status": null,
"phone": "(202) 758-0827",
"rating": 3.5,
"rating_count": 11,
"rating_source": "Tripadvisor",
"style_category": "Cafe",
"website": "http://bakersdaughterdc.com/",
"ypid": "YNDCF5BE08D28092DA"
},
{
"address": "1924 Pennsylvania Ave NW #3607, Washington, DC 20006",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.pVu7Xc/ehhftGg480x360&pid=Local",
"latitude": 38.90028381347656,
"longitude": -77.04450225830078,
"maps_url": "https://www.bing.com/maps?ss=ypid.YND17C3E81A52D1EBA",
"name": "Founding Farmers DC",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 822-8783",
"rating": 4,
"rating_count": 18611,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.wearefoundingfarmers.com/location/dc/",
"ypid": "YND17C3E81A52D1EBA"
},
{
"address": "1331 Pennsylvania Ave NW, Washington, DC 20004",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.r4PQR/a1M/JUtA480x360&pid=Local",
"latitude": 38.89632797241211,
"longitude": -77.03115844726562,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN22379E8A5726B4D2",
"name": "Avenue Grill",
"open_hours_text": "Closed · Opens Oct 10 at 6:30 AM",
"open_status": "Closed",
"phone": "(202) 626-6970",
"rating": 3,
"rating_count": 88,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.marriott.com/en-us/hotels/wasjw-jw-marriott-washington-dc/dining/?scid=feed67b0-9a2f-4de1-8df6-114544116108",
"ypid": "YN22379E8A5726B4D2"
},
{
"address": "600 14th St NW, Washington, DC 20005",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.TRcU41qfaBQ74Q480x360&pid=Local",
"latitude": 38.89752197265625,
"longitude": -77.03219604492188,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNBB4F234D4A16B6BE",
"name": "The Hamilton",
"open_hours_text": "Open · Closes 2 AM",
"open_status": "Open",
"phone": "(202) 787-1000",
"rating": 4,
"rating_count": 4062,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.thehamiltondc.com/",
"ypid": "YNBB4F234D4A16B6BE"
},
{
"address": "600 Massachusetts Ave NW, Washington, DC 20001",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.YDA8uqYOx9PpYw480x360&pid=Local",
"latitude": 38.901248931884766,
"longitude": -77.02034759521484,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN992607AA8B60166",
"name": "Founding Farmers & Distillers",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 464-3001",
"rating": 3.5,
"rating_count": 2823,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.wearefoundingfarmers.com/location/founding-farmers-distillers/",
"ypid": "YN992607AA8B60166"
},
{
"address": "1601 14th St NW, Washington, DC 20009",
"category": "Restaurant",
"category_path": "30000.30949",
"image_url": "https://www.bing.com/th?id=OLC.peioRSViQj778w480x360&pid=Local",
"latitude": 38.91139221191406,
"longitude": -77.0315170288086,
"maps_url": "https://www.bing.com/maps?ss=ypid.YND3C1400F458E3792",
"name": "Le Diplomate",
"open_hours_text": "Open · Closes 11 PM",
"open_status": "Open",
"phone": "(202) 332-3333",
"rating": 4.5,
"rating_count": 5829,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "http://lediplomatedc.com/",
"ypid": "YND3C1400F458E3792"
},
{
"address": "1600 Pennsylvania Ave NW, Washington, DC 20500",
"category": "Federal government offices",
"category_path": "30000.30928.35269",
"image_url": "https://www.bing.com/th?id=OLC.0uyPGflaLjhLVA480x360&pid=Local",
"latitude": 38.89766311645508,
"longitude": -77.03655242919922,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNBBF4FDC507FFE6C6",
"name": "The White House",
"open_hours_text": null,
"open_status": null,
"phone": "(202) 456-7041",
"rating": 4,
"rating_count": 764,
"rating_source": "Yelp",
"style_category": "GovernmentAndCommunity",
"website": "https://www.whitehouse.gov/",
"ypid": "YNBBF4FDC507FFE6C6"
},
{
"address": "2021 14th St NW, Washington, DC 20009",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.aZXMxrdd/Rts/g480x360&pid=Local",
"latitude": 38.91789627075195,
"longitude": -77.03144073486328,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNB4975B066B8E0CB9",
"name": "Busboys and Poets",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 387-7638",
"rating": 4,
"rating_count": 2969,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "http://www.busboysandpoets.com/",
"ypid": "YNB4975B066B8E0CB9"
},
{
"address": "3000 K St NW, Washington, DC 20007",
"category": "American restaurant",
"category_path": "30000.30949.31314",
"image_url": "https://www.bing.com/th?id=OLC.EtKo5Te1Uks0Nw480x360&pid=Local",
"latitude": 38.90177917480469,
"longitude": -77.05960845947266,
"maps_url": "https://www.bing.com/maps?ss=ypid.YNB03521F0111DC49A",
"name": "Founding Farmers Fishers & Bakers",
"open_hours_text": "Open · Closes 9 PM",
"open_status": "Open",
"phone": "(202) 298-8783",
"rating": 4,
"rating_count": 5215,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://www.wearefoundingfarmers.com/location/founding-farmers-fishers-bakers/",
"ypid": "YNB03521F0111DC49A"
},
{
"address": "88 District Square SW, Washington, DC 20024",
"category": "Mediterranean restaurant",
"category_path": "30000.30949.31051",
"image_url": "https://www.bing.com/th?id=OLC.DGLn7HGQyull4g480x360&pid=Local",
"latitude": 38.87998962402344,
"longitude": -77.02570343017578,
"maps_url": "https://www.bing.com/maps?ss=ypid.YN3AF4F1E1700B3304",
"name": "La Vie",
"open_hours_text": "Open · Closes 10 PM",
"open_status": "Open",
"phone": "(202) 991-4655",
"rating": 4,
"rating_count": 1436,
"rating_source": "Yelp",
"style_category": "Restaurant",
"website": "https://lavie-dc.com/",
"ypid": "YN3AF4F1E1700B3304"
}
],
"returned": 18,
"source_url": "https://www.bing.com/maps/overlaybfpr?q=restaurants+near+1600+Pennsylvania+Ave+NW%2C+Washington%2C+DC&count=18&first=0&setlang=en-US&cc=US"
}Request contract
- Method and path: POST /apis/v1/bing-maps/businesses/search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bing-maps/businesses/search
{
"operationId": "bing-maps.businesses.search",
"method": "POST",
"path": "/apis/v1/bing-maps/businesses/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"location": "1600 Pennsylvania Ave NW, Washington, DC",
"query": "restaurants"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"count": {
"default": 18,
"description": "Results per page.\n\nProvider reference: minimum 1; maximum 30; default 18.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 30,
"min": 1
}
},
"latitude": {
"description": "Optional map centre latitude; provide together with longitude to bias results when no location text is given.\n\nProvider reference: minimum -90; maximum 90.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 90,
"min": -90
}
},
"location": {
"description": "Where to look: a street address (\"1600 Pennsylvania Ave NW, Washington, DC\"), \"City, ST\" or a postal code. Sent to Bing as \"<query> near <location>\". Optional when query already names the place.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"longitude": {
"description": "Optional map centre longitude; provide together with latitude.\n\nProvider reference: minimum -180; maximum 180.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 180,
"min": -180
}
},
"page": {
"default": 1,
"description": "Result page; page N returns the businesses among Bing's top N*count that are not among its top (N-1)*count, so consecutive pages do not repeat businesses. next_page is null once a page adds no business beyond the earlier pages (Bing caps one response at about 50).\n\nProvider reference: minimum 1; maximum 5; default 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 5,
"min": 1
}
},
"query": {
"description": "What to find: a category such as \"restaurants\", \"pharmacies\", \"plumbers\", or a business name such as \"Franklin Barbecue\".",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Result page; page N returns the businesses among Bing's top N*count that are not among its top (N-1)*count, so consecutive pages do not repeat businesses. next_page is null once a page adds no business beyond the earlier pages (Bing caps one response at about 50).
Provider reference: minimum 1; maximum 5; default 1.
Response
Local businesses matching a category or a business name near a street address, city/state or postal code (US and other Bing Maps markets). One page of up to 30 results with Bing ypid, name, street address, phone, website, coordinates, category, aggregate rating with review count and source (Yelp/Tripadvisor/...), and current open status (Open/Closed in the business's local time, with Bing's rendered sentence such as "Open · Closes 10 PM"). Results are not filtered by opening hours: to find what is open now, read open_status on the rows. Use the ypid with business for structured weekly hours.
The response contains the tool result directly.
The provider identifies results as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
address | string | Single-line street address as Bing prints it. |
category | string | |
category_path | string | |
image_url | string | |
latitude | number | |
longitude | number | |
maps_url | string | |
name | string | |
open_hours_text | string | Bing's rendered status sentence, e.g. "Open · Closes 10 PM", "Closed · Opens tomorrow 7 AM", "Closes in 24 mins" or "Open 24 hours". |
open_status | string | "Open" or "Closed" at the time of the call in the business's own time, as Bing renders it in the result row; null when Bing shows no hours for the business. |
phone | string | Display phone, e.g. "(202) 638-2570". |
rating | number | Rating exactly as Bing reports it; scale depends on rating_source (for example Yelp versus ZocDoc). |
rating_count | number | |
rating_source | string | Yelp, Tripadvisor, Foursquare, ... as shown by Bing. |
style_category | string | |
website | string | |
ypid | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.