{"slug":"agent-data-tools-revmesh2074-workers-dev-extract-b5bf64","title":"Fetch any public web page URL and get clean, LLM-ready text or Markdown","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/extract","category":"code","description":"Fetch any public web page URL and get clean, LLM-ready text or Markdown: main content, code blocks, tables, links and headings, for RAG and agent context. Static HTML, Markdown or text; optional section ID. Default 20,000 output characters, max 100,000; input 2 MiB. No JavaScript rendering (see /ext","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":36,"reported_calls_30d":4,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"url":"https://example.com"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"format":{"description":"Returned representation: text (default), markdown, or both. HTML structured details are included in every format; Markdown/plain sources have empty details.","enum":["text","markdown","both"],"examples":["text"],"type":"string"},"maxChars":{"description":"Maximum characters of body text to return (500-100000, default 20000)","examples":[20000],"type":"integer"},"section":{"description":"Optional exact visible HTML ID within primary content, 1-500 characters. Heading scope includes subsections until next same/higher-level heading; section/article/main/div scope is its subtree. Missing/ambiguous/unsupported targets fail uncharged. URL fragments alone do not select a section.","examples":["retry-policy"],"type":"string"},"url":{"description":"Absolute http(s) URL of the page to fetch","examples":["https://example.com"],"type":"string"}},"required":["url"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"canonical":{},"codeBlocks":{"items":{},"type":"array"},"contentHash":{"type":"string"},"contentSelection":{"type":"string"},"contentType":{"type":"string"},"description":{},"fetchedAt":{"type":"string"},"finalUrl":{"type":"string"},"format":{"type":"string"},"hashFormat":{"type":"string"},"headings":{"items":{"properties":{"id":{},"level":{"type":"number"},"text":{"type":"string"}},"type":"object"},"type":"array"},"lang":{"type":"string"},"linkBaseUrl":{"type":"string"},"links":{"items":{},"type":"array"},"markdown":{"type":"string"},"section":{},"sourceFormat":{"type":"string"},"sourceMetadata":{"properties":{"authors":{"items":{},"type":"array"},"dates":{"items":{},"type":"array"},"truncated":{"type":"boolean"},"verification":{"type":"string"}},"type":"object"},"status":{"type":"number"},"tables":{"items":{},"type":"array"},"text":{"type":"string"},"textLength":{"type":"number"},"title":{"type":"string"},"truncated":{"type":"boolean"},"url":{"type":"string"},"warnings":{"items":{},"type":"array"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":36,"error":null}],"description_full":"Fetch any public web page URL and get clean, LLM-ready text or Markdown: main content, code blocks, tables, links and headings, for RAG and agent context. Static HTML, Markdown or text; optional section ID. Default 20,000 output characters, max 100,000; input 2 MiB. No JavaScript rendering (see /extract/rendered), logins or paywalls. Empty pages, bad sections, browser challenges and errors are not charged. Use to read docs or articles.","last_updated":"2026-10-22T20:21:26.408Z","schemes":["exact"]}