Search
Authentication
Request
The search query used to retrieve relevant results from the web. You can also include search operators to refine your search.
Specifies the maximum number of search results to return per section (the sections are web and news. See the JSON response to visualize them).
Specifies the freshness of the results to return. Provide either one of day, week, month, year, or a date range string in the format YYYY-MM-DDtoYYYY-MM-DD.
When your search query includes a temporal keyword and you also set a freshness parameter, the search will use the broader (i.e., less restrictive) of the two timeframes. For example, if you use query=news+this+week&freshness=month, the results will use a freshness of month.
Indicates the offset for pagination. The offset is calculated in multiples of count. For example, if count = 5 and offset = 1, results 5–10 will be returned. Range 0 ≤ offset ≤ 9.
The language of the web results that will be returned (BCP 47 format).
Passing a value will turn on live crawling, which returns the full page content of each result in the specified section(s). This may add latency to the request.
Indicates the format(s) of the livecrawled content. Pass one or both values (html, markdown). In a GET request, repeat the parameter: ?livecrawl_formats=html&livecrawl_formats=markdown. In a POST body, provide a JSON array: ["html", "markdown"].
A list of domains to restrict search results to. Only results from these domains will be returned. Supports up to 500 domains. This is a strict allowlist, not a boost — results are limited exclusively to the specified domains.
Cannot be combined with exclude_domains; passing both will return a 422 error.
A list of domains to exclude from search results. Results from these domains will be filtered out. Supports up to 500 domains.
Cannot be combined with include_domains; passing both will return a 422 error.
Maximum time in seconds to wait for page content when livecrawl is enabled. Must be between 1 and 60 seconds. Default is 10 seconds.