跳转到主要内容
GET
Rich Search

请求规范

  • 方法与路径: GET /apis/v1/brave/web/rich
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/brave/web/rich
  • accept: header; 可选
  • api-version: header; 可选
  • cache-control: header; 可选
  • user-agent: header; 可选
  • callback_key: query; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

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

授权

Authorization
string
header
必填

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

请求头

accept
enum<string>
默认值:application/json

The default supported media type is application/json.

可用选项:
application/json,
*/*
示例:

"application/json"

api-version
string | null

The API version to use. This is denoted by the format YYYY-MM-DD. Default is the latest that is available. Read more about API versioning.

cache-control
enum<string> | null

Brave Search will return cached content by default. To prevent caching set the Cache-Control header to no-cache. This is currently done as best effort.

可用选项:
no-cache
Allowed value: "no-cache"
user-agent
string | null

The user agent originating the request. Brave search can utilize the user agent to provide a different experience depending on the device as described by the string. The user agent should follow the commonly used browser agent strings on each platform. For more information on curating user agents, see RFC 9110.

查询参数

callback_key
string
必填

The callback key to use for the rich header

响应

Successful Response

response_callback_info
ResponseCallbackInfo · object | null
results
RichResult · object[]
type
enum<string>
默认值:rich
可用选项:
rich
Allowed value: "rich"