curl --request GET \
--url https://api.aisa.one/apis/v1/brave/local/place_search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/brave/local/place_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/brave/local/place_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/brave/local/place_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/brave/local/place_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/brave/local/place_search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/brave/local/place_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{
"addresses": [
{
"coordinates": [
123,
123
],
"name": "<string>",
"distance": {
"units": "<string>",
"value": 123
},
"pois": [],
"pois_nearby": [],
"postal_address": {
"displayAddress": "<string>",
"addressLocality": "<string>",
"addressRegion": "<string>",
"country": "<string>",
"postalCode": "<string>",
"streetAddress": "<string>",
"type": "PostalAddress"
},
"type": "address",
"zoom_level": 15
}
],
"cities": [
{
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "city"
}
],
"countries": [
{
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "country"
}
],
"location": {
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>"
},
"mixed": [],
"neighborhoods": [
{
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "neighborhood"
}
],
"query": {
"original": "<string>",
"altered": "<string>",
"show_strict_warning": true,
"spellcheck_off": true
},
"regions": [
{
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "region"
}
],
"results": [
{
"provider_url": "<string>",
"title": "<string>",
"url": "<string>",
"action": {
"type": "<string>",
"url": "<string>"
},
"categories": [],
"contact": {
"email": "<string>",
"telephone": "<string>"
},
"coordinates": {
"[0]": 123,
"[1]": 123
},
"description": "",
"distance": {
"units": "<string>",
"value": 123
},
"family_friendly": true,
"fetched_content_timestamp": 123,
"icon_category": "<string>",
"id": "<string>",
"is_source_both": false,
"is_source_local": false,
"language": "<string>",
"opening_hours": {
"current_day": [
{
"abbr_name": "<string>",
"closes": "<string>",
"full_name": "<string>",
"opens": "<string>"
}
],
"days": [
[
{
"abbr_name": "<string>",
"closes": "<string>",
"full_name": "<string>",
"opens": "<string>"
}
]
]
},
"page_age": "<string>",
"page_fetched": "<string>",
"pictures": {
"results": [
{
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
}
],
"viewMoreUrl": "<string>"
},
"postal_address": {
"displayAddress": "<string>",
"addressLocality": "<string>",
"addressRegion": "<string>",
"country": "<string>",
"postalCode": "<string>",
"streetAddress": "<string>",
"type": "PostalAddress"
},
"price_range": "<string>",
"profile": {
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>"
},
"profiles": [
{
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>",
"type": "external"
}
],
"rating": {
"bestRating": 123,
"ratingValue": 1,
"is_tripadvisor": false,
"profile": {
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>"
},
"reviewCount": 123
},
"results": [
{
"meta_url": {
"favicon": "<string>",
"netloc": "<string>",
"path": "<string>",
"scheme": "<string>",
"hostname": "<string>"
},
"title": "<string>",
"url": "<string>",
"description": "",
"family_friendly": true,
"fetched_content_timestamp": 123,
"is_source_both": false,
"is_source_local": false,
"language": "<string>",
"page_age": "<string>",
"page_fetched": "<string>",
"profile": {
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>"
}
}
],
"reviews": {
"results": [
{
"author": {
"name": "<string>",
"email": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "person",
"url": "<string>"
},
"date": "<string>",
"description": "<string>",
"language": "<string>",
"rating": {
"bestRating": 123,
"ratingValue": 1,
"is_tripadvisor": false,
"profile": {
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>"
},
"reviewCount": 123
},
"review_url": "<string>",
"title": "<string>"
}
],
"reviews_in_foreign_language": true,
"viewMoreUrl": "<string>"
},
"serves_cuisine": [
"<string>"
],
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"timezone": "<string>",
"timezone_offset": 123,
"type": "location_result",
"zoom_level": 7
}
],
"streets": [
{
"coordinates": [
123,
123
],
"name": "<string>",
"distance": {
"units": "<string>",
"value": 123
},
"pois": [],
"pois_nearby": [],
"postal_address": {
"displayAddress": "<string>",
"addressLocality": "<string>",
"addressRegion": "<string>",
"country": "<string>",
"postalCode": "<string>",
"streetAddress": "<string>",
"type": "PostalAddress"
},
"type": "address",
"zoom_level": 15
}
],
"type": "locations"
}Place Search
Place Search
curl --request GET \
--url https://api.aisa.one/apis/v1/brave/local/place_search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/brave/local/place_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/brave/local/place_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/brave/local/place_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/brave/local/place_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/brave/local/place_search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/brave/local/place_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{
"addresses": [
{
"coordinates": [
123,
123
],
"name": "<string>",
"distance": {
"units": "<string>",
"value": 123
},
"pois": [],
"pois_nearby": [],
"postal_address": {
"displayAddress": "<string>",
"addressLocality": "<string>",
"addressRegion": "<string>",
"country": "<string>",
"postalCode": "<string>",
"streetAddress": "<string>",
"type": "PostalAddress"
},
"type": "address",
"zoom_level": 15
}
],
"cities": [
{
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "city"
}
],
"countries": [
{
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "country"
}
],
"location": {
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>"
},
"mixed": [],
"neighborhoods": [
{
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "neighborhood"
}
],
"query": {
"original": "<string>",
"altered": "<string>",
"show_strict_warning": true,
"spellcheck_off": true
},
"regions": [
{
"coordinates": [
123,
123
],
"country": "<string>",
"name": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "region"
}
],
"results": [
{
"provider_url": "<string>",
"title": "<string>",
"url": "<string>",
"action": {
"type": "<string>",
"url": "<string>"
},
"categories": [],
"contact": {
"email": "<string>",
"telephone": "<string>"
},
"coordinates": {
"[0]": 123,
"[1]": 123
},
"description": "",
"distance": {
"units": "<string>",
"value": 123
},
"family_friendly": true,
"fetched_content_timestamp": 123,
"icon_category": "<string>",
"id": "<string>",
"is_source_both": false,
"is_source_local": false,
"language": "<string>",
"opening_hours": {
"current_day": [
{
"abbr_name": "<string>",
"closes": "<string>",
"full_name": "<string>",
"opens": "<string>"
}
],
"days": [
[
{
"abbr_name": "<string>",
"closes": "<string>",
"full_name": "<string>",
"opens": "<string>"
}
]
]
},
"page_age": "<string>",
"page_fetched": "<string>",
"pictures": {
"results": [
{
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
}
],
"viewMoreUrl": "<string>"
},
"postal_address": {
"displayAddress": "<string>",
"addressLocality": "<string>",
"addressRegion": "<string>",
"country": "<string>",
"postalCode": "<string>",
"streetAddress": "<string>",
"type": "PostalAddress"
},
"price_range": "<string>",
"profile": {
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>"
},
"profiles": [
{
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>",
"type": "external"
}
],
"rating": {
"bestRating": 123,
"ratingValue": 1,
"is_tripadvisor": false,
"profile": {
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>"
},
"reviewCount": 123
},
"results": [
{
"meta_url": {
"favicon": "<string>",
"netloc": "<string>",
"path": "<string>",
"scheme": "<string>",
"hostname": "<string>"
},
"title": "<string>",
"url": "<string>",
"description": "",
"family_friendly": true,
"fetched_content_timestamp": 123,
"is_source_both": false,
"is_source_local": false,
"language": "<string>",
"page_age": "<string>",
"page_fetched": "<string>",
"profile": {
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>"
}
}
],
"reviews": {
"results": [
{
"author": {
"name": "<string>",
"email": "<string>",
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"type": "person",
"url": "<string>"
},
"date": "<string>",
"description": "<string>",
"language": "<string>",
"rating": {
"bestRating": 123,
"ratingValue": 1,
"is_tripadvisor": false,
"profile": {
"name": "<string>",
"url": "<string>",
"img": "<string>",
"long_name": "<string>"
},
"reviewCount": 123
},
"review_url": "<string>",
"title": "<string>"
}
],
"reviews_in_foreign_language": true,
"viewMoreUrl": "<string>"
},
"serves_cuisine": [
"<string>"
],
"thumbnail": {
"src": "<string>",
"alt": "<string>",
"bg_color": "<string>",
"duplicated": true,
"height": 123,
"logo": true,
"original": "<string>",
"theme": "<string>",
"width": 123
},
"timezone": "<string>",
"timezone_offset": 123,
"type": "location_result",
"zoom_level": 7
}
],
"streets": [
{
"coordinates": [
123,
123
],
"name": "<string>",
"distance": {
"units": "<string>",
"value": 123
},
"pois": [],
"pois_nearby": [],
"postal_address": {
"displayAddress": "<string>",
"addressLocality": "<string>",
"addressRegion": "<string>",
"country": "<string>",
"postalCode": "<string>",
"streetAddress": "<string>",
"type": "PostalAddress"
},
"type": "address",
"zoom_level": 15
}
],
"type": "locations"
}Request contract
- Method and path: GET /apis/v1/brave/local/place_search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/brave/local/place_search - accept: header; optional
- api-version: header; optional
- cache-control: header; optional
- user-agent: header; optional
- count: query; optional
- country: query; optional
- geoloc: query; optional
- latitude: query; optional
- location: query; optional
- longitude: query; optional
- q: query; optional
- radius: query; optional
- safesearch: query; optional
- search_lang: query; optional
- spellcheck: query; optional
- ui_lang: query; optional
- units: query; optional
{
"operationId": "any_brave_search_apis_v1_brave_local_place_search",
"method": "GET",
"path": "/apis/v1/brave/local/place_search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"deprecated": false,
"description": "The default supported media type is application/json.",
"examples": {
"0": {
"value": "application/json"
}
},
"in": "header",
"name": "accept",
"required": false,
"schema": {
"allOf": [
{
"enum": [
"application/json",
"*/*"
],
"title": "Accept",
"type": "string"
},
{
"default": "application/json"
}
],
"description": "The default supported media type is application/json.",
"examples": [
"application/json"
],
"title": "Media type"
}
},
{
"deprecated": false,
"description": "The API version to use. This is denoted by the format <code>YYYY-MM-DD</code>. Default is the latest that is available. Read more about <a href=\"/documentation/guides/versioning\">API versioning</a>.",
"in": "header",
"name": "api-version",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The API version to use. This is denoted by the format <code>YYYY-MM-DD</code>. Default is the latest that is available. Read more about <a href=\"/documentation/guides/versioning\">API versioning</a>.",
"title": "API version"
}
},
{
"deprecated": false,
"description": "Brave Search will return cached content by default. To prevent caching set the Cache-Control header to <code>no-cache</code>. This is currently done as best effort.",
"in": "header",
"name": "cache-control",
"required": false,
"schema": {
"anyOf": [
{
"const": "no-cache",
"enum": [
"no-cache"
],
"title": "CacheControl",
"type": "string"
},
{
"type": "null"
}
],
"description": "Brave Search will return cached content by default. To prevent caching set the Cache-Control header to <code>no-cache</code>. This is currently done as best effort.",
"title": "Cache control"
}
},
{
"deprecated": false,
"description": "The user agent originating the request. Brave search can utilize the user agent to provide a different experience depending on the device as described by the string. The user agent should follow the commonly used browser agent strings on each platform. For more information on curating user agents, see <a href=\"https://www.rfc-editor.org/rfc/rfc9110.html#name-user-agent\">RFC 9110</a>.",
"examples": {
"Android": {
"description": "Android",
"value": "Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.71 Mobile Safari/537.36"
},
"Windows": {
"description": "Windows",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
},
"iOS": {
"description": "iOS",
"value": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/103.0.5060.63 Mobile/15E148 Safari/604.1"
},
"macOS": {
"description": "macOS",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
}
},
"in": "header",
"name": "user-agent",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The user agent originating the request. Brave search can utilize the user agent to provide a different experience depending on the device as described by the string. The user agent should follow the commonly used browser agent strings on each platform. For more information on curating user agents, see <a href=\"https://www.rfc-editor.org/rfc/rfc9110.html#name-user-agent\">RFC 9110</a>.",
"title": "User agent"
}
},
{
"deprecated": false,
"description": "Number of results to return. The maximum is 100.",
"in": "query",
"name": "count",
"required": false,
"schema": {
"default": 20,
"description": "Number of results to return. The maximum is 100.",
"maximum": 100,
"minimum": 1,
"title": "Count",
"type": "integer"
}
},
{
"deprecated": false,
"description": "Two-letter country code (ISO 3166-1 alpha-2) to scope the search.",
"in": "query",
"name": "country",
"required": false,
"schema": {
"allOf": [
{
"enum": [
"AR",
"AU",
"AT",
"BE",
"BR",
"CA",
"CL",
"DK",
"FI",
"FR",
"DE",
"GR",
"HK",
"IN",
"ID",
"IT",
"JP",
"KR",
"MY",
"MX",
"NL",
"NZ",
"NO",
"CN",
"PL",
"PT",
"PH",
"RU",
"SA",
"ZA",
"ES",
"SE",
"CH",
"TW",
"TR",
"GB",
"US",
"ALL"
],
"title": "SearchCountry",
"type": "string"
},
{
"default": "US"
}
],
"description": "Two-letter country code (ISO 3166-1 alpha-2) to scope the search."
}
},
{
"deprecated": false,
"description": "Optional geolocation of the user in the format <code><latitude>x<longitude></code>. Used to calculate distance values in results.",
"in": "query",
"name": "geoloc",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional geolocation of the user in the format <code><latitude>x<longitude></code>. Used to calculate distance values in results.",
"title": "Geoloc"
}
},
{
"deprecated": false,
"description": "Latitude of the geographical coordinates.",
"in": "query",
"name": "latitude",
"required": false,
"schema": {
"anyOf": [
{
"maximum": 90,
"minimum": -90,
"type": "number"
},
{
"type": "null"
}
],
"description": "Latitude of the geographical coordinates.",
"title": "Latitude"
}
},
{
"deprecated": false,
"description": "<p>Location string to search for points of interest in an area.\nThis is alternative to the <code>latitude</code> and <code>longitude</code> parameters.</p>\n<ul>\n<li>For locations in US prefer the form <code><city> <state> <country name></code>, ie. <code>san francisco ca united states</code></li>\n<li>For non-US locations, use the form <code><city> <country name></code>, ie. <code>tokyo japan</code></li>\n<li>No need for commas or other special chars, capitalization does not matter</li>\n<li>We cover multiple languages: <code>nueva york</code> instead of <code>new york</code> works, but using English or the most popular language on the target city should work the best</li>\n</ul>",
"in": "query",
"name": "location",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "<p>Location string to search for points of interest in an area.\nThis is alternative to the <code>latitude</code> and <code>longitude</code> parameters.</p>\n<ul>\n<li>For locations in US prefer the form <code><city> <state> <country name></code>, ie. <code>san francisco ca united states</code></li>\n<li>For non-US locations, use the form <code><city> <country name></code>, ie. <code>tokyo japan</code></li>\n<li>No need for commas or other special chars, capitalization does not matter</li>\n<li>We cover multiple languages: <code>nueva york</code> instead of <code>new york</code> works, but using English or the most popular language on the target city should work the best</li>\n</ul>",
"title": "Location"
}
},
{
"deprecated": false,
"description": "Longitude of the geographical coordinates.",
"in": "query",
"name": "longitude",
"required": false,
"schema": {
"anyOf": [
{
"maximum": 180,
"minimum": -180,
"type": "number"
},
{
"type": "null"
}
],
"description": "Longitude of the geographical coordinates.",
"title": "Longitude"
}
},
{
"deprecated": false,
"description": "Query string to search for points of interest in an area. If no <code>q</code> is provided, the endpoint will return general points of interest in the given area.",
"in": "query",
"name": "q",
"required": false,
"schema": {
"default": "",
"description": "Query string to search for points of interest in an area. If no <code>q</code> is provided, the endpoint will return general points of interest in the given area.",
"title": "Q",
"type": "string"
}
},
{
"deprecated": false,
"description": "Search radius bias around the given coordinates, in meters. <strong>NOTE</strong>: This is not strictly the radius of the search (nor the resulting radius of the results), but rather a bias towards results that are closer to the given coordinates. Search is performed globally if no radius is provided.",
"in": "query",
"name": "radius",
"required": false,
"schema": {
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"description": "Search radius bias around the given coordinates, in meters. <strong>NOTE</strong>: This is not strictly the radius of the search (nor the resulting radius of the results), but rather a bias towards results that are closer to the given coordinates. Search is performed globally if no radius is provided.",
"title": "Radius"
}
},
{
"deprecated": false,
"description": "Safe search level for the query results.",
"in": "query",
"name": "safesearch",
"required": false,
"schema": {
"allOf": [
{
"enum": [
"off",
"moderate",
"strict"
],
"title": "SafeSearch",
"type": "string"
},
{
"default": "strict"
}
],
"description": "Safe search level for the query results."
}
},
{
"deprecated": false,
"description": "Language for the search results.",
"in": "query",
"name": "search_lang",
"required": false,
"schema": {
"allOf": [
{
"enum": [
"ar",
"eu",
"bn",
"bg",
"ca",
"zh-hans",
"zh-hant",
"hr",
"cs",
"da",
"nl",
"en",
"en-gb",
"et",
"fi",
"fr",
"gl",
"de",
"el",
"gu",
"he",
"hi",
"hu",
"is",
"it",
"ja",
"jp",
"kn",
"ko",
"lv",
"lt",
"ms",
"ml",
"mr",
"nb",
"pl",
"pt-br",
"pt-pt",
"pa",
"ro",
"ru",
"sr",
"sk",
"sl",
"es",
"sv",
"ta",
"te",
"th",
"tr",
"uk",
"vi"
],
"title": "Language",
"type": "string"
},
{
"default": "en"
}
],
"description": "Language for the search results."
}
},
{
"deprecated": false,
"description": "Whether to apply spellcheck before executing the search.",
"in": "query",
"name": "spellcheck",
"required": false,
"schema": {
"default": true,
"description": "Whether to apply spellcheck before executing the search.",
"title": "Spellcheck",
"type": "boolean"
}
},
{
"deprecated": false,
"description": "User interface language for the response. Usually <code><language>-<region></code>.",
"in": "query",
"name": "ui_lang",
"required": false,
"schema": {
"allOf": [
{
"enum": [
"es-AR",
"en-AU",
"de-AT",
"nl-BE",
"fr-BE",
"pt-BR",
"en-CA",
"fr-CA",
"es-CL",
"da-DK",
"fi-FI",
"fr-FR",
"de-DE",
"el-GR",
"zh-HK",
"en-IN",
"en-ID",
"it-IT",
"ja-JP",
"ko-KR",
"en-MY",
"es-MX",
"nl-NL",
"en-NZ",
"no-NO",
"zh-CN",
"pl-PL",
"en-PH",
"ru-RU",
"en-ZA",
"es-ES",
"sv-SE",
"fr-CH",
"de-CH",
"zh-TW",
"tr-TR",
"en-GB",
"en-US",
"es-US"
],
"title": "MarketCodes",
"type": "string"
},
{
"default": "en-US"
}
],
"description": "User interface language for the response. Usually <code><language>-<region></code>."
}
},
{
"deprecated": false,
"description": "Units of measurement for distance values: <code>metric</code> is kilometres, <code>imperial</code> is miles.",
"in": "query",
"name": "units",
"required": false,
"schema": {
"allOf": [
{
"enum": [
"imperial",
"metric"
],
"title": "MeasurementUnit",
"type": "string"
},
{
"default": "metric"
}
],
"description": "Units of measurement for distance values: <code>metric</code> is kilometres, <code>imperial</code> is miles."
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Request pricing. Default request estimate: $0.005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Headers
The API version to use. This is denoted by the format YYYY-MM-DD. Default is the latest that is available. Read more about API versioning.
The user agent originating the request. Brave search can utilize the user agent to provide a different experience depending on the device as described by the string. The user agent should follow the commonly used browser agent strings on each platform. For more information on curating user agents, see RFC 9110.
Query Parameters
Location string to search for points of interest in an area.
This is alternative to the latitude and longitude parameters.
- For locations in US prefer the form
<city> <state> <country name>, ie.san francisco ca united states - For non-US locations, use the form
<city> <country name>, ie.tokyo japan - No need for commas or other special chars, capitalization does not matter
- We cover multiple languages:
nueva yorkinstead ofnew yorkworks, but using English or the most popular language on the target city should work the best
Search radius bias around the given coordinates, in meters. NOTE: This is not strictly the radius of the search (nor the resulting radius of the results), but rather a bias towards results that are closer to the given coordinates. Search is performed globally if no radius is provided.
x >= 0Language for the search results.
ar, eu, bn, bg, ca, zh-hans, zh-hant, hr, cs, da, nl, en, en-gb, et, fi, fr, gl, de, el, gu, he, hi, hu, is, it, ja, jp, kn, ko, lv, lt, ms, ml, mr, nb, pl, pt-br, pt-pt, pa, ro, ru, sr, sk, sl, es, sv, ta, te, th, tr, uk, vi User interface language for the response. Usually <language>-<region>.
es-AR, en-AU, de-AT, nl-BE, fr-BE, pt-BR, en-CA, fr-CA, es-CL, da-DK, fi-FI, fr-FR, de-DE, el-GR, zh-HK, en-IN, en-ID, it-IT, ja-JP, ko-KR, en-MY, es-MX, nl-NL, en-NZ, no-NO, zh-CN, pl-PL, en-PH, ru-RU, en-ZA, es-ES, sv-SE, fr-CH, de-CH, zh-TW, tr-TR, en-GB, en-US, es-US Response
Successful Response