images
Find images from a large independent index of images.
Authorization
Query Parameters
The user’s search query term. Query can not be empty. Maximum of 400 characters and 50 words in the query.
search_lang enum<string> The search language preference. The 2 or more character language code for which the search results are provided.
Default:
"en"Available options:
areubn country enum<string> The search query country, where the results come from. The country string is limited to 2 character country codes of supported countries and
ALL for worldwide. Default:
"US"Available options:
ARAUAT safesearch enum<string> Filters search results for adult content. The following values are supported:
- off - No content filtering (except for illegal content).
- strict - Drops all adult content from search results.
Default:
"strict"Available options:
offstrict count integer The number of search results returned in response. The maximum is 200. The actual number delivered may be less than requested.
Min:
1 Max: 200 Default: 50spellcheck boolean Whether to spell check provided query. If the spell checker is enabled, the modified query is always used for search. The modified query can be found in altered key from the query response model.
Default:
trueHeaders
api-version string 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.accept enum<string> The default supported media type is application/json.
Default:
"application/json"Available options:
application/json*/* cache-control "no-cache" 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.user-agent string Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.71 Mobile Safari/537.36AndroidMozilla/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.1iOSMozilla/5.0 (Macintosh; Intel Mac OS X 12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36macOSMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36Windows
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.
Responses
200 Successful Response
type "images" query object requiredImage search query string.
results object[] requiredThe list of image results for the given query.
extra object requiredAdditional information about the image search results.