Brave Videos
Search Brave Videos via API and retrieve structured video results with pagination and SafeSearch.
Credit cost: 1 credit per call
Autorização
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Parâmetros de consulta
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.
Corpo da resposta
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/brave/videos?query=string"{ "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" }}{ "error": "Bad Request"}{ "error": "Invalid API Key"}{ "error": "Payment required"}{ "error": "Rate limit exceeded for the API key: quota monthly"}{ "error": "Internal Error"}