2s
Fetch any URL and return its article content with the clutter stripped — nav, ads, sidebars, footers, scripts, styles, comments removed via heuristic extraction (<article> / <main> / role=main / densest block). Choose the output with `format`: markdown (default), text, both (JSON envelope), html (a self-contained readable reader-view page, raw text/html), or pdf (a clean typeset reading document, raw application/pdf). html/pdf are built from the same cleaned content, so they carry no live page, no third-party assets, no trackers. SSRF-guarded, 512KB body cap, 8s timeout, 5 redirects max. JSON formats return { url, finalUrl, title, markdown?, text?, wordCount, sourceBytes }. This uses a raw HTTP fetch (no JavaScript) — for client-rendered / SPA pages whose content only appears after JS runs, use /api/url/render (same formats, headless-rendered). For a pixel-perfect image of the live page use /api/ai/screenshot; to enumerate a page or sitemap into its links use /api/url/map.
Resource URL
https://2s.io/api/url/clean
Payment options
$0.00108 USDC
Max amount
- Pay to
- 0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
- Timeout
- 60s
$0.00108 USDC
Max amount
- Pay to
- TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn
- Timeout
- 60s
Tags
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://2s.io/api/url/clean Type: http Sources: cdp