Url Clean
Use this tool when an AI agent needs to read a public webpage, documentation article, or blog post without wasting context tokens on HTML tags, ads, cookie banners, or scripts. Returns clean, structured Markdown and token-savings statistics.
POST https://x402.baseguard402.xyz/api/v1/url-clean
0.01 USDC on Base · payTo 0x811B8434b8365b48373a4620C1b9C8436Ea9833b
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"max_chars": 15000,
"url": "https://docs.base.org/overview"
}{
"cached": false,
"markdown": "# Base Overview\n\nBase is a secure, low-cost, builder-friendly Ethereum L2...",
"stats": {
"estimated_tokens_saved": 11197,
"markdown_chars": 3420,
"raw_chars": 48210
},
"title": "Base Overview",
"url": "https://docs.base.org/overview"
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://x402.baseguard402.xyz/api/v1/url-clean · input in body · spec from live-challenge
Input schema
{
"type": "object",
"required": [
"url"
],
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"format": "uri",
"minLength": 8,
"maxLength": 2048,
"description": "Public http:// or https:// URL to fetch and convert into clean Markdown."
},
"max_chars": {
"type": "integer",
"default": 15000,
"minimum": 500,
"maximum": 50000,
"description": "Maximum number of Markdown characters to return."
}
}
}Output schema
{
"type": "object",
"required": [
"url",
"title",
"markdown",
"stats"
],
"properties": {
"url": {
"type": "string"
},
"title": {
"type": "string"
},
"markdown": {
"type": "string"
},
"stats": {
"type": "object",
"properties": {
"raw_chars": {
"type": "integer"
},
"markdown_chars": {
"type": "integer"
},
"estimated_tokens_saved": {
"type": "integer"
}
}
},
"cached": {
"type": "boolean"
}
}
}curl -i -X POST 'https://x402.baseguard402.xyz/api/v1/url-clean' \
-H 'content-type: application/json' -d '{"url":"https://docs.base.org/overview","max_chars":15000}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs