# Brave Search API in searchSDK

> How searchSDK calls the Brave Search API: supported options, result fields, pricing and cost source, limits and sources, from the registry.

Source: https://searchsdk.dev/providers/brave

Not verified against the live API yet. Mapped from Brave Search's public docs, read 2026-11-24.

- Id: `brave`
- Key: `BRAVE_API_KEY`
- Search: yes
- Contents: no

## Search

`GET https://api.search.brave.com/res/v1/web/search`

### Request options

- maxResults: Yes
- includeDomains: No
- excludeDomains: No
- recency: Yes (unverified)
- startDate: Yes (unverified)
- endDate: Yes (unverified)
- country: Yes
- language: Yes (unverified)
- depth: No

Provider options (providerOptions): `safesearch`, `offset`, `ui_lang`, `extra_snippets`, `goggles`, `units`

### Result fields

- url: Yes
- title: Yes
- excerpts: Yes, a page description
- publishedAt: Yes (unverified)
- author: No

Kept in providerFields: `age`, `language`, `siteName`, `extraSnippets`

### Pricing

- Cost: Computed from list prices
- Plan: Search (prepaid)
- Per request: $5.00 per 1,000 requests

$5 per 1,000 requests, with $5 of credit included every month. Only successful requests are billed.

Pricing source: https://api-dashboard.search.brave.com/documentation/pricing (read 2026-11-24)

### Limits

- Results per query: 20
- Query length: 600 (unverified)
- Included domains: None
- Excluded domains: None
- Date filter basis: published or updated

### Rate limits

- Search: 50 requests per second, per subscription

## Unverified

- Search: option language (`/search/request/params/language`): search_lang also takes zh-hans, zh-hant, pt-br, pt-pt, en-gb and jp, which ISO 639-1 cannot name; zh and pt are left out as ambiguous and are unsupported.
- Search: option recency (`/search/request/params/recency`): pm means 31 days, not policy.search.recencyDays.month (30).
- Search: date options (`/search/request/compose/0`): Docs do not say whether the custom range YYYY-MM-DDtoYYYY-MM-DD includes its end date; a range needs both dates.
- Search: limit maxQueryLength (`/search/limits/maxQueryLength`): The limit is 600 characters and 75 words; the word limit cannot be expressed and gives a provider error.
- Search: result list (`/search/response/results`): web is nullable in the response model; a query with no web results may omit it.
- Search: field publishedAt (`/search/response/fields/publishedAt`): page_age is the published or last modified date; its string format is not documented.
- Error mapping (`/errors/0`): QUOTA_LIMITED is in the error code enum; the status that carries it is assumed to be 429.
- Terms (`/terms`): Terms reading taken from the 2026-11-24 recon, not re-read for this spec.

## Sources

- https://api-dashboard.search.brave.com/api-reference/web/search/get: web search parameters and enums, response model, error model (read 2026-11-24)
- https://api-dashboard.search.brave.com/app/documentation/web-search/query: freshness values and custom date ranges (read 2026-11-24)
- https://api-dashboard.search.brave.com/documentation/pricing: price per 1,000 requests, monthly credit, capacity (read 2026-11-24)
- https://api-dashboard.search.brave.com/documentation/guides/rate-limiting: rate limit headers; only successful requests are billed (read 2026-11-24)
- https://api-dashboard.search.brave.com/documentation/services/llm-context: LLM Context takes a query, not a URL; no endpoint fetches a given page (read 2026-11-25)

Provider names are trademarks of their respective owners. searchSDK is not affiliated with them.
