Brave Image Search API

Query Parameters

# Image Search API

This table lists the query parameters supported by the Image Search API. Some are required, but most are optional.

ParameterRequiredTypeDefaultDescription
qtruestring

The user’s search query term. Query can not be empty. Maximum of 400 characters and 50 words in the query.

countryfalsestringUS

The search query country, where the results come from.

The country string is limited to 2 character country codes of supported countries. For a list of supported values, see Country Codes.

search_langfalsestringen

The search language preference.

The 2 or more character language code for which the search results are provided. For a list of possible values, see Language Codes.

countfalsenumber50

The number of search results returned in response.

The maximum is 100. The actual number delivered may be less than requested.

safesearchfalsestringmoderate

Filters search results for adult content.

The following values are supported:

  • off: No filtering is done.

  • strict: Drops all adult content from search results.

spellcheckfalsebool1

Whether to spellcheck provided query. If the spellchecker is enabled, the modified query is always used for search. The modified query can be found in altered key from the query response model.