ナビゲーションにスキップ

When should I use Web Research ($0.05) instead of Search + Read, and how do I handle HTTP 202?

Markdownとして表示

Use POST /v1/web/research ($0.05 per successful run) when you need an agent to run multiple searches and page reads across several sources and synthesize a lead brief—typically taking 30 seconds to 3 minutes. Use POST /v1/web/search ($0.005) plus POST /v1/web/read ($0.002 per readable URL) when you already know which official site or specific pages to check.

Comparing cost, latency, and control

NeedBest endpointPriceTypical latency
Check one official notice or known URLsweb/search + web/read$0.005 + $0.002/URLA few seconds
Weigh several sources or cross-check public discussion (include_x: true)web/research$0.05 (complete or partial)30 seconds – 3 minutes

Handling HTTP 202 and long runs

POST /v1/web/research holds the HTTP connection for up to 85 seconds (set your HTTP client timeout to at least 90 seconds, e.g. curl --max-time 100). If research takes longer:

  1. BeatAPI returns HTTP 202 with {"object":"web.research","request_id":"...","status":"running","next":{...}}.
  2. Send the returned next payload to POST /v1/capabilities/run every 10–15 seconds until data.status is succeeded, then read data.output.
  3. Calling through MCP (web_research) waits up to 45 seconds before returning the same next polling step.

Which sources in web/research can you cite?

  • Cite only read_status: "read": research_notes are unverified leads; sources marked snippet, cited, or failed were not read in full.
  • Missing content on a read source: Because one call caps total returned text, a read source may omit content. Pass its url to POST /v1/web/read if you need exact quotes.
  • Billing: Both status: "complete" and status: "partial" (check partial_reasons) are billed at $0.05; failed runs cost $0. See BeatAPI Web Search API and BeatAPI pricing.

Back to Web Search questions.