{"uid":"cap_QVbMbqBfs5lifmF3MRCUn","slug":"scrape402-xyz-basic-web-extraction-e316bde4","name":"scrape402.xyz Basic Web Extraction","description":"Extract clean text, links, and metadata from any URL as Markdown or JSON — single-page web scraping and structured data extraction for AI agents","url":"https://scrape402.xyz/extract/basic","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"URL to extract"},"format":{"enum":["json","markdown"],"type":"string","default":"json"},"include_links":{"type":"boolean","default":true},"include_metadata":{"type":"boolean","default":true}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/article","links":[{"href":"https://example.com/other","text":"Other"}],"title":"Article Title","format":"markdown","content":"# Article\n\nBody text...","metadata":{"word_count":450,"extraction_method":"cheerio"},"latency_ms":320,"extracted_at":"2026-01-01T00:00:00Z"}},"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_LkkHj6G4c9agBrAR48iOH","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 content from any URL (as JSON or Markdown) via a pay-per-request micropayment model using x402/USDC on Base — no API key required.","exampleAgentPrompt":"Fetch the content of https://techcrunch.com/2026/01/15/some-article and give it to me as markdown, including all links and page metadata.","exampleUseCases":null,"resultDescription":"A JSON object containing the page title, extracted content body (in JSON or Markdown format), an array of links (href + anchor text), metadata (word count, extraction method), latency in milliseconds, and the extraction timestamp.","failureModes":["No X-Payment header → 402 Payment Required with payment requirements details","Invalid or unreachable URL → connection error or non-200 upstream response","URL exceeds 2048 characters → validation error","Unsupported format value → schema validation error","Payment insufficient or invalid → payment rejection error","Target site blocks scraping → empty or partial content returned"],"whenToPreferThis":"Choose this endpoint when you need to extract readable content from an arbitrary URL without managing API keys or subscriptions — especially in agentic pipelines where pay-per-use micropayments (USDC on Base via x402) are preferable to flat-rate credentials. Ideal for one-off or low-volume extractions where you want markdown or structured JSON output with metadata and links.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:27.669Z","isFirstParty":false}