工具市場
網頁內容
呼叫測試Web Extract
Extract readable content from a public webpage
- 價格
- 0.001000 USDT / 頁
- 狀態
- 可呼叫
- 官方參考價
- 0.005000 USDT / 頁
- 呼叫方式
- REST · MCP
呼叫測試
點擊執行後才會提交呼叫,請先檢查參數和費用上限。
測試會使用帳戶餘額,並受所選金鑰預算限制。費用上限僅約束本次 API 呼叫,不包含後續呼叫或上游週期任務。
執行後,在這裡查看狀態、費用和回傳內容。
API 文件
非同步建立成功僅表示取得任務回執。需將回執 ID 傳給對應平台的狀態或結果介面,確認上游任務是否完成。
curl https://gw.asale.ai/v1/tool-runs \
-H 'Authorization: Bearer <ASALE_API_KEY>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: <UNIQUE_REQUEST_ID>' \
-d '{
"tool": "web.extract",
"input": {
"url": "https://example.com"
},
"max_cost_micros": 1000
}'curl https://gw.asale.ai/v1/tool-runs/<RUN_ID> -H 'Authorization: Bearer <ASALE_API_KEY>'| 參數 | 必填 | 類型 |
|---|---|---|
| block_ads | 否 | boolean |
| exclude_tags | 否 | array |
| extras | 否 | object |
| formats | 否 | array |
| full_content | 否 | boolean |
| highlights | 否 | boolean |
| include_tags | 否 | array |
| livecrawl_timeout | 否 | integer |
| max_age_hours | 否 | number |
| max_chars_per_result | 否 | integer |
| mobile | 否 | boolean |
| objective | 否 | string |
| only_main_content | 否 | boolean |
| remove_base64_images | 否 | boolean |
| subpage_target | 否 | array |
| subpages | 否 | integer |
| summary | 否 | boolean |
| text | 否 | boolean |
| timeout | 否 | integer |
| url | 是 | string |
| wait_for | 否 | integer |
| zero_data_retention | 否 | boolean |
完整輸入規範
{
"additionalProperties": false,
"properties": {
"block_ads": {
"type": "boolean"
},
"exclude_tags": {
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"extras": {
"type": "object"
},
"formats": {
"items": {
"oneOf": [
{
"enum": [
"markdown",
"html",
"rawHtml",
"links",
"images",
"screenshot",
"json",
"summary"
]
},
{
"additionalProperties": false,
"properties": {
"fullPage": {
"type": "boolean"
},
"prompt": {
"type": "string"
},
"quality": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"schema": {
"type": "object"
},
"type": {
"enum": [
"markdown",
"html",
"rawHtml",
"links",
"images",
"screenshot",
"json",
"summary"
]
}
},
"required": [
"type"
],
"type": "object"
}
]
},
"maxItems": 10,
"minItems": 1,
"type": "array"
},
"full_content": {
"type": "boolean"
},
"highlights": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "object"
}
]
},
"include_tags": {
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"livecrawl_timeout": {
"maximum": 120000,
"minimum": 0,
"type": "integer"
},
"max_age_hours": {
"maximum": 87600,
"minimum": -1,
"type": "number"
},
"max_chars_per_result": {
"maximum": 120000,
"minimum": 0,
"type": "integer"
},
"mobile": {
"type": "boolean"
},
"objective": {
"maxLength": 15000,
"minLength": 1,
"type": "string"
},
"only_main_content": {
"type": "boolean"
},
"remove_base64_images": {
"type": "boolean"
},
"subpage_target": {
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"subpages": {
"maximum": 100,
"minimum": 0,
"type": "integer"
},
"summary": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "object"
}
]
},
"text": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "object"
}
]
},
"timeout": {
"maximum": 120000,
"minimum": 0,
"type": "integer"
},
"url": {
"maxLength": 12000,
"minLength": 1,
"type": "string"
},
"wait_for": {
"maximum": 120000,
"minimum": 0,
"type": "integer"
},
"zero_data_retention": {
"type": "boolean"
}
},
"required": [
"url"
],
"type": "object"
}價格
0.001000 USDT / 頁
測試會使用帳戶餘額,並受所選金鑰預算限制。費用上限僅約束本次 API 呼叫,不包含後續呼叫或上游週期任務。
價格版本 12
網頁內容
Asale 依報價撮合同一能力的可用通道,優先選擇低價供給。參考價採各通道已核實參考價的最高值。只有明確未執行的拒絕才會轉移通道;結果不確定時進入對帳,避免重複收費。
供給通道: 3