跳到正文

面向 AI 智能体的搜索 API:连同回答问题的段落一次返回

一次调用即可为智能体接入网页搜索。POST /v1/search 为每条结果返回页面中回答问题的段落,约 3 秒内响应。每次搜索 0.5 积分,Max 套餐每 1,000 次 $0.50。Pro Search 针对更难的问题做更深入的搜索,每次 2 积分。

搜索 API 的回答准确率与价格

2026年11月15日

FRAMES 回答准确率

↖ 越靠左上越便宜、越准确

40%50%60%70%80%$0$2$4$6$8$10$12Firecrawl43.5% · $1.20Tavily basic48.5% · $5.00Tavily advanced53.5% · $10.00Parallel fast63.5% · $1.00Exa68.0% · $7.00Parallel advanced70.0% · $5.00querying.ai Search66.5% · $0.50querying.ai Pro Search68.5% · $2.00

每 1,000 次搜索的价格 · 公开最低价

每 1,000 个正确回答的成本

价格 ÷ 100 道公司新闻问题的准确率

  1. querying.ai Search$0.51
  2. Parallel fast$1.00
  3. Firecrawl$1.26
  4. querying.ai Pro Search$2.02
  5. Parallel advanced$5.00
  6. Tavily basic$5.10
  7. Exa$7.07
  8. Tavily advanced$10.20

测量方法

2026年11月15日 使用 200 道 FRAMES 问题测量。每个 API 对每道问题搜索一次,返回 10 条带正文的结果:querying.ai 每条结果最多 10,000 个字符,Exa 最多 20,000 个字符,Tavily、Parallel 和 Firecrawl 为默认正文。先去掉原样转载基准问题的结果,再由一个语言模型只根据其余结果写出回答,另一个模型使用基准的评分提示词评分。Pro Search、Exa 和 Parallel advanced 彼此在抽样误差之内,Search 和 Parallel fast、Tavily basic 和 Firecrawl 也是如此。Firecrawl 于 2026年11月17日 用相同方法测量。

100 道公司新闻问题

使用 Openbenchmarks 的 OB-News-Websearch 公开问题,并按其开源工具的方式提问:每道问题搜索一次,返回 10 条结果,每条结果只取前 1,200 个字符。语言模型只根据这些结果作答,并对照问题集的标准答案评分。所有服务的准确率都在 95% 到 100% 之间,因此每个正确回答的成本与价格一致。Openbenchmarks 自己的排行榜使用非公开问题评分,不能与这里的分数比较。

SimpleQA 500 道问题

以相同方法测量:querying.ai Search 95.8%, querying.ai Pro Search 95.6%, Exa 95.4%, Parallel advanced 96.2%, Parallel fast 95.8%, Tavily advanced 96.8%, Tavily basic 87.4%, Firecrawl 87.0% (前 200 道题)。除 Tavily basic 和 Firecrawl 外,所有服务都在 95% 到 97% 之间。

2026年11月15日 的价格

各服务每 1,000 次搜索(每次最多 10 条结果)的公开最低价:querying.ai 为 Max 套餐,Exa 为带正文的 search,Tavily 为 Growth 套餐,Parallel 为标价,Firecrawl 为按年付费的 Scale 套餐。

问题集: FRAMES · SimpleQA · OB-News-Websearch

端点
POST /v1/search
响应时间
约 3 秒,Pro Search 约 4 秒
价格
每次搜索 0.5 积分,Pro Search 2 积分
每条结果
网址、标题、得分和回答问题的段落

Search 功能

各服务之间有差异的功能,取自各服务的 API 文档。

功能querying.aiParallelFirecrawlTavilyExa
日期范围只返回在两个日期之间发布的结果。有无有有有
深度搜索为需要多个来源的问题进行更深入搜索的模式。有每 1,000 次 $2.00有每 1,000 次 $5.00无有每 1,000 次 $10.00有每 1,000 次 $12.00
Webhook搜索完成后将结果发送到你的服务器。有无无无无

2026年11月18日 的功能

取自各服务的 API 文档。Parallel 的日期筛选只支持开始日期。深度搜索指 querying.ai Pro Search、Parallel advanced、Tavily advanced 和 Exa Deep,均按各服务最低公开价格计算。

API 文档

Parallel · Firecrawl · Tavily · Exa

一次调用,返回智能体可直接阅读的正文

Search 会找到回答问题的页面,并为每条结果返回地址、标题、摘要、相关度分数,以及以纯文本形式回答问题的段落。智能体一次请求即可获得上下文,无需再次调用去抓取页面。

一个端点,同时提供 Search 与 Pro Search

用 type 选择搜索方式。standard 在 约 3 秒内响应。pro 会覆盖更多网页并更仔细地挑选段落,适合需要多个来源的问题,约 4 秒内响应。

步骤 1

发送查询,在同一响应中读取结果

把 query 发送到 POST /v1/search,连接会保持到 results 在同一响应中返回。numResults 设置 1 到 10 条结果,contents.text.maxCharacters 设置每条结果携带的正文长度,200 到 10,000 个字符。

cURL
curl -X POST https://api.querying.ai/v1/search \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "how do heat pumps work in cold climates",
    "type": "pro",
    "numResults": 3,
    "contents": { "text": { "maxCharacters": 500 } }
  }'
步骤 2

直接从响应中读取段落

results 按 score 排序返回。text 包含每个页面中回答问题的段落,智能体可以原样交给模型。

