DuckDuckGo Maps Search
curl --request POST \
--url https://api.aisa.one/apis/v1/duckduckgo-maps/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bbox": "<string>",
"q": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/duckduckgo-maps/search"
payload = {
"bbox": "<string>",
"q": "<string>"
}
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({bbox: '<string>', q: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/duckduckgo-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/duckduckgo-maps/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([
'bbox' => '<string>',
'q' => '<string>'
]),
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/duckduckgo-maps/search"
payload := strings.NewReader("{\n \"bbox\": \"<string>\",\n \"q\": \"<string>\"\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/duckduckgo-maps/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bbox\": \"<string>\",\n \"q\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/duckduckgo-maps/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 \"bbox\": \"<string>\",\n \"q\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"local_results": [
{
"address": "<string>",
"address_lines": [
"<string>"
],
"city": "<string>",
"country_code": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"images": [
"<string>"
],
"link": "<string>",
"open_state": "<string>",
"operating_hours": {
"mon": "<string>"
},
"phone": "<string>",
"phone_formatted": "<string>",
"place_id": "<string>",
"position": 123,
"price": "<string>",
"price_score": 123,
"rating": 123,
"review_details": [
{
"date": "<string>",
"id": "<string>",
"rating": 123,
"snippet": "<string>",
"user": {
"id": "<string>",
"name": "<string>"
}
}
],
"reviews": 123,
"source": [
{
"name": "<string>",
"place_id": "<string>"
}
],
"thumbnail": "<string>",
"timezone": "<string>",
"title": "<string>",
"type": "<string>",
"website": "<string>"
}
],
"search_parameters": {
"bbox": "<string>",
"lat": 123,
"lon": 123,
"q": "<string>",
"strict_bbox": true
},
"submit_feedback_for_this_response_here": "<string>"
}
}DuckDuckGo 地图
DuckDuckGo Maps Search
DuckDuckGo Maps Search
POST
https://api.aisa.one
/
apis
/
v1
/
duckduckgo-maps
/
search
DuckDuckGo Maps Search
curl --request POST \
--url https://api.aisa.one/apis/v1/duckduckgo-maps/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bbox": "<string>",
"q": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/duckduckgo-maps/search"
payload = {
"bbox": "<string>",
"q": "<string>"
}
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({bbox: '<string>', q: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/duckduckgo-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/duckduckgo-maps/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([
'bbox' => '<string>',
'q' => '<string>'
]),
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/duckduckgo-maps/search"
payload := strings.NewReader("{\n \"bbox\": \"<string>\",\n \"q\": \"<string>\"\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/duckduckgo-maps/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bbox\": \"<string>\",\n \"q\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/duckduckgo-maps/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 \"bbox\": \"<string>\",\n \"q\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"local_results": [
{
"address": "<string>",
"address_lines": [
"<string>"
],
"city": "<string>",
"country_code": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"images": [
"<string>"
],
"link": "<string>",
"open_state": "<string>",
"operating_hours": {
"mon": "<string>"
},
"phone": "<string>",
"phone_formatted": "<string>",
"place_id": "<string>",
"position": 123,
"price": "<string>",
"price_score": 123,
"rating": 123,
"review_details": [
{
"date": "<string>",
"id": "<string>",
"rating": 123,
"snippet": "<string>",
"user": {
"id": "<string>",
"name": "<string>"
}
}
],
"reviews": 123,
"source": [
{
"name": "<string>",
"place_id": "<string>"
}
],
"thumbnail": "<string>",
"timezone": "<string>",
"title": "<string>",
"type": "<string>",
"website": "<string>"
}
],
"search_parameters": {
"bbox": "<string>",
"lat": 123,
"lon": 123,
"q": "<string>",
"strict_bbox": true
},
"submit_feedback_for_this_response_here": "<string>"
}
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: POST /apis/v1/duckduckgo-maps/search
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/duckduckgo-maps/search
{
"operationId": "post_duckduckgo_maps_apis_v1_duckduckgo_maps_search",
"method": "POST",
"path": "/apis/v1/duckduckgo-maps/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"additionalProperties": false,
"properties": {
"bbox": {
"pattern": "^-?\\d+(\\.\\d+)?(,-?\\d+(\\.\\d+)?){3}$",
"type": "string"
},
"q": {
"maxLength": 500,
"minLength": 1,
"type": "string"
},
"strict_bbox": {
"type": "boolean"
}
},
"required": [
"q",
"bbox"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"lat": {
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"maximum": 180,
"minimum": -180,
"type": "number"
},
"q": {
"maxLength": 500,
"minLength": 1,
"type": "string"
},
"strict_bbox": {
"type": "boolean"
}
},
"required": [
"q",
"lat",
"lon"
],
"type": "object"
}
]
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"local_results": {
"items": {
"additionalProperties": true,
"properties": {
"address": {
"type": "string"
},
"address_lines": {
"items": {
"type": "string"
},
"type": "array"
},
"city": {
"type": "string"
},
"country_code": {
"type": "string"
},
"gps_coordinates": {
"additionalProperties": true,
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
},
"type": "object"
},
"images": {
"items": {
"type": "string"
},
"type": "array"
},
"link": {
"type": "string"
},
"menu": {
"type": "string"
},
"open_state": {
"type": "string"
},
"operating_hours": {
"additionalProperties": true,
"properties": {
"fri": {
"type": "string"
},
"mon": {
"type": "string"
},
"sat": {
"type": "string"
},
"sun": {
"type": "string"
},
"thu": {
"type": "string"
},
"tue": {
"type": "string"
},
"wed": {
"type": "string"
}
},
"type": "object"
},
"phone": {
"type": "string"
},
"phone_formatted": {
"type": "string"
},
"place_id": {
"type": "string"
},
"position": {
"type": "integer"
},
"price": {
"type": "string"
},
"price_score": {
"type": "integer"
},
"rating": {
"type": [
"integer",
"number"
]
},
"review_details": {
"items": {
"additionalProperties": true,
"properties": {
"date": {
"type": "string"
},
"id": {
"type": "string"
},
"rating": {
"type": "integer"
},
"snippet": {
"type": "string"
},
"user": {
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"thumbnail": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"reviews": {
"type": "integer"
},
"source": {
"items": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
},
"place_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"thumbnail": {
"type": "string"
},
"timezone": {
"type": "string"
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"website": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"search_parameters": {
"additionalProperties": true,
"properties": {
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"q": {
"type": "string"
},
"strict_bbox": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 当前暂无预估金额。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。响应时间
- 通常 10 秒内返回。
授权
请求体
application/json