Web Search
Searches ranked web results for a given query, with optional filters, highlights, and full content.
Authorizations
Bearer token used for request authentication. Alternatively, you can send the API key in the x-api-key header. Note: A payment method is required to use the API.
Body
Web search behavior configuration.
The search query.
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.
120060["octen.ai", "wikipedia.org"]A list of domains to specifically exclude from the search results.
120060["spam.com", "ads.example.net"]Strings 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.
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"
Controls highlight extraction from result pages.
Controls the formatting of highlight outputs.
markdown, text Controls filtering of explicit/adult content. off disables filtering; strict drops all adult content.
off, strict Controls whether to return the full raw content of each result page.
Whether to include images in each result.