Brave Search Image Search API
Brave Search API is a REST API to query Brave Search and get back search results from the web. The following sections describe how to curate requests, including parameters and headers, to Brave Search API and get a JSON response back.
To try the API on a Free plan, you’ll still need to subscribe — you simply won’t be charged. Once subscribed, you can get an API key in the API Keys section.
Endpoints
Brave Search API exposes multiple endpoints for specific types of data, based on the level of your subscription. If you don’t see the endpoint you’re interested in, you may need to change your subscription.
Brave Image Search API is currently available at the following endpoint and exposes an API to get images from the web relevant to the query.
https://api.search.brave.com/res/v1/images/search
Example
Get started immediately with CURL. An example request will look something like this:
curl -s --compressed "https://api.search.brave.com/res/v1/images/search?q=munich&safesearch=strict&count=20&search_lang=en&country=us&spellcheck=1" \
-H "Accept: application/json" \
-H "Accept-Encoding: gzip" \
-H "X-Subscription-Token: <YOUR_API_KEY>"
Next Steps
To learn what parameters are available and what responses can be expected while querying Brave Search, please review the following pages: