Basic Search
Search the web and get structured results:Search with Intent
Pass the optionalpurpose parameter to state why you are searching — the goal
the results will be used for. It is always optional, but supplying it gives the
search additional intent signal beyond the raw keywords, helping deliver
better-quality results.
Include or Exclude Sites
Use search operators in thequery string to control which domains appear in
the results. Use site: to limit results to a domain, and repeat -site: to
exclude domains.
-site: terms to the query:
cURL
Geo-Targeted Search
Get results localized to a specific country and language:When only
language is provided, location auto-resolves to the most common pairing (e.g. fr → FR, ja → JP). See the Reference for details.Search + Fetch Pipeline
Combine Search with Fetch to get full page content from top results:Freshness Filter
Userecency_minutes when you want a freshness window relative to now.
Date Window Search
Useafter_date and before_date when you want a calendar date range.
News Search
Usedomain_type=news to retrieve recent news articles. Results include publisher and date fields.
Research Paper Search
Usedomain_type=research_paper to search academic papers. Results include authors, venue, year, and cited_by_count fields.
Related
Search Reference
Full parameter and response docs
Fetch Examples
Extract page content from URLs