Brave offers free, simple, private AI for users of any ability.
It's also powering many of the most widely used AI and search experiences on the Web today via the Brave Search API.
Ask Brave
Brave Search is the world’s most complete non-Big Tech search engine, and the only independent search with privacy at its core. Its “Ask Brave” feature synthesizes content from billions of webpages to create AI-powered answers, right in the search results page.
Brave Search gets more than 50 million user queries per day. With millions of those queries triggering an AI answer, Brave Search is by volume one of the most widely used answer engines in the world.
Use cases:
Synthesize content from multiple webpages in a single, concise answer
Get summaries about people and places, news and sports, coding, research, and more
Differentiators:
Private, accurate AI-powered answers, right in the SERP
Brave Leo is the smart AI assistant built right into the browser. Ask questions, summarize pages, create new content, and more. Privately.
Brave Leo makes every page interactive. You can chat about topics related to the pages you’re reading, videos you’re watching, and more. It can analyze, translate, and even create new content.
Leo doesn’t retain or share chats, or use them for model training. No account or login is required, and you can bring your own models. Also note that Leo—like all of our AI features—is completely optional, so Brave users can easily stick to a non-AI browsing experience.
Use cases:
Analyze webpages, PDFs, images, Google Docs and Sheets, and more
Generate new content
Summarize multiple open webpages and tabs in the same chat
Differentiators:
Private
Available right in the browser
No account or login required
Available on desktop & mobile
This table examines default configurations on individual, non-enterprise accounts/plans.
Power your AI with the world’s largest Web search API. Create search tools, train foundational models, build chatbots, and more.
Brave Search is the world’s most complete non-Big Tech search engine. It has an index of over 30 billion pages, with millions of new pages indexed each day. This real-time, well-structured data is available at affordable CPM.
Features multiple endpoints across Web, AI grounding, image & video, news, suggest, and spellcheck.
Use cases:
Power agentic search
Train foundational models
RAG pipelines
Apps that use Claude MCP
Build search-enabled tools like CRMs
Differentiators:
Index of over 30 billion pages
Refreshed daily for real-time results
Transparent, affordable pricing
Consistent data structuring
Trusted by some of the biggest names in AI in search
WebAI GroundingImageVideoNewsSuggestSpellcheck
1#!/usr/bin/env python 2 3importrequests 4 5print( 6requests.get( 7"https://api.search.brave.com/res/v1/web/search", 8headers={ 9"X-Subscription-Token":"<BRAVE_SEARCH_API_KEY>",10},11params={12"q":"greek restaurants in san francisco",13"count":20,14"country":"us",15"search_lang":"en",16},17).json()18)
1#!/usr/bin/env node
2 3fetch( 4`https://api.search.brave.com/res/v1/web/search?${newURLSearchParams({ 5q:"greek restaurants in san francisco", 6count:10, 7country:"us", 8search_lang:"en", 9})}`,10{11headers:{12"X-Subscription-Token":"<BRAVE_SEARCH_API_KEY>",13},14},15)16.then((response)=>response.json())17.then((data)=>console.log(data));
1packagemain 2 3import( 4"fmt" 5"io" 6"net/http" 7"net/url" 8) 910funcmain(){11u,_:=url.Parse("https://api.search.brave.com/res/v1/web/search")12q:=u.Query()13q.Set("q","greek restaurants in san francisco")14q.Set("count","10")15q.Set("country","us")16q.Set("search_lang","en")17u.RawQuery=q.Encode()1819req,_:=http.NewRequest("GET",u.String(),nil)20req.Header.Set("X-Subscription-Token","<BRAVE_SEARCH_API_KEY>")2122resp,_:=http.DefaultClient.Do(req)23deferresp.Body.Close()2425body,_:=io.ReadAll(resp.Body)26fmt.Println(string(body))27}
JSON
1{ 2"type":"search", 3"web":{ 4"type":"search", 5"results":[ 6{ 7"title":"THE 10 BEST Greek Restaurants in San Francisco (Updated 2025)", 8"url":"https://www.tripadvisor.com/Restaurants-g60713-c23-San_Francisco_California.html", 9"is_source_local":false,10"is_source_both":false,11"description":"Best <strong>Greek</strong> <strong>Restaurants</strong> <strong>in</strong> <strong>San</strong> <strong>Francisco</strong>, California: Find Tripadvisor traveller reviews of <strong>San</strong> <strong>Francisco</strong> <strong>Greek</strong> <strong>restaurants</strong> and search by price, location, and more.",12"profile":{13"name":"Tripadvisor",14"url":"https://www.tripadvisor.com/Restaurants-g60713-c23-San_Francisco_California.html",15"long_name":"tripadvisor.com",16"img":"https://imgs.search.brave.com/OEuNbeVBPVl2AlxDmpKDNcYk4RuERMK4gTlMyVzbpSw/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvZjQ1MjliOWZi/NmMxZWRhYmY2MmYy/MmNjMmM0ZWM3MTA4/ZTUxM2E1M2JlMzgx/ODM0N2E2NzY5OTJk/YjQwNmNlNi93d3cu/dHJpcGFkdmlzb3Iu/Y29tLw"17}…
1fromopenaiimportOpenAI 2 3client=OpenAI( 4api_key="<YOUR_BRAVE_SEARCH_API_KEY>", 5base_url="https://api.search.brave.com/res/v1", 6) 7 8completions=client.chat.completions.create( 9messages=[10{11"role":"user",12"content":"What is the second highest mountain?",13}14],15model="brave",16stream=False,17)1819print(completions.choices[0].message.content)
1curl -X POST -s --compressed "https://api.search.brave.com/res/v1/chat/completions"\
2 -H "accept: application/json"\
3 -H "Accept-Encoding: gzip"\
4 -H "Content-Type: application/json"\
5 -d '{"stream": "false", "messages": [{"role": "user", "content": "What is the second highest mountain?"}]}'\
6 -H "x-subscription-token: <YOUR_BRAVE_SEARCH_API_KEY>"
1importOpenAIfrom'openai'; 2 3constclient=newOpenAI({ 4apiKey:process.env['BRAVE_SEARCH_API_KEY'], 5baseURL:'https://api.search.brave.com/res/v1', 6}); 7 8(async()=>{ 9constresponse=awaitclient.chat.completions.create({10model:'brave',11stream:false,12messages:[13{role:'user',content:'What is the second highest mountain?'},14],15});1617console.log(response.choices[0].message.content);18})();
1packagemain 2 3import( 4"context" 5"fmt" 6 7openai"github.com/openai/openai-go" 8"github.com/openai/openai-go/option" 9)1011funcmain(){12client:=openai.NewClient(13option.WithAPIKey("BRAVE_SEARCH_API_KEY"),14option.WithBaseURL("https://api.search.brave.com/res/v1"),15)1617chatCompletion,err:=client.Chat.Completions.New(context.TODO(),openai.ChatCompletionNewParams{18Messages:[]openai.ChatCompletionMessageParamUnion{19openai.UserMessage("What is the second highest mountain?"),20},21Model:"brave",22})2324iferr!=nil{25panic(err.Error())26}2728fmt.Println(chatCompletion.Choices[0].Message.Content)29}
JSON
1{ 2"model":"brave-pro", 3"system_fingerprint":"", 4"choices":[ 5{ 6"index":0, 7"message":{ 8"role":"assistant", 9"content":"The second highest mountain in the world is K2, standing at 8,611 metres (28,251 ft) above sea level. It is located in the Karakoram range, on the border between the Gilgit-Baltistan region of Pakistan and the Taxkorgan Tajik Autonomous County of Xinjiang, China.\n\nK2 is known as the \"Savage Mountain,\" a nickname attributed to climber George Bell after the 1953 American expedition, due to its extreme difficulty and high fatality rate. It is considered a more challenging climb than Mount Everest, the world's highest peak, because of its steep slopes, unpredictable weather, and technical climbing routes.\n\nThe first successful ascent of K2 was achieved on July 31, 1954, by Italian climbers Lino Lacedelli and Achille Compagnoni as part of an expedition led by Ardito Desio. As of August 2023, approximately 800 people have summited K2, with 96 recorded deaths during attempts.\n\nK2 is also known by other names, including Mount Godwin-Austen and Chogori, though it is most commonly referred to by its survey designation. In January 2021, it became the last of the 14 eight-thousanders to be summited in winter, accomplished by a team of Nepalese climbers led by Nirmal Purja and Mingma Gyalje Sherpa."10},11"finish_reason":"stop"12}1314],15"created":1754426219,16"id":"749fc052-ea6d-47f1-ab11-a4ae293d0b57",17"object":"chat.completion",18"usage":{19"completion_tokens":305,20"prompt_tokens":7275,21"total_tokens":7580,22"completion_tokens_details":{23"reasoning_tokens":024}25}26}
1{ 2"type":"videos", 3"query":{ 4"original":"black myth wukong", 5"spellcheck_off":false, 6"show_strict_warning":false 7}, 8"results":[ 9{10"type":"video_result",11"url":"https://www.youtube.com/watch?v=VLnywm2XgJg",12"title":"Black Myth: Wukong - Before You Buy - YouTube",13"description":"Black Myth: Wukong (PC, PS5, Xbox Series X/S) is a fresh action game from a newer development studio. How is it? Let's talk.Subscribe for more: http://youtub...",14"age":"August 16, 2024",15"page_age":"2024-08-16T17:41:12",16"video":{17"duration":"12:22",18"views":2832944,19"creator":"gameranx",20"publisher":"YouTube",21"requires_subscription":false,22"tags":[23"jake baldino"24],25"author":{26"name":"gameranx",27"url":"http://www.youtube.com/@gameranxTV"28}29}30}31]32}
1{ 2"type":"news", 3"query":{ 4"original":"munich", 5"spellcheck_off":false, 6"show_strict_warning":false 7}, 8"results":[ 9{10"type":"news_result",11"title":"News | Munich tops TD100 ranking for office and retail rents",12"url":"https://www.costar.com/article/376440806/munich-tops-td100-ranking-for-office-and-retail-rents",13"description":"Sister publication Thomas Daily gathers metrics like rent and yield for the top 100 cities in Germany",14"age":"1 day ago",15"page_age":"2025-04-01T13:20:42",16"meta_url":{17"scheme":"https",18"netloc":"costar.com",19"hostname":"www.costar.com",20"favicon":"https://imgs.search.brave.com/qKaDutjw31L2t0y0EZpwK8bCGuuuKW62BuPTjoc4EeI/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvYjMyNmE3ZWY4/YjgyNzlkM2M1ZThh/MjU0YzI3ZGUyNzBi/MDUwNDUxMjUzNGEx/ZjM1Y2FmNmIzZjc3/NjU4YTg0NC93d3cu/Y29zdGFyLmNvbS8",21"path":"› article › 376440806 › munich-tops-td100-ranking-for-office-and-retail-rents"22},23"thumbnail":{24"src":"https://imgs.search.brave.com/hZsGpoIMHbKbPOWe7zKSlocTJV9rkjPdlf_slgPUovQ/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9jb3N0/YXIuYnJpZ2h0c3Bv/dGNkbi5jb20vZGlt/czQvZGVmYXVsdC9h/Y2FmOWViLzIxNDc0/ODM2NDcvc3RyaXAv/dHJ1ZS9jcm9wLzIw/NDh4MTM2NiswKzAv/cmVzaXplLzIwNDh4/MTM2NiEvcXVhbGl0/eS8xMDAvP3VybD1o/dHRwJTNBJTJGJTJG/Y29zdGFyLWJyaWdo/dHNwb3QuczMudXMt/ZWFzdC0xLmFtYXpv/bmF3cy5jb20lMkZH/ZXR0eUltYWdlcy0x/MTczNDg0MTE4Lmpw/Zw"25}26}27]28}
With AI Grounding, responses are anchored in high-quality, factual information from verifiable Web sources, thus reducing hallucinations and responding more appropriately to nuanced inputs.
Brave Search API available in the new AI Agents and Tools category of AWS Marketplace, providing real-time Web data for AI, LLMs, and search applications.
Attackers can embed malicious instructions in hidden HTML elements and other non-rendered markup that remains invisible to users but is fully accessible to the AI assistant.
AI browsers remain vulnerable to prompt injection attacks via screenshots and hidden content, allowing attackers to exploit users' authenticated sessions.
The attack we developed shows that traditional Web security assumptions don't hold for agentic AI, and that we need new security and privacy architectures for agentic browsing.
Leo has been evolving from a helpful browsing companion toward a smart, personalized collaborator—a shift that reflects broader changes in how we think about AI and the Web.