{"uid":"cap_P29ws3jkzUvQaoo94b66l","slug":"webpage-to-markdown-extractor-6f5ef8dc","name":"Webpage to Markdown Extractor","description":"X402 Cloud AI Inference Endpoints is an agent-ready x402 API provider for Gemini, image, audio, video, realtime, and specialized AI inference workflows. We expose pay-per-call USDC endpoints designed for autonomous AI agents, application backends, trading bots, creative automation, and RAG systems with some of the lowest x402 AI inference prices available in the market.","url":"https://api.x402cloud.space/v1/webpage/to-markdown?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"links":["https://example.com/contact"],"title":"Pricing","markdown":"# Pricing\nStarter plan...","source_url":"https://example.com/pricing"},"outputSchema":{"type":"object","title":"WebpageToMarkdownOutput","required":["markdown","source_url"],"properties":{"links":{"type":"array","items":{"type":"string"},"title":"Links"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","default":null},"markdown":{"type":"string","title":"Markdown"},"source_url":{"type":"string","title":"Source Url"}}}},"example":{"request":{"url":"https://www.example.com","max_chars":12000,"include_links":true},"response":{"links":["https://iana.org/domains/example"],"title":"Example Domain","markdown":"# Example Domain\n\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\n\nLearn more","source_url":"https://www.example.com"}},"exampleRequest":{"url":"https://www.example.com","max_chars":12000,"include_links":true},"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZrVoU-MrR9Gr2TCDzhOXh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public webpage URL and returns clean, readable markdown with title, main content, links, and metadata — stripping ads, navigation, and boilerplate.","exampleAgentPrompt":"Can you pull the main content from https://techcrunch.com/2024/01/15/openai-announces-new-model/ and give it to me as clean markdown, including the links, up to 20000 characters?","exampleUseCases":null,"resultDescription":"Returns a structured response containing the page title, the main body content as clean markdown (ads, nav, and boilerplate removed), extracted hyperlinks from the page, and page metadata — truncated to the requested max_chars limit.","failureModes":["URL is behind a paywall or login wall — returns empty or partial content","URL is malformed or unreachable — returns HTTP error or timeout","Page is JavaScript-rendered SPA with no server-side HTML — may return little or no content","max_chars is outside the allowed range (1000–50000) — returns validation error","Target site blocks bots or returns CAPTCHA — content extraction fails"],"whenToPreferThis":"Choose this endpoint when you need clean, human-readable markdown from a public webpage for AI consumption — particularly for summarization, research, or RAG pipelines. It is distinct from structured JSON extraction (use the sibling endpoint for schema-defined extraction) and is best when you want readable prose rather than structured data fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:50:56.922Z","isFirstParty":false,"canonicalSlug":"webpage-to-markdown-extractor-6f5ef8dc"}