{"uid":"cap_cb0cVRArVBHxgRhb9nVoV","slug":"code402-clean-markdown-scraper-5d82b740","name":"code402 Clean Markdown Scraper","description":"Offline deterministic checks (no ML, no scraping) for business identifiers and rental due-diligence, paid per call via x402 (gasless EIP-3009 USDC on Base). Checksum-verifiable (IBAN, LEI, VAT, ABA, ISBN, SEDOL…) vs format-only (EIN, IFSC, SWIFT/BIC…) — every response returns a scope field. Non-custodial, signed receipts. First 3 calls/day free.","url":"https://hcrb.in/v1/tools/clean-markdown-scraper/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":[],"properties":{"url":{"type":"string","description":"Public http(s) page to fetch (ports 80/443 only). Provide exactly one of url or html."},"html":{"type":"string","description":"Raw HTML string to convert instead of fetching a URL (max 1 MiB). Provide exactly one of url or html."}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["markdown","wordCount"],"properties":{"headings":{"type":"array"},"markdown":{"type":"string"},"wordCount":{"type":"number"}}},"example":{"valid":true,"reason":"checksum valid"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JMiNo6d85CaD3og-eRasg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL and returns its content as clean, structured Markdown with word count and headings","exampleAgentPrompt":"Can you fetch the content of https://example.com/blog/article and give me back a clean markdown version of the page, including all the headings?","exampleUseCases":[{"title":"Article content extraction for summarization","prompt":"Grab the content from https://techcrunch.com/2024/05/01/some-article and convert it to clean markdown so I can summarize it."},{"title":"Documentation page to markdown","prompt":"Fetch https://docs.stripe.com/payments/payment-intents and return the page as markdown with all the headings listed out."},{"title":"Blog post word count check","prompt":"Pull the content from https://myblog.com/posts/launch-announcement as markdown and tell me how many words are in it."}],"resultDescription":"A JSON object containing the full page content as clean Markdown string, a numeric word count, and an array of headings extracted from the page.","failureModes":["URL is unreachable or returns non-200 status — likely returns an error object","Page has no extractable text content (e.g. fully JavaScript-rendered SPA) — markdown may be empty or minimal","Malformed or missing URL input — request rejected with validation error","Payment not attached or insufficient — 402 Payment Required response","Rate limit exceeded beyond 3 free calls/day without payment"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-call web-to-markdown conversion without running your own scraping infrastructure. It is particularly suitable for agents that occasionally need to fetch and process web content without committing to a subscription, since the first 3 calls per day are free and subsequent calls are $0.015 USDC each via gasless on-chain micropayment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:41:31.113Z","isFirstParty":false,"canonicalSlug":"code402-clean-markdown-scraper-5d82b740"}