Autom

Brave Videos

GET
/v1/brave/videos

Search Brave Videos via API and retrieve structured video results with pagination and SafeSearch.

Credit cost: 1 credit per call

Autorisierung

ApiKeyAuth
headerx-api-key<token>

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

Abfrageparameter

query*string

The search query you want to run on Brave Videos.

page?number

Page number for pagination.

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

Antworttext

Successful response

application/json
  1. response
organic_results?array<>
search_parameters?
Example Request
curl -X GET 'https://api.autom.dev/v1/brave/videos?query=string'
Example Response
{  "organic_results": [    {      "date": "18 septembre 2023",      "link": "https://www.youtube.com/watch?v=85kGMxuts98",      "title": "Newton's Laws of Motion | 4.1 General Physics",      "domain": "www.youtube.com",      "source": "YouTube",      "channel": "Chad's Prep",      "snippet": "Chad provides an introduction to Newton's Laws of Motion.",      "duration": "14:16",      "position": 1,      "thumbnail": "https://imgs.search.brave.com/example/thumb.jpg"    }  ],  "search_parameters": {    "q": "newton laws",    "gl": "fr",    "hl": "fr",    "page": 1,    "safe": "active",    "engine": "brave_videos",    "safesearch": "strict"  }}