Search1APISearch1API

从网页提取结构化数据

/extract

使用提示词从单个网页提取指定信息,返回符合所提供 JSON Schema 的结构化数据。

最近 7 天完成的调用
0

统计不包含取消的调用。执行时间仅统计成功调用。

通过你的 Agent 使用

请安装 https://www.agentrouter.to/SKILL.md,然后通过 AgentRouter 使用 Search1API 的 /extract 接口。

输入参数

url必填
string
prompt必填
string
response_format必填
object

输入示例

{
  "url": "https://example.com",
  "prompt": "Extract the page title.",
  "response_format": {
    "type": "json_schema",
    "json_schema": {
      "name": "page",
      "schema": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          }
        }
      }
    }
  }
}

输出

Search1API 返回的 results。