Brave Images
Search Brave Images via API and retrieve structured image results with pagination and SafeSearch.
Credit cost: 1 credit per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringThe search query you want to run on Brave Images.
page?numberPage number for pagination (50 results per page).
"1"gl?stringCountry code (e.g. fr, us). Mapped to Brave country.
hl?stringLanguage code (e.g. fr, en). Mapped to Brave lang.
safe?stringSafeSearch: active | off | moderate | strict. Google-style active maps to Brave strict.
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
images?array<>search_parameters?curl -X GET 'https://api.autom.dev/v1/brave/images?query=string'{ "images": [ { "url": "https://i.pinimg.com/originals/64/b2/43/64b24344ba1b61481e519a643ed926c8.jpg", "link": "https://www.pinterest.com/ideas/laws-of-motion-image/919633104944/", "title": "Newton's laws of motion", "domain": "www.pinterest.com", "source": "pinterest.com", "position": 1, "thumbnail": "https://imgs.search.brave.com/example/thumb.jpg", "image_width": 1100, "image_height": 850 } ], "search_parameters": { "q": "newton laws", "gl": "fr", "hl": "fr", "page": 1, "safe": "active", "engine": "brave_images", "safesearch": "strict" }}