Web Search
Searches the live web and returns ranked results with model-ready highlights and optional full content. Optional filters narrow sources, time windows, and languages.
Authorizations
Bearer token used for request authentication. Alternatively, you can send the API key in the x-api-key header.
Body
Web search behavior configuration.
The search query.
Operators
site:<domain>: restrict results to a single domain. For multiple domains, useinclude_domainsandexclude_domains.-site:<domain>: exclude a single domain from the results.
500Use general for general web search, or news for news-focused results.
general, news Number of results to return.
1 <= x <= 100A list of domains to specifically include in the search results. The site: query operator adds to this list.
120060A list of domains to specifically exclude from the search results. The -site: query operator adds to this list. If a domain appears in both include_domains and exclude_domains, exclude_domains takes precedence.
120060Strings that must appear in the result page text.
530Strings that must not appear in the result page text.
530Determines which time field is used for time filtering. published uses time_published; crawled uses time_last_crawled. Results missing this field are excluded when filtering by time.
auto, published, crawled Relative time window counting back from the current time based on time_basis. Mutually exclusive with start_time/end_time — if both are provided, start_time/end_time take precedence.
day, week, month, year, d, w, m, y Start time for filtering results. ISO 8601 format.
"2025-01-01T00:00:00+08:00"
End time for filtering results. ISO 8601 format.
"2025-01-01T00:00:00+08:00"
A list of languages to restrict results to, as ISO 639-1 codes. By default, no language filter is applied.
ar, de, en, es, fr, hi, id, it, ja, ko, nl, pl, pt, ru, th, tr, vi, zh Controls highlight extraction from result pages.
Controls whether to return the full raw content of each result page.
Controls the formatting of highlight outputs.
markdown, text Controls filtering of explicit/adult content. off disables filtering; strict drops all adult content.
off, strict Whether to include images in each result.