Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Create an API account: Go to https://api-dashboard.search.brave.com and register (separate from a regular Brave account). Adding a payment method is required to activate a subscription.
  2. Choose a plan and get credits: Pick a plan in the dashboard. The API is credit-based - you purchase request credits rather than getting a permanent free tier; new accounts may receive a small trial credit.
  3. Create an API key: Open https://api-dashboard.search.brave.com/app/keys and generate a subscription token for your plan.
  4. Store the key: Add it to your .env file as BRAVE_SEARCH_API_KEY=…
  5. Verify access: Run the Web Search tool with a simple query. A 401 means the token is invalid or sent in the wrong header (it must be X-Subscription-Token, not Authorization); a 429 means you exceeded your plan’s rate limit.
  • The API is credit/usage-based with no permanent free tier - monitor remaining credits in the dashboard
  • The API key goes in the X-Subscription-Token header; Authorization: Bearer will be rejected
  • Some endpoints (e.g. Local/POI details) are only available on higher-tier (Pro) plans
  • Web Search pagination is limited: count max 20 per request, offset max 9
Provider API reference: https://api-dashboard.search.brave.com/app/documentation

Tools

Example prompts

  • Search the web with Brave for a topic I provide and summarize the top results with links.
  • Search Brave News for the latest articles on a topic I provide and give me a short briefing.
  • Search Brave for a type of business near a location I provide and show details for the top matches.