JSON
{
  "task": {
    "taskType": "SEARCH",
    "status": "COMPLETED",
    "latencyMs": 4063
  },
  "response": {
    "type": "pro",
    "query": "how do heat pumps work in cold climates",
    "results": [
      {
        "url": "https://www.carrier.com/us/en/residential/hvac-resources/heat-pumps/cold-climate-heat-pump/",
        "title": "Cold Climate Heat Pump Systems | Efficient Heating in Extreme …",
        "snippet": "In the winter, heat pumps work in cold weather by extracting thermal energy from the outdoor air and transferring it …",
        "text": "## Do cold climate heat pumps work?\n\nA heat pump is a versatile, year-round system that heats and cools your home by moving heat energy rather than generating it. In the winter, heat pumps work in cold weather by extracting thermal energy from the outdoor air and transferring it indoors.\n\n## Innovation in Action: The DOE Challenge\n\nCarrier is committed to pushing the boundaries of what a heat pump in cold weather can do. Carrier completed the Department of Energy’s Cold Climate Heat Pump Challen",
        "score": 1,
        "publishedDate": "2026-09-15T11:03:00.000Z"
      },
      {
        "url": "https://www.mitsubishicomfort.com/articles/mythbusters-heat-pumps-for-extreme-cold-climates",
        "title": "Heat Pumps in Extreme Cold Climates | Mitsubishi Electric HVAC US",
        "snippet": "In cold climates, heat pumps typically experience a decrease in pressure, refrigerant flow rate and operational …",
        "text": "## Myth: Heat Pumps Are Only for Mild and Warm Climates\n\nHow do they work? In cold climates, heat pumps typically experience a decrease in pressure, refrigerant flow rate and operational capacity. Variable-capacity heat pumps with Hyper-Heating INVERTER (H2i or H2i plus technology) allow for higher compressor speeds and pressures at lower outdoor air temperatures. This special function provides superior heat transfer performance.",
        "score": 0.8333,
        "publishedDate": "2026-10-19T12:06:06.108Z"
      },
      {
        "url": "https://homes.rewiringamerica.org/articles/heating-and-cooling/heat-pumps-cold-weather",
        "title": "Do heat pumps work in cold climates? - Rewiring America",
        "snippet": "This is why in extremely cold environments, your contractor will recommend a cold climate air-source heat pump — which generates …",
        "text": "In heating mode, heat pumps go into reverse and pump heat from the air outside your home to the inside. How does that work? Because heat is energy, there’s energy in the air even when it’s very cold outside. Believe it or not, super cold air — 0 degree Fahrenheit — contains more than 75 percent of the energy in 140 degrees Fahrenheit air!",
        "score": 0.6667
      }
    ]
  }
}

用参数调整每次搜索

只有 query 是必填项。

  • type:standard 或 pro,默认 standard。
  • numResults:1 到 10 条结果,默认 5 条。
  • contents.text.maxCharacters:每条结果 200 到 10,000 个字符的正文,默认 2,000。
  • includeDomains、excludeDomains:最多指定 20 个要搜索或要排除的网站。
  • userLocation:两位国家代码,返回该市场的结果。

每条结果的字段

results 按 score 排序。

  • url、title、snippet:与搜索引擎结果页显示的一致。
  • text:页面中回答问题的段落,按页面顺序排列,标题、列表和表格保留为纯文本。
  • score:0 到 1 的相关度,可在同一响应内比较。
  • publishedDate、siteName:页面有声明时返回。

用 Scrape 读取整页内容

当结果中的段落不够时,把该地址以 taskType WEB_SCRAPE 发送到 POST /v1/async/task。它会以 Markdown 返回页面正文,并附带标题、元数据和图片,也能读取 PDF。每页 0.3 积分,1,000 页在 Basic 为 $0.75,在 Max 为 $0.30。在 MCP 中通过 web_scrape 工具调用。

每次搜索 0.5 积分,Pro Search 2 积分

搜索完成时计费,失败的搜索不计费。1,000 次搜索在 Basic 套餐为 $1.25,在 Max 套餐为 $0.50;1,000 次 Pro Search 分别为 $5.00 和 $2.00。新账户赠送 500 积分,可搜索 1,000 次。

查看价格 →
按套餐计算的请求费用
套餐1,000 次
Basic≈ $1.25
Max≈ $0.50

这是使用完月度套餐积分时的换算费用。

相关功能

常见问题

1,000 次搜索多少钱?

每次搜索 0.5 积分,Pro Search 2 积分。每 1,000 次搜索的各套餐价格为 Basic $1.25, Pro $0.59, Scale $0.52, Max $0.50;每 1,000 次 Pro Search 为 Basic $5.00, Pro $2.35, Scale $2.08, Max $2.00。

什么时候计费?

搜索完成时计费。失败的搜索不计费。

搜索有多快?

standard 搜索在 约 3 秒内返回带结果的响应,pro 搜索约 4 秒。

正文会被改写或摘要吗?

不会。text 中的每个字都来自页面原文,智能体可以直接引用并标注来源地址。

它与 Google SERP API 有什么不同?

GOOGLE_SERP 原样返回 Google 结果页,包括排名、广告和面板。Search 返回页面中回答问题的段落,智能体可以直接阅读。

如何读取整个页面?

把地址发送给 Scrape (WEB_SCRAPE),它会以 Markdown 返回页面正文。每页 0.3 积分,每 1,000 页各套餐价格为 Basic $0.75, Pro $0.35, Scale $0.31, Max $0.30。

用 500 免费积分开始

在 Playground 运行第一个任务,或用你的密钥直接调用 API。