2s.io Article Cleaner is a paid API for AI agents from 2s.io, paid per call via x402, $0.00108/call, status unknown (last checked 2026-09-13, last successful call 2026-07-23).
Fetches a URL and returns its article content as clean markdown (or plain text), stripping navigation, ads, sidebars, scripts, and other non-article elements.
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.
Returns a JSON object with: url (original), finalUrl (after redirects), title, markdown (clean article as markdown), text (plain text, if requested), wordCount, and sourceBytes. Non-article page elements like nav, footer, ads, scripts, and comments are stripped out.
GEThttps://2s.io/api/url/cleanUse this endpoint when you need the full article body of a web page for LLM consumption, summarization, or analysis — not just metadata or a preview. Prefer over /api/url/unfurl when you need the complete article text rather than just a 500-character preview and metadata. Best suited for news articles, blog posts, and documentation pages where the main content is clearly delimited from surrounding boilerplate.
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"url": "https://en.wikipedia.org/wiki/Artificial_intelligence",
"format": "markdown"
}
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object |
{
"data": {
"url": "https://en.wikipedia.org/wiki/Artificial_intelligence",
"title": "Artificial intelligence - Wikipedia",
"finalUrl": "https://en.wikipedia.org/wiki/Artificial_intelligence",
"markdown": "- Deepfake pornography Taylor Swift deepfake pornography controversy\n\n- Grok sexual deepfake scandal\n\n- Google Gemini image generation controversy\n\n- It's the Most Terrible Time of the Year\n\n- Pause Giant AI Experiments\n\n- Removal of Sam Altman from OpenAI\n\n- Statement on AI Risk\n\n- Tay (chatbot)\n\n- Théâtre D'opéra Spatial\n\n- Voiceverse NFT plagiarism scandal",
"truncated": true,
"wordCount": 47,
"sourceBytes": 518790
},
"meta": {
"cost": {
"usd": 0.00108,
"tier": 0
},
"caller": "x402",
"version": null,
"endpoint": "url.clean",
"settlement": {
"txHash": "0x72a7c3c1a92fec145b72cac25b4cb30097898bad859a10f6c06ba390855c17e2",
"network": "eip155:8453",
"success": true
}
}
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"