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

请求规范

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

费用与请求规则

按用量计费;默认请求预估费用:$0.0053 USD(不是固定价格)。 声明的单位费率:每 provider_credit $0.000001 USD。 最终费用以账户适用价格及实际结算为准。 公开参考值不是你的账户报价或最终扣费。对于支持 X-AISA-Cost-Mode: quote 的接口,执行前请针对完整请求获取免费报价;执行后通过响应费用元数据和 Usage Logs 核对结算费用。1 USD 等于 1,000,000 个整数 micro-USD。
  • 默认请求参考估价(USD): 0.0053
  • 声明的单位费率(USD): 1e-06
  • 计费单位: provider_credit
  • 计费依据: response_units
  • 公开参考倍率: 1.0
  • 声明的最大计数或单位数: 10000000
  • 结算证据来源: response_body

授权

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

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

示例:

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

示例:

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

示例:

"day"

"week"

"month"

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

safesearch
string

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

示例:

"off"

"moderate"

"strict"

响应

Tool result data

results
object
必填
metadata
object