{"uid":"cap_qAvPSKom3wEY1HTh_dabR","slug":"switch402-web-scrape-url-to-markdown-35ce7911","name":"switch402 Web Scrape (URL to Markdown)","description":"switch402 web data API, /v1/scrape: $0.008 per page, URL to markdown, with failover. Charged only on success.","url":"https://api.switch402.com/v1/scrape?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"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) page to convert to markdown"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_292PtF1p-fGXW8eUgD0ZE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public web page and converts its content to Markdown, with failover, charged at $0.008 USDC only on success.","exampleAgentPrompt":"Can you scrape the page at https://example.com/article and give me the content in markdown so I can summarize it?","exampleUseCases":[{"title":"Article content extraction for summarization","prompt":"Grab the content from https://techcrunch.com/2024/05/01/openai-launches-new-model/ and convert it to markdown so I can summarize the key points."},{"title":"Competitor pricing page monitoring","prompt":"Fetch the page at https://www.competitor.com/pricing and give me its content in markdown — I want to track what plans they're currently advertising."},{"title":"Research content ingestion for AI pipeline","prompt":"Pull the content from https://en.wikipedia.org/wiki/Large_language_model as markdown so I can feed it into my research agent."}],"resultDescription":"Returns the full content of the requested web page converted to Markdown text, suitable for reading, summarizing, or further processing by an AI agent. Only returned (and charged) on a successful fetch.","failureModes":["URL is not publicly accessible or requires authentication — returns error, no charge","Page returns non-200 HTTP status — treated as failure, no charge","URL exceeds 2048 character limit — rejected at input validation","Failover exhausted: all fetch attempts fail — returns error, no charge","Malformed or non-HTTP(S) URL provided — validation error"],"whenToPreferThis":"Choose this endpoint when you need the full readable content of a specific public web page in Markdown format, especially when you have a known URL and want clean, AI-readable text output. Prefer the /v1/scrape/lite variant if cost is a priority and you can tolerate potentially less complete content. Use this standard scrape endpoint when reliability and completeness matter more than the small cost difference.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:38:56.929Z","isFirstParty":false,"canonicalSlug":"switch402-web-scrape-url-to-markdown-35ce7911"}