mocop
Browse · Docs · Guide · Analyze

AgentSearch Web Extract

API by AgentSearch · rest

Pocket Network service agentsearch-web-extract-v1 (REST). Web page to clean Markdown for AI agents, LLM and RAG pipelines. Every response, success or error, is a JSON object. No caller authentication; all inputs arrive in the JSON request body. POST / is accepted as an alias of POST /v1/extract. Target-site failures (HTTP 4xx/5xx from the target, timeout, DNS or connection failure, unsupported content type, too many redirects) are NOT service errors: they return HTTP 200 with the usual response fields (request_id, url, meta.fetched_at), empty markdown/text and a non-null error object (e.g. code TARGET_HTTP_ERROR with upstream_status 404). The whole target fetch (including one retry) has a hard 4-second deadline (TARGET_TIMEOUT), so answers arrive in about 4 s at worst. Pages are fetched with a descriptive bot User-Agent (AgentSearchExtract/0.2, +https://agentsearchhq.com); on a target 401/403 one retry is made with a browser User-Agent if time remains. Some sites (e.g. paywalls)…

Endpoint: https://api.agentsearchhq.com/x402

Verification: observed. Source: crawl.

Capabilities (5)

  • Alias of POST /v1/extract (for relays that arrive without a path)
  • Routes and limits
  • Extract clean markdown/text title links and metadata from one URL
  • Readiness probe
  • Identity probe
About · Contact · Privacy