Web Search (Basic, no extraction)
youcom_post_v1_searchSearch web and news results with all page-extraction options disabled. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Specifies the maximum number of search results to return per section (the sections are `web` and `news`. See the JSON response to visualize them). | |
| query | Yes | The search query used to retrieve relevant results from the web. You can also include [search operators](https://you.com/docs/guides/search/search-operators) to refine your search. | |
| offset | No | 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`. | |
| country | No | The country code that determines the geographical focus of the web results. | |
| language | No | The language of the web results that will be returned (BCP 47 format). | |
| knowledge | No | Requests knowledge results alongside web and news search. | |
| safesearch | No | Configures the safesearch filter for content moderation. This allows you to decide whether to return NSFW content or not. | |
| boost_domains | No | A list of domains to boost in search ranking. Matching results from these domains receive a fixed relative ranking boost, but this is not a filter. If the boosted domains do not have matching results, results from other domains can still appear. Supports up to 500 domains. Can be combined with `exclude_domains`. Cannot be combined with `include_domains`. Passing both `boost_domains` and `include_domains` will return a `422` error. | |
| exclude_domains | No | A list of domains to exclude from search results. Results from these domains will be filtered out. Supports up to 5000 domains. Cannot be combined with `include_domains`; passing both will return a `422` error. | |
| include_domains | No | 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. | |
| strict_operators | No | Enforce search operators such as quoted phrases and `site:` exactly. By default, when a query's operators match no pages, the search relaxes them and returns the closest matches. Has no effect with `extraction_mode: "highlights"`. |