跳转到主要内容
POST
Extract Structured Web Data

请求规范

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

费用与请求规则

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

授权

Authorization
string
header
必填

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

请求体

application/json
output_schema
object
必填

JSON Schema describing the object to extract. Add descriptions to non-obvious properties so the extractor can interpret them correctly.

示例:
url
string<uri>
必填

Starting HTTP or HTTPS website URL to crawl.

Minimum string length: 1
示例:

"https://example.com"

fact_check
boolean
默认值:false

Require every returned value to be grounded in page content. Unsupported fields are returned as null or empty instead of inferred.

follow_subdomains
boolean
默认值:false

Follow links on subdomains of the starting domain.

instructions
string

Optional extraction guidance or field interpretation, up to 2000 characters.

Maximum string length: 2000
max_depth
integer

Maximum link depth from the starting URL. Use 0 to analyze only the starting page; omit for no crawl-depth limit.

必填范围: x >= 0
max_pages
integer
默认值:5

Maximum pages to analyze (1-50). Higher values increase the price.

必填范围: 1 <= x <= 50
stop_after_ms
integer
默认值:80000

Soft crawl time budget in milliseconds (10000-110000).

必填范围: 10000 <= x <= 110000
tags
string[]

Usage-tracking tags. Provide at most 20 tags of 1-50 characters each.

Maximum array length: 20
Required string length: 1 - 50

响应

Tool result data

data
object
必填
metadata
object
必填
url
string
必填
key_metadata
object
urls_analyzed
string[]