WebSearch
Details and Options
- WebSearch requires internet connectivity and uses external services that require Service Credits.
- WebSearch supports the following basic search forms, which can be combined arbitrarily:
-
string string is the query for the search engine"string" complete string must occur in the page{s1,s2,…} search for all si in the pages1|s2|… at least one of the si must occur in the page"field"s1 the si must occur in the given field
- Possible fields include:
-
"Country" search only within a given country's web domain"Site" search only within specified website"FileFormat" search only for files with the specified format
- File formats can be specified either by strings as used by Import or by entities of type "FileFormat" .
- Possible options include:
-
AllowAdultContent False whether to include adult-type results
- Languages can be specified using entities of type "Language" or strings corresponding to standard names of languages.
- Possible settings for Method include "Google" and "Bing".
- Possible elements that can be specified by elems include:
-
"PageTitles" page titles"Snippets" textual snippets of page content"Hyperlinks" page hyperlinks
Examples
open all close allBasic Examples (4)
Perform a basic web search:
Search using alternatives:
Search for pages containing all specified terms:
Create a word cloud from web search snippets:
Scope (3)
Search Fields (2)
Filter results by country:
Filter results by file format:
Elements (1)
Retrieve only textual snippets for all search results:
Options (3)
Language (1)
Search for pages in a specified language:
MaxItems (1)
Specify the maximum number of results to retrieve:
Method (1)
Specify a search engine:
See Also
WebImageSearch WikipediaData WikipediaSearch TextSearch ServiceExecute $ServiceCreditsAvailable
Function Repository: AutomaticReport
History
Text
Wolfram Research (2017), WebSearch, Wolfram Language function, https://reference.wolfram.com/language/ref/WebSearch.html.
CMS
Wolfram Language. 2017. "WebSearch." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WebSearch.html.
APA
Wolfram Language. (2017). WebSearch. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WebSearch.html
BibTeX
@misc{reference.wolfram_2025_websearch, author="Wolfram Research", title="{WebSearch}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/WebSearch.html}", note=[Accessed: 17-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_websearch, organization={Wolfram Research}, title={WebSearch}, year={2017}, url={https://reference.wolfram.com/language/ref/WebSearch.html}, note=[Accessed: 17-November-2025]}