Asalebeta
工具市场
搜索

Web Search

Search the web with source URLs

调用测试
价格
0.005000 USDT / 请求
状态
可调用
官方参考价
0.010000 USDT / 请求
调用方式
REST · MCP

调用测试

点击运行后才会提交调用,请先检查参数和费用上限。

输入参数JSON
登录

测试会使用账户余额,并受所选密钥预算限制。费用上限仅约束本次 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