Skip to main content
GET
/
v1
/
local
/
descriptions
{
"type": "local_descriptions",
"results": [
{
"type": "local_description",
"id": "<string>",
"description": "<string>"
}
]
}

Authorizations

x-subscription-token
string
header
required

The subscription token that was generated for the product.

Headers

x-subscription-token
string
required

The subscription token that was generated for the product.

Examples:

"BSAgdIxiH0OLq6fnx6F-xp8Yplv4uOp"

api-version
string | null

The API version to use. This is denoted by the format YYYY-MM-DD. Default is the latest that is available.

accept
enum<string>

The default supported media type is application/json.

Available options:
application/json,
*/*
cache-control
enum<string> | null

Brave Search will return cached content by default. To prevent caching set the Cache-Control header to no-cache. This is currently done as best effort.

Available options:
TitleConst
CacheControlno-cache
user-agent
string | null

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.

Examples:

"**Android** Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.71 Mobile Safari/537.36"

"**iOS** 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** Mozilla/5.0 (Macintosh; Intel Mac OS X 12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"

"**Windows** Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"

Query Parameters

ids
string[]
required

A list of unique identifiers for the location. The ids are valid only for 8 hours.

Required array length: 1 - 20 elements

Response

Successful Response

type
enum<string>
default:local_descriptions
Available options:
TitleConst
Typelocal_descriptions
results
Results · array

The list of location descriptions for the given location identifiers.

I