What Brave Search API does
Brave Search API is the developer API behind Brave Search. One API key covers several endpoints: LLM Context (agentic search that returns ranked, extracted passages for a model to answer from), Answers (AI-generated answers with citations, streaming and an OpenAI SDK-compatible interface), Web Search (classic results pages for people), plus News, Video, Image and Place search, Autosuggest and Spellcheck. Brave says every result comes from its own index, crawled and ranked by Brave, with no fallback to Google or Bing for any query, and that the index is shaped by anonymous signals from Brave browser and Search users who opt in to its open-source Web Discovery Project.
The LLM Context endpoint lets you set a token budget from 1k to about 33k tokens, choose a relevance threshold (strict, balanced or lenient), filter to the last 24 hours, and get the URL and timestamp of every source. Goggles let you re-rank results or restrict them to your own set of domains, and you can request up to five extra snippets per result and schema-enriched structured data. Brave also offers an MCP server and is pitching the API to teams migrating from Google's Custom Search JSON API, which Brave says shuts down on January 1, 2027. For enterprises it lists SOC 2 Type II attestation and zero data retention, with queries not shared or used for training.
