Asalebeta
工具市場
網頁內容

Web Extract

Extract readable content from a public webpage

呼叫測試
價格
0.001000 USDT / 頁
狀態
可呼叫
官方參考價
0.005000 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.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_adsboolean
exclude_tagsarray
extrasobject
formatsarray
full_contentboolean
highlightsboolean
include_tagsarray
livecrawl_timeoutinteger
max_age_hoursnumber
max_chars_per_resultinteger
mobileboolean
objectivestring
only_main_contentboolean
remove_base64_imagesboolean
subpage_targetarray
subpagesinteger
summaryboolean
textboolean
timeoutinteger
urlstring
wait_forinteger
zero_data_retentionboolean
完整輸入規範
{
  "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