Web Search
Search the web from a large independent index of web pages.
Authorization
Query Parameters
country enum<string> "US"ARAUAT search_lang enum<string> "en"areubn ui_lang enum<string> "en-US"es-ARen-AUde-AT count integer The number of search results returned in response. The maximum is 20. The actual number delivered may be less than requested. Combine this parameter with offset to paginate search results.
NOTE: Count only applies to web results.
1 Max: 20 Default: 20offset integer The zero based offset that indicates number of search result pages (count) to skip before returning the result. The default is 0 and the maximum is 9. The actual number delivered may be less than requested.
Use this parameter along with the count parameter to page results. For example, if your user interface displays 10 search results per page, set count to 10 and offset to 0 to get the first page of results. For each subsequent page, increment offset by 1 (for example, 0, 1, 2). It is possible for multiple pages to include some overlap in results.
0 Max: 9 Default: 0safesearch enum<string> Filters search results for adult content. The following values are supported:
- off - No filtering is done.
- moderate - Filters explicit content, like images and videos, but allows adult domains in the search results.
- strict - Drops all adult content from search results.
"moderate"offmoderatestrict spellcheck boolean trueFilters search results by page age. The age of a page is determined by the most relevant date reported by the content, such as its published or last modified date. The following values are supported:
- pd - Pages aged 24 hours or less.
- pw - Pages aged 7 days or less.
- pm - Pages aged 31 days or less.
- py - Pages aged 365 days or less.
- YYYY-MM-DDtoYYYY-MM-DD - A custom date range is also supported by specifying start and end dates e.g.
2022-04-01to2022-07-30.
""text_decorations boolean trueA comma delimited string of result types to include in the search response.
Not specifying this parameter will return back all result types in search response where data is available
and the plan has the corresponding option activated. The response always includes query and type to
identify any query modifications and response type respectively.
Available result filter values are: discussions, faq, infobox, news, query, summarizer, videos, web, locations.
NOTE: count param only applies to web results.
units enum<string> The measurement units. The following values are supported:
- metric - The standardized measurement system (km, celcius…)
- imperial - The British Imperial system of units (mile, fahrenheit…)
imperialmetric goggles_id string deprecated https://raw.githubusercontent.com/brave/goggles-quickstart/main/goggles/hacker_news.gogglePrioritizes domains popular with the Hacker News
goggles string | string[] https://raw.githubusercontent.com/brave/goggles-quickstart/main/goggles/hacker_news.gogglePrioritizes domains popular with the Hacker News! name: Social Networks ! description: Removes social networks ! public: true ! author: Average Joe ! avatar: #de0320 $discard,site=facebook.com $discard,site=x.com $discard,site=instagram.comSocial media blocker
extra_snippets boolean summary boolean enable_rich_callback boolean Enable rich callback. Allows you to get real time rich results via a callback URL when they are relevant to your query.
NOTE: Requires Search plan.
falseHeaders
-90 Max: 90 -180 Max: 180 x-loc-country enum<string> The two letter country code for the client’s country. For a list of country codes, see ISO 3166-1 alpha-2.
ADAEAF api-version string YYYY-MM-DD. Default is the latest that is available. Read more about API versioning.accept enum<string> "application/json"application/json*/* cache-control "no-cache" no-cache. This is currently done as best effort.user-agent string Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.71 Mobile Safari/537.36AndroidMozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/103.0.5060.63 Mobile/15E148 Safari/604.1iOSMozilla/5.0 (Macintosh; Intel Mac OS X 12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36macOSMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36Windows
Responses
query.search_operators.applied boolean falsediscussions.type "search" search."search"discussions.results.type "discussion" discussion."discussion"discussions.results.subtype string "generic"discussions.results.is_live boolean false.falsediscussions.mutated_by_goggles boolean false by default.falselocations.type "locations" locations."locations"locations.results.is_source_both boolean falselocations.results.type "location_result" location_result."location_result"mixed.type "mixed" mixed."mixed"mixed.main.all boolean falsemixed.top.all boolean falsemixed.side.all boolean falsenews.results.is_source_both boolean falsevideos.results.type "video_result" video_result."video_result"web.type "search" search."search"web.results.is_source_both boolean falseweb.results.type "search_result" search_result."search_result"web.results.is_live boolean false.falsesummarizer.type "summarizer" summarizer."summarizer"