Brave Search API

Independent web search index built for AI agents and LLM grounding

Advanced API
Screenshot of Brave Search API, Independent web search index built for AI agents and LLM grounding

What is Brave Search API?

Brave Search API is an AI search tool. Brave Search API serves web search from Brave's own independent index, with an LLM Context endpoint that returns ranked, token-budgeted passages for AI agents and grounding. Billing is prepaid credits with no subscription.

Brave Search API gives developers programmatic access to Brave's own web index, which the vendor puts at more than 40 billion pages. Unlike many search APIs that wrap Google or Bing, queries are answered from that independent index, so long-tail searches do not get handed off to a third party. The service targets teams building AI agents, chatbots, retrieval pipelines and model-training workflows that need fresh web data. The core of the product is a set of endpoints: classic web search, news, images and video, an Answers endpoint, and an LLM Context endpoint aimed at machines rather than people. Instead of a page of titles and snippets, LLM Context returns ranked, extracted passages from the best pages in a single call. Content can include text, tables, code, JSON, forum threads and video captions. Developers set a token budget from roughly 1k to 33k tokens, choose a relevance threshold (strict, balanced or lenient), and receive sources with URLs and timestamps. Freshness filters can narrow results to the last 24 hours, and location-aware results add places and map data. In practice a request is a simple authenticated GET with an API key sent in a subscription-token header, with examples shown for Python, cURL, JavaScript and Go. Goggles let a team re-rank results or restrict grounding to chosen domain sets, while extra snippets and schema-enriched results add context and structured data. Billing is prepaid credits with no subscription, no minimums and a user-set token budget. Within the field, Brave Search API competes with Tavily, Exa and Parallel, and with the older route of scraping or licensing Google and Bing results. The vendor's central argument is that Microsoft retired the Bing Search APIs and Google restricted Custom Search, which makes an owned index a safer dependency. Its cost and accuracy comparisons are published by the vendor itself, so buyers should validate them against their own workloads. The product suits engineers comfortable with HTTP APIs rather than non-technical users.

How do you use Brave Search API?

  1. 1Create an API account
    Register on the Brave Search API dashboard to get access to your account and key management.
    Brave Search API — Create an API account
  2. 2Pick a plan and load credits
    Review the plans page and load prepaid credits. Billing is pay as you go with no subscription.
    Brave Search API — Pick a plan and load credits
  3. 3Send a first LLM Context request
    Call the llm/context endpoint with a q parameter and your key in the X-Subscription-Token header, using Python, cURL, JavaScript or Go.
    Brave Search API — Send a first LLM Context request
  4. 4Tune token budget and threshold
    Set the context size between about 1k and 33k tokens and choose a strict, balanced or lenient relevance threshold.
  5. 5Restrict sources with Goggles
    Use Goggles to re-rank results or limit grounding to the domains you trust.
    Brave Search API — Restrict sources with Goggles

Brave Search API pros and cons

Pros

  • Answers queries from Brave's own index, so long-tail searches are not passed to Google or BingAI
  • LLM Context endpoint returns ranked passages with a configurable token budget and relevance thresholdAI
  • Goggles let teams re-rank results or limit grounding to chosen domainsAI
  • Prepaid credits with no subscription or minimums, plus a user-set token budgetAI
  • Sources carry URLs and timestamps, with filters down to the last 24 hoursAI

Cons

  • Benchmark, speed and cost claims come largely from Brave's own published runs and should be verified independentlyAI
  • API-only product with no visual interface, so it suits developers rather than non-technical usersAI
  • Exact per-request prices are not stated on the main page, so cost estimates require checking the plans pageAI
  • Prepaid credit billing offers no flat subscription option for teams wanting predictable monthly invoicesAI

Brave Search API pricing

Pricing

Prepaid credits with no subscription and no minimums; users load credits, pay as they go and set their own token budget. The homepage cites Brave at $18 per 1,000 questions in one FreshQA run (search plus tokens). Full plans are on the dashboard.

Learn more

Integrations

Plain HTTP API with code examples in Python, cURL, JavaScript and Go. Brave lists AWS, Cohere, Mistral AI, Snowflake, you.com, Firecrawl and Kagi among its customers.

Features

Web, news, image, video and Answers endpoints plus LLM Context for agentic search. Configurable 1k to 33k token context, strict/balanced/lenient thresholds, freshness filters, local place data, Goggles re-ranking, extra snippets and schema-enriched results.

Learn more

Frequently asked questions about Brave Search API

  • How much does Brave Search API cost?
    Prepaid credits with no subscription and no minimums; users load credits, pay as they go and set their own token budget. The homepage cites Brave at $18 per 1,000 questions in one FreshQA run (search plus tokens). Full plans are on the dashboard.
  • Does Brave Search API have an API?
    Yes, Brave Search API offers an API.
  • How do you use Brave Search API?
    The walkthrough on this page covers 5 steps: 1. Create an API account 2. Pick a plan and load credits 3. Send a first LLM Context request 4. Tune token budget and threshold 5. Restrict sources with Goggles.
  • What platforms does Brave Search API support?
    Brave Search API is available on Web App.
  • What does Brave Search API integrate with?
    Plain HTTP API with code examples in Python, cURL, JavaScript and Go. Brave lists AWS, Cohere, Mistral AI, Snowflake, you.com, Firecrawl and Kagi among its customers.
  • What are the limitations of Brave Search API?
    Benchmark, speed and cost claims come largely from Brave's own published runs and should be verified independently. API-only product with no visual interface, so it suits developers rather than non-technical users. Exact per-request prices are not stated on the main page, so cost estimates require checking the plans page.

Status

StatusActive
Views0
Outbound clicks0
Added12/5/2026

Platforms

Web App

Pricing

Paid