Asalebeta
工具市場
搜尋

Web Search

Search the web with source URLs

呼叫測試
價格
0.005000 USDT / 請求
狀態
可呼叫
官方參考價
0.010000 USDT / 請求
呼叫方式
REST · MCP

呼叫測試

點擊執行後才會提交呼叫,請先檢查參數和費用上限。

輸入參數JSON
登入

測試會使用帳戶餘額,並受所選金鑰預算限制。費用上限僅約束本次 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>'
參數必填類型
categorystring
end_crawl_datestring
end_published_datestring
exclude_domainsarray
extrasobject
highlightsboolean
include_domainsarray
limitinteger
livecrawl_timeoutinteger
max_age_hoursnumber
max_chars_per_resultinteger
objectivestring
output_schemaobject
querystring
scrape_optionsobject
search_modeJSON
search_queriesarray
search_typeJSON
start_crawl_datestring
start_published_datestring
subpage_targetarray
subpagesinteger
summaryboolean
system_promptstring
textboolean
user_locationstring
完整輸入規範
{
  "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