Search Bing Maps
curl --request GET \
--url https://api.aisa.one/apis/v1/bing/maps-search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/bing/maps-search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/bing/maps-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-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bing/maps-search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/bing/maps-search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bing/maps-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"local_results": [
{
"items": [
{
"address": "<string>",
"entry_type": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"link": "<string>",
"open_state": "<string>",
"phone": "<string>",
"place_id": "<string>",
"position": 123,
"rating": 123,
"rating_provider": "<string>",
"reviews": 123,
"thumbnail": "<string>",
"title": "<string>",
"type": "<string>",
"website": "<string>"
}
],
"title": "<string>"
}
],
"place_results": {
"action": {
"link": "<string>",
"title": "<string>"
},
"address": "<string>",
"average_stay_minutes": 123,
"claimed": true,
"directions": "<string>",
"entry_type": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"hours": {
"mon": [
"<string>"
]
},
"images": [
{
"link": "<string>",
"thumbnail": "<string>"
}
],
"link": "<string>",
"open_state": "<string>",
"phone": "<string>",
"place_id": "<string>",
"position": 123,
"rating": 123,
"rating_provider": "<string>",
"reviews": [
{
"link": "<string>",
"rating": 123,
"rating_distribution": [
{
"count": 123,
"percentage": 123,
"rating": "<string>"
}
],
"reviews": [
{
"date": "<string>",
"link": "<string>",
"rating": 123,
"text": "<string>",
"user_name": "<string>"
}
],
"source": "<string>",
"total_reviews": 123
}
],
"structured_address": {
"address_line": "<string>",
"administrative_area": "<string>",
"city": "<string>",
"country_code": "<string>",
"post_code": "<string>"
},
"thumbnail": "<string>",
"title": "<string>",
"total_reviews": 123,
"type": "<string>",
"types": [
"<string>"
],
"website": "<string>"
},
"search_parameters": {
"count": 123,
"cp": "<string>",
"first": 123,
"place_id": "<string>",
"q": "<string>",
"setlang": "<string>"
},
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "first"
}
}Bing Keyword Data
Search Bing Maps
Search Bing Maps
GET
https://api.aisa.one
/
apis
/
v1
/
bing
/
maps-search
Search Bing Maps
curl --request GET \
--url https://api.aisa.one/apis/v1/bing/maps-search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/bing/maps-search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/bing/maps-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-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bing/maps-search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/bing/maps-search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bing/maps-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"local_results": [
{
"items": [
{
"address": "<string>",
"entry_type": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"link": "<string>",
"open_state": "<string>",
"phone": "<string>",
"place_id": "<string>",
"position": 123,
"rating": 123,
"rating_provider": "<string>",
"reviews": 123,
"thumbnail": "<string>",
"title": "<string>",
"type": "<string>",
"website": "<string>"
}
],
"title": "<string>"
}
],
"place_results": {
"action": {
"link": "<string>",
"title": "<string>"
},
"address": "<string>",
"average_stay_minutes": 123,
"claimed": true,
"directions": "<string>",
"entry_type": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"hours": {
"mon": [
"<string>"
]
},
"images": [
{
"link": "<string>",
"thumbnail": "<string>"
}
],
"link": "<string>",
"open_state": "<string>",
"phone": "<string>",
"place_id": "<string>",
"position": 123,
"rating": 123,
"rating_provider": "<string>",
"reviews": [
{
"link": "<string>",
"rating": 123,
"rating_distribution": [
{
"count": 123,
"percentage": 123,
"rating": "<string>"
}
],
"reviews": [
{
"date": "<string>",
"link": "<string>",
"rating": 123,
"text": "<string>",
"user_name": "<string>"
}
],
"source": "<string>",
"total_reviews": 123
}
],
"structured_address": {
"address_line": "<string>",
"administrative_area": "<string>",
"city": "<string>",
"country_code": "<string>",
"post_code": "<string>"
},
"thumbnail": "<string>",
"title": "<string>",
"total_reviews": 123,
"type": "<string>",
"types": [
"<string>"
],
"website": "<string>"
},
"search_parameters": {
"count": 123,
"cp": "<string>",
"first": 123,
"place_id": "<string>",
"q": "<string>",
"setlang": "<string>"
},
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "first"
}
}
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.
Request contract
- Method and path: GET /apis/v1/bing/maps-search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bing/maps-search - count: query; optional
- cp: query; optional
- first: query; optional
- place_id: query; optional
- q: query; optional
- setlang: query; optional
- timeout: query; optional
{
"operationId": "bing.maps-search",
"method": "GET",
"path": "/apis/v1/bing/maps-search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "count",
"required": false,
"schema": {
"maximum": 30,
"minimum": 1,
"type": "integer"
}
},
{
"in": "query",
"name": "cp",
"required": false,
"schema": {
"maxLength": 128,
"minLength": 3,
"type": "string"
}
},
{
"in": "query",
"name": "first",
"required": false,
"schema": {
"maximum": 10000,
"minimum": 0,
"type": "integer"
}
},
{
"in": "query",
"name": "place_id",
"required": false,
"schema": {
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "q",
"required": false,
"schema": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "setlang",
"required": false,
"schema": {
"maxLength": 32,
"minLength": 2,
"type": "string"
}
},
{
"in": "query",
"name": "timeout",
"required": false,
"schema": {
"exclusiveMinimum": 0,
"maximum": 90,
"type": "number"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.00015 USD per successful request. Your account price may differ; use a request quote where supported.Pagination
- Pass
aisa_pagination.next_cursorasfirst(query parameter) to fetch the next page; stop whenaisa_pagination.has_moreis false. - The same values are returned in the
X-AISA-Has-MoreandX-AISA-Next-Cursorresponse headers. - Page size parameter:
count - Results may repeat across pages; de-duplicate by a stable id.
Authorizations
Query Parameters
Response
Normalized successful response