Skip to navigation

Query a Brave Search vertical

View as Markdown

Relays to https://api.search.brave.com/res/v1/{vertical}/search; the secret X-Subscription-Token header goes on and Authorization comes off. GET only, controls in the query string.

Authentication

AuthorizationBearer

Your per-client bearer token — the API key the gateway issued to you. Present it in Authorization: Bearer <token> form. A token that is missing, unknown, or revoked draws a 401. Before the call is sent upstream the token is removed (stripped, or swapped for the upstream’s own credential); it never makes it past the gateway.

Path parameters

verticalenumRequired

Which Brave Search vertical to hit. Unlisted values draw the gateway’s 404.

Query parameters

qstringOptional
The query text.

Response

Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as JSON; the true shape is the upstream provider’s to define.

Errors

401
Unauthorized Error
404
Not Found Error