跳转到主要内容
POST
You.com Web Search

请求规范

  • 方法与路径: POST /apis/v1/you-com/you-search
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/you-com/you-search
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.0053 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

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

请求体

application/json
query
string
必填

Search query string. Supports search operators for refined searches.

示例:

"How to sleep early"

"Python programming tutorial"

"climate change news"

count
integer
默认值:10

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

必填范围: 1 <= x <= 20
country
string

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

示例:

"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'.

示例:

"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).

示例:

"EN"

"FR"

"DE"

"ES"

"ZH-HANS"

"JA"

offset
integer
默认值:0

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

必填范围: 0 <= x <= 9
safesearch
string

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

示例:

"off"

"moderate"

"strict"

响应

Tool result data

results
object
必填
metadata
object