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
  • Runtime facts: 2854e92a22d99e01078c6b9c27a10c34f63b9ee6752791254b07e997291a8727
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.0053 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.0053
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Declared maximum count/units: 10000000
  • Settlement evidence source: response_body

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
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
country
string

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

Examples:

"US"

"GB"

"CA"

"AU"

"DE"

"FR"

"JP"

"IN"

"BR"

"MX"

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"

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"

safesearch
string

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

Examples:

"off"

"moderate"

"strict"

Response

Tool result data

results
object
required
metadata
object