Skip to main content
POST
You.com Web Search

Request contract

  • Method and path: POST /apis/v1/you-com/you-search
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/you-com/you-search
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0053 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string
required

Search query string. Supports search operators for refined searches.

Examples:

"How to sleep early"

"Python programming tutorial"

"climate change news"

count
integer
default:10

Maximum number of search results to return per section (web/news). Valid range: 1-20.

Required range: 1 <= x <= 20
country
string

Country code for localized results (ISO 3166-1 alpha-2 format).

Examples:

"US"

"GB"

"CA"

"AU"

"DE"

"FR"

"JP"

"IN"

"BR"

"MX"

freshness
string

Filter results by recency. Options: 'day', 'week', 'month', 'year', or date range in format 'YYYY-MM-DDtoYYYY-MM-DD'.

Examples:

"day"

"week"

"month"

"2024-01-01to2024-12-31"

language
string

Language code in BCP 47 format (e.g., EN, FR, DE, ES, ZH-HANS, JA).

Examples:

"EN"

"FR"

"DE"

"ES"

"ZH-HANS"

"JA"

offset
integer
default:0

Pagination offset in multiples of count. For example, if count=10 and offset=1, returns results 10-20. Valid range: 0-9.

Required range: 0 <= x <= 9
safesearch
string

Content filtering level. Options: 'off', 'moderate', 'strict'.

Examples:

"off"

"moderate"

"strict"

Response

Tool result data

results
object
required
metadata
object