← All quick checks

URL cleaner: strip tracking parameters and dedupe

$0.0021 USD per call Pay per call via x402, no signup

This call normalises up to 50 URLs offline: it lowercases scheme and host, drops default ports, fragments, credentials and known tracking parameters (utm_*, gclid, fbclid, msclkid and similar), then removes duplicates and reports what changed per URL. No URL is fetched.

Call it

x402: GET https://shop.lordevo.com/api/quick/url-clean?urls=https://Example.com:443/a?utm_source=x%23top%20https://example.com/a or POST the same fields as JSON to https://shop.lordevo.com/api/quick/url-clean · MCP tool url_clean at https://shop.lordevo.com/mcp

The first call answers HTTP 402 with the price ($0.0021 USD per call, USDC on Base); any x402 client pays and retries. Instant tools that fail or are refused are not charged. Discovery is free: /catalog.json, /openapi.json, /llms.txt.

Example

The catalog's own example for this tool (illustrative sample values, not a live result).

Input

{
  "urls": "https://Example.com:443/a?utm_source=x#top https://example.com/a"
}

Output

{
  "tool": "url-clean",
  "count_in": 2,
  "count_valid": 2,
  "count_unique": 1,
  "duplicates_removed": 1,
  "unique": [
    "https://example.com/a"
  ],
  "results": [
    {
      "input": "https://Example.com:443/a?utm_source=x#top",
      "clean": "https://example.com/a",
      "changed": true,
      "changes": [
        "lowercased_host",
        "removed_default_port",
        "removed_fragment",
        "removed_tracking_params"
      ],
      "removed_params": [
        "utm_source"
      ]
    },
    {
      "input": "https://example.com/a",
      "clean": "https://example.com/a",
      "changed": false,
      "changes": [],
      "removed_params": [],
      "duplicate_of": 0
    }
  ]
}

All quick checks and prices · Guides · Errors and limits