Bing Maps Search
curl --request POST \
--url https://api.aisa.one/apis/v1/serpapi/bing-maps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"q": "coffee"
}'import requests
url = "https://api.aisa.one/apis/v1/serpapi/bing-maps"
payload = { "q": "coffee" }
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({q: 'coffee'})
};
fetch('https://api.aisa.one/apis/v1/serpapi/bing-maps', 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/serpapi/bing-maps",
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([
'q' => 'coffee'
]),
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/serpapi/bing-maps"
payload := strings.NewReader("{\n \"q\": \"coffee\"\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/serpapi/bing-maps")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"coffee\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/serpapi/bing-maps")
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 \"q\": \"coffee\"\n}"
response = http.request(request)
puts response.read_body{
"filters": [
{
"link": "<string>",
"serpapi_link": "<string>",
"title": "<string>"
}
],
"local_results": [
{
"items": [
{
"address": "<string>",
"description": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"open_state": "<string>",
"phone": "<string>",
"place_id": "<string>",
"price": "<string>",
"price_description": "<string>",
"rating": 123,
"reviews": 123,
"secondary_type": "<string>",
"source": "<string>",
"thumbnail": "<string>",
"title": "<string>",
"type": "<string>",
"website": "<string>"
}
],
"link": "<string>",
"title": "<string>"
}
],
"place_results": {
"address": "<string>",
"amenities": [
"<string>"
],
"claimed": true,
"customer_says": [
{
"text": "<string>",
"title": "<string>"
}
],
"directions": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"hours": {},
"images": [
{
"link": "<string>",
"thumbnail": "<string>"
}
],
"menu": "<string>",
"open_state": "<string>",
"people_also_search_for": {
"items": [
{
"link": "<string>",
"place_id": "<string>",
"rating": 123,
"reviews": 123,
"source": "<string>",
"thumbnail": "<string>",
"title": "<string>"
}
]
},
"phone": "<string>",
"place_id": "<string>",
"rating": 123,
"rating_provider": "<string>",
"reviews": [
{
"rating": 123,
"reviews": [
{
"date": "<string>",
"link": "<string>",
"rating": 123,
"text": "<string>",
"user_name": "<string>"
}
],
"see_all_link": "<string>",
"source": "<string>",
"source_logo": "<string>",
"total_reviews": 123
}
],
"service_areas": "<string>",
"social": [
{
"link": "<string>",
"name": "<string>",
"thumbnail": "<string>"
}
],
"title": "<string>",
"total_reviews": 123,
"type": "<string>",
"website": "<string>"
},
"search_metadata": {
"bing_maps_url": "<string>",
"created_at": "<string>",
"id": "<string>",
"json_endpoint": "<string>",
"prettify_html_file": "<string>",
"processed_at": "<string>",
"raw_html_file": "<string>",
"status": "<string>",
"total_time_taken": 123
},
"search_parameters": {}
}SerpApi
Bing Maps Search
Bing Maps Search
POST
https://api.aisa.one
/
apis
/
v1
/
serpapi
/
bing-maps
Bing Maps Search
curl --request POST \
--url https://api.aisa.one/apis/v1/serpapi/bing-maps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"q": "coffee"
}'import requests
url = "https://api.aisa.one/apis/v1/serpapi/bing-maps"
payload = { "q": "coffee" }
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({q: 'coffee'})
};
fetch('https://api.aisa.one/apis/v1/serpapi/bing-maps', 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/serpapi/bing-maps",
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([
'q' => 'coffee'
]),
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/serpapi/bing-maps"
payload := strings.NewReader("{\n \"q\": \"coffee\"\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/serpapi/bing-maps")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"coffee\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/serpapi/bing-maps")
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 \"q\": \"coffee\"\n}"
response = http.request(request)
puts response.read_body{
"filters": [
{
"link": "<string>",
"serpapi_link": "<string>",
"title": "<string>"
}
],
"local_results": [
{
"items": [
{
"address": "<string>",
"description": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"open_state": "<string>",
"phone": "<string>",
"place_id": "<string>",
"price": "<string>",
"price_description": "<string>",
"rating": 123,
"reviews": 123,
"secondary_type": "<string>",
"source": "<string>",
"thumbnail": "<string>",
"title": "<string>",
"type": "<string>",
"website": "<string>"
}
],
"link": "<string>",
"title": "<string>"
}
],
"place_results": {
"address": "<string>",
"amenities": [
"<string>"
],
"claimed": true,
"customer_says": [
{
"text": "<string>",
"title": "<string>"
}
],
"directions": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"hours": {},
"images": [
{
"link": "<string>",
"thumbnail": "<string>"
}
],
"menu": "<string>",
"open_state": "<string>",
"people_also_search_for": {
"items": [
{
"link": "<string>",
"place_id": "<string>",
"rating": 123,
"reviews": 123,
"source": "<string>",
"thumbnail": "<string>",
"title": "<string>"
}
]
},
"phone": "<string>",
"place_id": "<string>",
"rating": 123,
"rating_provider": "<string>",
"reviews": [
{
"rating": 123,
"reviews": [
{
"date": "<string>",
"link": "<string>",
"rating": 123,
"text": "<string>",
"user_name": "<string>"
}
],
"see_all_link": "<string>",
"source": "<string>",
"source_logo": "<string>",
"total_reviews": 123
}
],
"service_areas": "<string>",
"social": [
{
"link": "<string>",
"name": "<string>",
"thumbnail": "<string>"
}
],
"title": "<string>",
"total_reviews": 123,
"type": "<string>",
"website": "<string>"
},
"search_metadata": {
"bing_maps_url": "<string>",
"created_at": "<string>",
"id": "<string>",
"json_endpoint": "<string>",
"prettify_html_file": "<string>",
"processed_at": "<string>",
"raw_html_file": "<string>",
"status": "<string>",
"total_time_taken": 123
},
"search_parameters": {}
}请求规范
- 方法与路径: POST /apis/v1/serpapi/bing-maps
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/serpapi/bing-maps
{
"operationId": "serpapi.bing-maps",
"method": "POST",
"path": "/apis/v1/serpapi/bing-maps",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"count": {
"description": "Number of results per page (maximum 30). Controls how many results are returned.",
"examples": [
10,
20,
30
],
"type": "integer"
},
"cp": {
"description": "GPS coordinates formatted as 'latitude~longitude' (e.g., '40.7455096~-74.0083012'). Specifies the center point for the search area.",
"examples": [
"40.7455096~-74.0083012",
"34.052235~-118.243683"
],
"type": "string"
},
"first": {
"description": "Result offset for pagination (defaults to 0). Used to retrieve subsequent pages of results.",
"examples": [
0,
10,
20
],
"type": "integer"
},
"no_cache": {
"description": "Set to true to bypass cached results and force a fresh API call.",
"type": "boolean"
},
"place_id": {
"description": "Unique reference identifier for a specific location. Can be used independently of the q parameter to retrieve details about a specific place.",
"examples": [
"YN873x14745254116347186830"
],
"type": "string"
},
"q": {
"description": "Search query for Bing Maps (e.g., 'coffee', 'restaurants', 'hotels near Times Square'). Use specific location queries for better results.",
"examples": [
"coffee",
"pizza near Central Park",
"hotels in Seattle"
],
"type": "string"
},
"setlang": {
"description": "2-character ISO 3166-1 language code for localization (e.g., 'us', 'de', 'gb'). Sets the language for results.",
"examples": [
"us",
"de",
"gb",
"fr"
],
"type": "string"
}
},
"required": [
"q"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0253 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
application/json