{"uid":"cap_EKfFeh7_v5iskjz0eTftg","slug":"fetchweb-extract-61160f3a","name":"FetchWeb Extract","description":"Structured extraction of one web page: title, description, headings, clean main text, markdown, links and images.","url":"https://fetchweb.net/api/public/extract?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"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string"},"format":{"enum":["json","text","markdown"],"type":"string","default":"json"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":"string"},"text":{"type":"string"},"links":{"type":"array"},"title":{"type":"string"},"images":{"type":"array"},"headings":{"type":"array"},"markdown":{"type":"string"},"description":{"type":"string"}}}}}}},"responseSchema":{"type":"object","properties":{"url":{"type":"string"},"text":{"type":"string"},"links":{"type":"array"},"title":{"type":"string"},"images":{"type":"array"},"headings":{"type":"array"},"markdown":{"type":"string"},"description":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JGBDisYvqQ4tDnYLpQnMS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured content from a single web page, returning title, description, headings, clean text, markdown, links, and images.","exampleAgentPrompt":"Can you fetch https://example.com/article and give me the title, main text, and all the links on the page as structured JSON?","exampleUseCases":[{"title":"Article text extraction for summarization","prompt":"Grab the full readable text from this news article at https://techcrunch.com/2024/01/15/openai-news/ and return it as clean text so I can summarize it."},{"title":"Competitive page content audit","prompt":"Pull the title, description, all headings, and links from https://competitor.com/pricing so I can analyze how they structure their pricing page."},{"title":"Convert webpage to markdown for notes","prompt":"Fetch https://docs.python.org/3/library/asyncio.html and give me the content as markdown — I want to save it in my notes."}],"resultDescription":"A JSON object containing the page URL, title, meta description, array of headings, clean main text, full markdown rendition of the page, array of links (href + text), and array of image URLs found on the page.","failureModes":["URL is unreachable or returns non-200 HTTP status — extraction fails with an error","Page is JavaScript-rendered and content is not available in static HTML — text/headings may be empty or incomplete","Paywalled or login-protected pages return only gate content, not the article body","Malformed or non-HTML URLs (PDFs, binary files) may yield empty or garbled text fields","Network timeout if the target page is slow to respond"],"whenToPreferThis":"Choose this endpoint when you need structured, multi-field extraction from a single URL — specifically when you want title, description, headings, clean text, markdown, links, and images all in one call. Prefer it over a raw fetch when you need clean, parsed content rather than raw HTML, and when token-budget fitting is not yet a concern (see the sibling token-budget endpoint for that use case). Ideal for article ingestion, link auditing, page summarization pipelines, and any workflow that needs webpage content in a structured format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:34:31.668Z","isFirstParty":false,"canonicalSlug":"fetchweb-extract-61160f3a"}