Autom

Brave Images

GET
/v1/brave/images

Search Brave Images via API and retrieve structured image results with pagination and SafeSearch.

Credit cost: 1 credit per call

Autorización

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Parámetros de consulta

query*string

The search query you want to run on Brave Images.

page?number

Page number for pagination (50 results per page).

Default"1"
gl?string

Country code (e.g. fr, us). Mapped to Brave country.

hl?string

Language code (e.g. fr, en). Mapped to Brave lang.

safe?string

SafeSearch: active | off | moderate | strict. Google-style active maps to Brave strict.

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Cuerpo de la respuesta

Successful response

application/json
  1. response
images?array<>
search_parameters?
Example Request
curl -X GET 'https://api.autom.dev/v1/brave/images?query=string'
Example Response
{  "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"  }}