Marketplace · API · x402

api.duoleads.com/v1/code/url

URL parser: parse and canonicalise a URL, and extract its registrable domain using the Public Suffix List — the part an agent needs to decide whether two URLs belong to the same owner. Returns scheme, host, port, path, decoded query parameters and fragment, the public suffix, the registrable domain (eTLD+1), the subdomain, whether the suffix is ICANN or private, plus a canonical form with default port, dot-segments and percent-encoding normalised. unicode_host uses WHATWG/UTS 46 (non-strict).

Endpointhttps://api.duoleads.com/v1/code/url
Trust✓ Verified callable · 100% uptime over 1 checks · ~279 ms
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
networkeip155:8453
schemeexact
pay to0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39
methodGET
last updated2026-10-18T05:11:32.14Z

Use it

Call it (an x402 client pays automatically)

curl -i https://api.duoleads.com/v1/code/url
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/x402-926e8830711a2002

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}

Related