Search the web
Search the web and get structured results. Returns ranked results with titles, snippets, and URLs.
Location and language resolution:
- If
locationis set butlanguageis not, the language auto-resolves to the most predominantly used language in that country. - If
languageis set butlocationis not, the location auto-resolves to the country where that language is most predominantly used. - If neither
locationnorlanguageis set, defaults toUSanden.
Authorizations
API key for authentication. Get your key from the API Keys page.
Query Parameters
Search query
1 - 2000"web automation tools"
Why this search is being run — the underlying goal or task the results will be used for. Used to better rank results against your intent.
1 - 2000"Find an open-source library for parsing PDF invoices in Python"
Country code for geo-targeted results
"US"
Language code for result language
"en"
Comma-separated list of domains to restrict results to
"github.com,arxiv.org"
Comma-separated list of domains to exclude from results
"pinterest.com,quora.com"
Type of search to perform: "web" for standard results, "news" for news articles, "research_paper" for academic papers. Defaults to "web".
web, news, research_paper "news"
Return results after this date (YYYY-MM-DD)
"2024-01-01"
Return results before this date (YYYY-MM-DD)
"2024-12-31"
Return results from the past N minutes (1 to 5,256,000).
1 <= x <= 525600060
Return research papers published on or after this year (0-9999, inclusive). Only supported for domain_type=research_paper.
0 <= x <= 99992019
Return research papers published on or before this year (0-9999, inclusive). Only supported for domain_type=research_paper.
0 <= x <= 99992022
Page number for pagination, starting from 0 (max 10)
0 <= x <= 102
When "true", each result includes a thumbnail_url when available. Defaults to false.
true, false "true"
JSON-encoded fetch configuration object.
256"{}"
Response
Search completed successfully.
Search response with results
The search query that was executed
"web automation tools"
Array of search results
Total number of results
10
The current page number, starting from 0
0
Request correlation ID, also returned as the X-Request-ID response header. Present only when any result carries a fetch_error; include it when reporting failed fetches.
"8f9dba20-e37b-4749-a919-2269e28b4a2c"