工具市場
搜尋
呼叫測試Web Search
Search the web with source URLs
- 價格
- 0.005000 USDT / 請求
- 狀態
- 可呼叫
- 官方參考價
- 0.010000 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.search",
"input": {
"limit": 1,
"query": "IANA example domains",
"search_queries": [
""
]
},
"max_cost_micros": 5000
}'curl https://gw.asale.ai/v1/tool-runs/<RUN_ID> -H 'Authorization: Bearer <ASALE_API_KEY>'| 參數 | 必填 | 類型 |
|---|---|---|
| category | 否 | string |
| end_crawl_date | 否 | string |
| end_published_date | 否 | string |
| exclude_domains | 否 | array |
| extras | 否 | object |
| highlights | 否 | boolean |
| include_domains | 否 | array |
| limit | 否 | integer |
| livecrawl_timeout | 否 | integer |
| max_age_hours | 否 | number |
| max_chars_per_result | 否 | integer |
| objective | 否 | string |
| output_schema | 否 | object |
| query | 是 | string |
| scrape_options | 否 | object |
| search_mode | 否 | JSON |
| search_queries | 否 | array |
| search_type | 否 | JSON |
| start_crawl_date | 否 | string |
| start_published_date | 否 | string |
| subpage_target | 否 | array |
| subpages | 否 | integer |
| summary | 否 | boolean |
| system_prompt | 否 | string |
| text | 否 | boolean |
| user_location | 否 | string |
完整輸入規範
{
"additionalProperties": false,
"properties": {
"category": {
"maxLength": 15000,
"minLength": 1,
"type": "string"
},
"end_crawl_date": {
"maxLength": 15000,
"minLength": 1,
"type": "string"
},
"end_published_date": {
"maxLength": 15000,
"minLength": 1,
"type": "string"
},
"exclude_domains": {
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"extras": {
"type": "object"
},
"highlights": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "object"
}
]
},
"include_domains": {
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"limit": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"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"
},
"objective": {
"maxLength": 15000,
"minLength": 1,
"type": "string"
},
"output_schema": {
"type": "object"
},
"query": {
"maxLength": 12000,
"minLength": 1,
"type": "string"
},
"scrape_options": {
"additionalProperties": false,
"properties": {
"blockAds": {
"type": "boolean"
},
"excludeTags": {
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"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"
},
"includeTags": {
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"mobile": {
"type": "boolean"
},
"onlyMainContent": {
"type": "boolean"
},
"removeBase64Images": {
"type": "boolean"
},
"timeout": {
"maximum": 120000,
"minimum": 0,
"type": "integer"
},
"waitFor": {
"maximum": 120000,
"minimum": 0,
"type": "integer"
},
"zeroDataRetention": {
"type": "boolean"
}
},
"type": "object"
},
"search_mode": {
"enum": [
"basic",
"advanced",
"fast",
"turbo"
]
},
"search_queries": {
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"search_type": {
"enum": [
"auto",
"instant",
"fast",
"deep-lite",
"deep",
"deep-reasoning"
]
},
"start_crawl_date": {
"maxLength": 15000,
"minLength": 1,
"type": "string"
},
"start_published_date": {
"maxLength": 15000,
"minLength": 1,
"type": "string"
},
"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"
}
]
},
"system_prompt": {
"maxLength": 15000,
"minLength": 1,
"type": "string"
},
"text": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "object"
}
]
},
"user_location": {
"maxLength": 15000,
"minLength": 1,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}價格
0.005000 USDT / 請求
測試會使用帳戶餘額,並受所選金鑰預算限制。費用上限僅約束本次 API 呼叫,不包含後續呼叫或上游週期任務。
價格版本 12
搜尋
Asale 依報價撮合同一能力的可用通道,優先選擇低價供給。參考價採各通道已核實參考價的最高值。只有明確未執行的拒絕才會轉移通道;結果不確定時進入對帳,避免重複收費。
供給通道: 3