{"uid":"cap_4AiqQAH99z7CC5rQ8qzR7","slug":"web-extract-fetch-url-as-markdown-metadata-links-ec0d1dc6","name":"Web Extract – Fetch URL as Markdown, Metadata & Links","description":"Web extraction, domain lookups and document tools for AI agents. Pay per call in USDC via x402 on Base or Algorand.","url":"https://agentpay.agentpay-apis.workers.dev/extract/v1/page?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"http(s) URL to read"},"maxChars":{"type":"string","description":"Max markdown characters (1000-200000, default 50000)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sCdSvRcz6hHoEQ1tts8J4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches any public URL and returns its content as Markdown text, along with page metadata and extracted links.","exampleAgentPrompt":"Fetch the page at https://example.com/blog/ai-agents and give me the full text as markdown, including any links on the page.","exampleUseCases":[{"title":"Summarize a competitor blog post","prompt":"Go fetch the content of https://openai.com/blog/gpt-4o and turn it into markdown so I can read and summarize what they announced."},{"title":"Extract links from a documentation page","prompt":"Grab all the links from https://docs.stripe.com/api and give me the markdown content of the page so I can see what sections are available."},{"title":"Monitor a news article for details","prompt":"Pull the full text from this Reuters article — https://reuters.com/technology/some-article — and return it as markdown so I can analyze the key facts."}],"resultDescription":"Returns the page content rendered as Markdown (up to 200,000 characters, default 50,000), along with page metadata (title, description, canonical URL, etc.) and a list of hyperlinks found on the page.","failureModes":["URL is unreachable or returns a non-200 HTTP status — error response with status code","URL points to a binary file that cannot be converted to markdown — empty or error response","maxChars value outside allowed range (1000–200000) — validation error","URL is a JavaScript-heavy SPA and content is not server-rendered — partial or empty markdown","Rate limiting or payment failure via x402 protocol — 402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need to read the human-readable text content of a public webpage and want it returned as structured Markdown along with metadata and links — ideal for summarization, research, content monitoring, or link discovery tasks. Prefer this over PDF extraction siblings when the target is an HTML page rather than a document file.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:39:41.615Z","isFirstParty":false,"canonicalSlug":"web-extract-fetch-url-as-markdown-metadata-links-ec0d1dc6"}