Brave Search API
Power your agents & chatbots with the world's largest independent index of the Web.
*with $5 in free monthly credits
Third-party verified as having the highest agent quality score and lowest latency among leading search APIs.
Plans
Search
The real-time search data your chatbots & agents need to generate answers.
Complete search results (URLs, text, news, images, and more), with additional LLM context optimized for AI.
$5 per 1,000 requests
Get startedIncludes $5 in free credits every month
Credits are automatically applied to your account
Special features
Capacity
- 50 queries per second
Answers
Summarized, completed answers to any question.
Answers grounded on a single search or multiple searches for better accuracy & reduced hallucinations.
Includes $5 in free credits every month
Credits are automatically applied to your account
Special features
Capacity
- 2 queries per second
Enterprise
Need custom terms, capacity, or endpoints? Contact us about bespoke plans for large-scale deployments.
Special features
API news
Build with the power of the web
Power agentic search
Chatbots, coding assistants, and AI-search engines all need real-time data to reduce hallucinations and ground their responses with multiple sources. The Brave Search API excels in RAG pipelines, and it’s the leading search tool for applications that use Claude MCP.
Train foundation models
The open Web is a critical source of training data for today’s state-of-the-art AI models. With up to five snippets from over 30 billion pages, the Brave Search API is the best blend of scale, quality, and cost.
Create search-enabled tools
Build comprehensive company profiles in CRM platforms, gather citations for ed-tech apps, or fetch the latest news for a stock trading assistant. Thousands of teams rely on the Brave Search API to connect their apps to the Web.
Trusted by industry leaders
The Brave Search API provides accurate search results for our academic citation services. It delivers high-quality data at a reasonable price, and with intuitive data structuring. Its speed and precision have been crucial.
Key features
-
World-class quality
In blinded testing, Brave Search performs on par with—or better than—incumbent search giants.
-
Specialized endpoints
Adapt results with different specialized endpoints, including local, images, AI summaries, and more.
-
Comprehensive and fresh
Brave’s index includes over 30 billion pages, kept fresh by over 100 million page updates every day.
-
Search Goggles
Discard domains or re-rank results for better control of the response to your query via the Brave Search Goggles feature.
-
Extra snippets
Get up to five snippets picked in real time to maximize contextual relevance to a search.
-
Schema-enriched results
Get additional formatted data for popular formats like movie reviews and wikis.
1#!/usr/bin/env python
2
3import requests
4
5print(
6 requests.get(
7 "https://api.search.brave.com/res/v1/llm/context",
8 headers={
9 "X-Subscription-Token": "<BRAVE_SEARCH_API_KEY>",
10 },
11 params={
12 "q": "what is tallest mountain in solar system",
13 },
14 ).json()
15) 1{
2 "grounding": {
3 "generic": [
4 {
5 "url": "https://en.wikipedia.org/wiki/List_of_tallest_mountains_in_the_Solar_System",
6 "title": "List of tallest mountains in the Solar System",
7 "snippets": [
8 "{\"title\":\"List of tallest mountains in the Solar System\",\"table\":[{\"Planet\":\"Mercury\",\"Tallest peak\":\"Caloris Montes\",\"Base-to-peak height\":\"≤ 3 km (1.9 mi)\",\"% of radius\":\"0.12\",\"Origin\":\"impact\",\"Notes\":\"Formed by the Caloris impact\"},{\"Planet\":\"Venus\",\"Tallest peak\":\"Maat Mons\",\"Base-to-peak height\":\"4.9 km (3.0 mi) (approx.)\",\"% of radius\":\"0.081\",\"Origin\":\"volcanic\",\"Notes\":\"Highest volcano on Venus\"},{\"Planet\":\"Earth\",\"Tallest peak\":\"Mauna Kea and Mauna Loa\",\"Base-to-peak height\":\"10.2 km (6.3 mi)\",\"% of radius\":\"0.16\",\"Origin\":\"volcanic\",\"Notes\":\"4.2 km (2.6 mi) of this is above sea level\"},{\"Planet\":\"Earth\",\"Tallest peak\":\"Haleakalā\",\"Base-to-peak height\":\"9.1 km (5.7 mi)\",\"% of radius\":\"0.14\",\"Origin\":\"volcanic\",\"Notes\":\"Rises 3.1 km above sea level\"},{\"Planet\":\"Earth\",\"Tallest peak\":\"Pico del Teide\",\"Base-to-peak height\":\"7.5 km (4.7 mi)\",\"% of radius\":\"0.12\",\"Origin\":\"volcanic\",\"Notes\":\"Rises 3.7 km above sea level\"},{\"Planet\":\"Earth\",\"Tallest peak\":\"Denali (Mount McKinley)\",\"Base-to-peak height\":\"5.3 to 5.9 km (3.3 to 3.7 mi)\",\"% of radius\":\"0.093\",\"Origin\":\"tectonic\",\"Notes\":\"Tallest mountain base-to-peak on land\"},{\"Planet\":\"Earth\",\"Tallest peak\":\"Mount Everest\",\"Base-to-peak height\":\"3.6 to 4.6 km (2.2 to 2.9 mi)\",\"% of radius\":\"0.072\",\"Origin\":\"tectonic\",\"Notes\":\"4.6 km on north face, 3.6 km on south face; highest elevation (8.8 km) above sea level, as well as by wet and dry prominence (but not among the tallest from base to peak, nor in distance to Earth's center, as Chimborazo rises highest).\"},{\"Planet\":\"Moon\",\"Tallest peak\":\"Mons Huygens\",\"Base-to-peak height\":\"5.3 km (3.3 mi)\",\"% of radius\":\"0.31\",\"Origin\":\"impact\",\"Notes\":\"Formed by the Imbrium impact.\"},{\"Planet\":\"Moon\",\"Tallest peak\":\"Mons Mouton\",\"Base-to-peak height\":\"6 km (3.7 mi)\",\"% of radius\":\"0.35\",\"Origin\":\"impact\",\"Notes\":\"Possibly formed by the South Pole-Aitken basin impact.\"},{\"Planet\":\"Moon\",\"Tallest peak\":\"Southern Farside Mountain\",\"Base-to-peak height\":\"7 km (4.3 mi)\",\"% of radius\":\"0.40\",\"Origin\":\"impact\",\"Notes\":\"Informal name of the Moon's tallest free-standing mountain. Possibly formed by the South Pole-Aitken basin impact. Not highest lunar peak by prominence, which would be Selenean summit.\"},{\"Planet\":\"Moon\",\"Tallest peak\":\"Mons Hadley\",\"Base-to-peak height\":\"4.5 km (2.8 mi)\",\"% of radius\":\"0.26\",\"Origin\":\"impact\",\"Notes\":\"Formed by the Imbrium impact\"},{\"Planet\":\"Moon\",\"Tallest peak\":\"Mons Rümker\",\"Base-to-peak height\":\"1.3 km (0.81 mi)\",\"% of radius\":\"0.063\",\"Origin\":\"volcanic\",\"Notes\":\"Largest volcanic construct on the Moon\"},{\"Planet\":\"Mars\",\"Tallest peak\":\"Olympus Mons\",\"Base-to-peak height\":\"21.9–26 km (13.6–16.2 mi; 72,000–85,000 ft)\",\"% of radius\":\"0.65\",\"Origin\":\"volcanic\",\"Notes\":\"Tallest mountain in the Solar System. Rises 26 km above northern plains, (dry prominence) 1000 km away. Summit calderas are 60×80 km wide, up to 3.2 km deep; scarp around margin is up to 8 km high. A shield volcano, the mean flank slope is a modest 5.2 degrees.\"},{\"Planet\":\"Mars\",\"Tallest peak\":\"Ascraeus Mons\",\"Base-to-peak height\":\"14.9 km (9.3 mi)\",\"% of radius\":\"0.44\",\"Origin\":\"volcanic\",\"Notes\":\"Tallest of the three Tharsis Montes\"},{\"Planet\":\"Mars\",\"Tallest peak\":\"Elysium Mons\",\"Base-to-peak height\":\"12.6 km (7.8 mi)\",\"% of radius\":\"0.37\",\"Origin\":\"volcanic\",\"Notes\":\"Highest volcano in Elysium\"},{\"Planet\":\"Mars\",\"Tallest peak\":\"Arsia Mons\",\"Base-to-peak height\":\"11.7 km (7.3 mi)\",\"% of radius\":\"0.35\",\"Origin\":\"volcanic\",\"Notes\":\"Summit caldera is 108 to 138 km (67 to 86 mi) across\"},{\"Planet\":\"Mars\",\"Tallest peak\":\"Pavonis Mons\",\"Base-to-peak height\":\"8.4 km (5.2 mi)\",\"% of radius\":\"0.25\",\"Origin\":\"volcanic\",\"Notes\":\"Summit caldera is 4.8 km (3.0 mi) deep\"},{\"Planet\":\"Mars\",\"Tallest peak\":\"Anseris Mons\",\"Base-to-peak height\":\"6.2 km (3.9 mi)\",\"% of radius\":\"0.18\",\"Origin\":\"impact\",\"Notes\":\"Among the highest nonvolcanic peaks on Mars, formed by the Hellas impact\"},{\"Planet\":\"Mars\",\"Tallest peak\":\"Aeolis Mons (\\\"Mount Sharp\\\")\",\"Base-to-peak height\":\"4.5 to 5.5 km (2.8 to 3.4 mi)\",\"% of radius\":\"0.16\",\"Origin\":\"deposition and erosion\",\"Notes\":\"Formed from deposits in Gale crater; the MSL rover has been ascending it since November 2014.\"},{\"Planet\":\"Vesta\",\"Tallest peak\":\"Rheasilvia central peak\",\"Base-to-peak height\":\"20–22 km (12–14 mi; 66,000–72,000 ft)\",\"% of radius\":\"8.4\",\"Origin\":\"impact\",\"Notes\":\"Almost 200 km (120 mi) wide. See also: List of largest craters in the Solar System\"},{\"Planet\":\"Ceres\",\"Tallest peak\":\"Ahuna Mons\",\"Base-to-peak height\":\"4 km (2.5 mi)\",\"% of radius\":\"0.85\",\"Origin\":\"cryovolcanic\",\"Notes\":\"Isolated steep-sided dome in relatively smooth area; max. height of ~ 5 km on steepest side; roughly antipodal to largest impact basin on Ceres\"},{\"Planet\":\"Io\",\"Tallest peak\":\"Boösaule Montes \\\"South\\\"\",\"Base-to-peak height\":\"17.5 to 18.2 km (10.9 to 11.3 mi)\",\"% of radius\":\"1.0\",\"Origin\":\"tectonic\",\"Notes\":\"Has a 15 km (9 mi) high scarp on its SE margin\"},{\"Planet\":\"Io\",\"Tallest peak\":\"Ionian Mons east ridge\",\"Base-to-peak height\":\"12.7 km (7.9 mi) (approx.)\",\"% of radius\":\"0.70\",\"Origin\":\"tectonic\",\"Notes\":\"Has the form of a curved double ridge\"},{\"Planet\":\"Io\",\"Tallest peak\":\"Euboea Montes\",\"Base-to-peak height\":\"10.5 to 13.4 km (6.5 to 8.3 mi)\",\"% of radius\":\"0.74\",\"Origin\":\"tectonic\",\"Notes\":\"A NW flank landslide left a 25,000 km3 debris apron\"},{\"Planet\":\"Io\",\"Tallest peak\":\"unnamed (245° W, 30° S)\",\"Base-to-peak height\":\"2.5 km (1.6 mi) (approx.)\",\"% of radius\":\"0.14\",\"Origin\":\"volcanic\",\"Notes\":\"One of the tallest of Io's many volcanoes, with an atypical conical form\"},{\"Planet\":\"Mimas\",\"Tallest peak\":\"Herschel central peak\",\"Base-to-peak height\":\"7 km (4 mi) (approx.)\",\"% of radius\":\"3.5\",\"Origin\":\"impact\",\"Notes\":\"See also: List of largest craters in the Solar System\"},{\"Planet\":\"Dione\",\"Tallest peak\":\"Janiculum Dorsa\",\"Base-to-peak height\":\"1.5 km (0.9 mi)\",\"% of radius\":\"0.27\",\"Origin\":\"tectonic\",\"Notes\":\"Surrounding crust depressed ca. 0.3 km.\"},{\"Planet\":\"Titan\",\"Tallest peak\":\"Mithrim Montes\",\"Base-to-peak height\":\"≤ 3.3 km (2.1 mi)\",\"% of radius\":\"0.13\",\"Origin\":\"tectonic\",\"Notes\":\"May have formed due to global contraction\"},{\"Planet\":\"Titan\",\"Tallest peak\":\"Doom Mons\",\"Base-to-peak height\":\"1.45 km (0.90 mi)\",\"% of radius\":\"0.056\",\"Origin\":\"cryovolcanic\",\"Notes\":\"Adjacent to Sotra Patera, a 1.7 km (1.1 mi) deep collapse feature\"},{\"Planet\":\"Iapetus\",\"Tallest peak\":\"equatorial ridge\",\"Base-to-peak height\":\"20 km (12 mi) (approx.)\",\"% of radius\":\"2.7\",\"Origin\":\"uncertain\",\"Notes\":\"Individual peaks have not been measured\"},{\"Planet\":\"Oberon\",\"Tallest peak\":\"unnamed (\\\"limb mountain\\\")\",\"Base-to-peak height\":\"11 km (7 mi) (approx.)\",\"% of radius\":\"1.4\",\"Origin\":\"impact (?)\",\"Notes\":\"A value of 6 km was given shortly after the Voyager 2 encounter\"},{\"Planet\":\"Pluto\",\"Tallest peak\":\"Tenzing Montes, peak \\\"T2\\\"\",\"Base-to-peak height\":\"~6.2 km (3.9 mi)\",\"% of radius\":\"0.52\",\"Origin\":\"tectonic (?)\",\"Notes\":\"Composed of water ice; named after Tenzing Norgay\"},{\"Planet\":\"Pluto\",\"Tallest peak\":\"Piccard Mons\",\"Base-to-peak height\":\"~5.5 km (3.4 mi)\",\"% of radius\":\"0.46\",\"Origin\":\"cryovolcanic (?)\",\"Notes\":\"~220 km across; central depression is 11 km deep\"},{\"Planet\":\"Pluto\",\"Tallest peak\":\"Wright Mons\",\"Base-to-peak height\":\"~4.7 km (2.9 mi)\",\"% of radius\":\"0.40\",\"Origin\":\"cryovolcanic (?)\",\"Notes\":\"~160 km across; summit depression ~56 km across and 4.5 km deep\"},{\"Planet\":\"Charon\",\"Tallest peak\":\"Butler Mons\",\"Base-to-peak height\":\"≥ 4.5 km (2.8 mi)\",\"% of radius\":\"0.74\",\"Origin\":\"tectonic (?)\",\"Notes\":\"Vulcan Planitia, the southern plains, has several isolated peaks, possibly tilted crustal blocks\"},{\"Planet\":\"Charon\",\"Tallest peak\":\"Dorothy central peak\",\"Base-to-peak height\":\"~4.0 km (2.5 mi)\",\"% of radius\":\"0.66\",\"Origin\":\"impact\",\"Notes\":\"North polar impact basin Dorothy, Charon's largest, is ~240 km across and 6 km deep\"},{\"Planet\":\"Máni\",\"Tallest peak\":\"unnamed\",\"Base-to-peak height\":\"25 km (16 mi)\",\"% of radius\":\"6.3\",\"Origin\":\"impact\",\"Notes\":\"Discovered by stellar occultation; it is unclear whether this feature is a genuine topographic peak or a transiting/occulting satellite.\"}],\"caption\":\"List\",\"headers\":[\"List of t",
9 "## List\n### Tallest mountains by elevation\n* Olympus Mons 72,000 ft (22,000 m)\n\n* Equatorial Ridge 65,617 ft (20,000 m)\n\n* Boösaule Mons 59,711 ft (18,200 m)\n\n* Ascraeus Mons 49,000 ft (15,000 m)\n\n* Ionian Mons 41,667 ft (12,700 m)\n\n* Elysium Mons 41,338 ft (12,600 m)\n\n* Arsia Mons 38,386 ft (11,700 m)\n\n* Limb Mountain 36,089 ft (11,000 m)\n\n* Euboea Montes 34,449 ft (10,500 m)\n\n* Mauna Kea 33,500 ft (10,200 m)\n\n* Mount Everest 29,029 ft (8,848 m)\n\n* Herschel Peak 22,966 ft (7,000 m)\n\n* Anseris Mons 20,341 ft (6,200 m)\n\n* Tenzing Montes 20,341 ft (6,200 m)\n\n* Denali/Mount McKinley 20,310 ft (6,190 m)\n\n* Mount Kilimanjaro 19,341 ft (5,895 m)\n\n* Mons Huygens 18,045 ft (5,500 m)\n\n* Aeolis Mons 18,045 ft (5,500 m)\n\n* Piccard Mons 18,045 ft (5,500 m)\n\n* Maat Mons 16,076 ft (4,900 m)\n\n* Wright Mons 15,420 ft (4,700 m)\n\n* Mons Hadley 14,764 ft (4,500 m)\n\n* Butler Mons 14,764 ft (4,500 m)\n\n* Ahuna Mons 13,500 ft (4,100 m)\n\n* Dorothy Peak 13,123 ft (4,000 m)\n\n* Mithrim Montes 10,948 ft (3,337 m)\n\n* Haleakalā 10,023 ft (3,055 m)\n\n* Caloris Montes 9,843 ft (3,000 m)\n\n* Io (unnamed peak) 8,202 ft (2,500 m)\n\n* Janiculum Dorsa 4,921 ft (1,500 m)\n\n* Doom Mons 4,757 ft (1,450 m)\n\n* Mons Rümker 4,265 ft (1,300 m)"
10 ]
11 },
12 ...
13 ],
14 "map": []
15 },
16 "sources": {
17 "https://en.wikipedia.org/wiki/List_of_tallest_mountains_in_the_Solar_System": {
18 "title": "List of tallest mountains in the Solar System",
19 "hostname": "en.wikipedia.org",
20 "age": [
21 "Friday, February 06, 2026",
22 "2026-02-06",
23 "11 days ago"
24 ]
25 },
26 ...
27 }
28}
Enterprise ready
-
SOC 2 attested
The Brave Search API is SOC 2 Type II attested, with its strict security and privacy controls independently verified by a third-party auditor. Visit our Trust Center to learn more.
-
Zero Data Retention
The only search API built with privacy at its core is also the only search API that can offer true Zero Data Retention. With ZDR, companies can meet ever-growing compliance obligations and gain a competitive advantage. Learn more about ZDR.
-
High capacity, low latency
Engineered for large-scale deployments, the Brave Search API can handle the capacity needs of even the largest global enterprises. Market-leading low latencies support individual use cases and workflows.
FAQ
What is the Brave Search API?
The Brave Search API is a developer tool for building applications with data from the Web. It’s powered by Brave’s independent Web index, the same index that powers Brave Search. It’s commonly used in traditional search engine products, AI search engines, AI training, and agentic (autonomous AI) search.
Why is a credit card required to subscribe to a free plan?
The credit card requirement serves as an anti-fraud measure to protect Brave from bad actors who want to abuse our API. For free plans, the card is only used to confirm your identity and will not be charged.
What other web search API options can the Brave Search API compliment or replace?
The Brave Search API can replace several competing options that may have smaller indexes (Tavily or Exa), higher latencies (SerpAPI or Serper), or more limited access (Google and Bing). It can also serve as a complement to localized API options like Baidu, Naver, Yahoo, and Yandex. The Brave Search API is powered by Brave Search, a completely independent index of the Web, which is tuned to reduce SEO spam and increase quality and recency of results.
Where does the data come from?
Every search engine that has its own index necessarily has its own Web crawler. The Brave Search crawler does not advertise a differentiated user-agent because we must avoid discrimination from websites that allow only Google to crawl them. However, if a domain or page is not crawlable by any search engine (e.g. because it has a noindex tag), or if it is not crawlable by googlebot, then Brave Search’s bot will not crawl it either.
Brave Search is also built on more than just Web crawlers: its privacy-preserving Web Discovery Project (WDP) allows Brave browser users to opt in and contribute data about searches and webpage visits. This level of voluntary human contribution to an index is unique in the world of API search and training data. WDP uses several privacy safeguards to prevent Brave from knowing who is contributing what, and the code is open-source for auditing by anyone.
What are the key benefits of the Brave Search API?
The Brave Search API offers world-class search engine capabilities at a significantly lower cost to other Search and AI Search APIs. The data is fresh, high-quality, and scales with small to large businesses. The Brave Search API is provisioned to manage thousands of requests per second (and growing) and offers customers the speed and reliability necessary for applications with millions of users around the world.
Importantly, the Brave Search API is not a scraper that simply uses bots to query Google or Bing and repackage their results. Instead, it’s our own independent index of the Web packaged with our own ranking models.
Does the Brave Search API surface recent events?
Yes. Brave Search fetches millions of webpages every day, offering extensive coverage of recent events around the world.
Can I store results retrieved from the Brave Search API?
If you would like to store the API results in part or whole (for example, to train or tune an LLM), you will need to subscribe to a plan that explicitly grants storage rights. Plans with storage rights grant special permissions which are not covered in our general Terms of Service.
What about copyright?
Brave Search API offers a ranked list of webpages that are publicly available; this list also includes information to support why the webpage is relevant to the query (for instance, via query-dependent snippets based on the content of the webpage).
The Brave Search API does not grant any rights to third-party content such as webpages. Customers who access URLs displayed in the Brave Search API must ensure their access to those webpages complies with the copyright terms of the page publishers.
Does the Brave Search API follow security and privacy best practices?
Yes. For more info, please check out our help page about API privacy and security.