{"uid":"cap_hrI3SmwOnEfvy0Fm2KBOk","slug":"fastx402-lab-url-inspector-61431096","name":"FastX402 Lab URL Inspector","description":"146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/url-inspect?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute URL"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"href":{"type":"string"},"path":{"type":"string"},"port":{"type":"null"},"is_ip":{"type":"boolean"},"query":{"type":"object","properties":{"q":{"type":"array","items":{"type":"string"}},"x":{"type":"string"}}},"origin":{"type":"string"},"fragment":{"type":"string"},"hostname":{"type":"string"},"protocol":{"type":"string"},"hostname_unicode":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"href":"https://xn--mnih-0ra.example.com/b/?q=1&q=2&x=%20y#Top","path":"/b/","port":null,"is_ip":false,"query":{"q":["1","2"],"x":" y"},"origin":"https://xn--mnih-0ra.example.com","fragment":"Top","hostname":"xn--mnih-0ra.example.com","protocol":"https","hostname_unicode":"münih.example.com"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GS2QR9DY2sohfAy2JYkvq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses an absolute URL using the WHATWG URL standard and returns its normalized form, ASCII and Unicode hostname, port, path, decoded query parameters, and fragment.","exampleAgentPrompt":"Can you parse this URL for me — https://xn--mnih-0ra.example.com/b/?q=1&q=2&x=%20y#Top — and break it down into its hostname (both ASCII and Unicode), path, query params, and fragment?","exampleUseCases":[{"title":"Normalize links before deduplication","prompt":"I have this URL from a scraper: 'HTTP://Example.COM/Search?q=hello%20world&lang=en#results' — can you normalize it with WHATWG parsing and show me the cleaned href, hostname, path, and all query parameters decoded?"},{"title":"Decode internationalized domain name","prompt":"This link has a weird punycode hostname: https://xn--bcher-kva.example.de/catalog — what does the Unicode hostname actually say, and what's the path?"},{"title":"Extract query parameters for analytics","prompt":"Pull apart this tracking URL for me: https://shop.example.com/product?utm_source=email&utm_campaign=summer&id=42&ref=home — I need each query parameter listed separately so I can log them."}],"resultDescription":"A JSON object containing: href (fully normalized URL), protocol, origin, hostname (ASCII/punycode), hostname_unicode (human-readable Unicode form), port (null if default), path, query (object mapping parameter names to arrays or string values, with percent-encoding decoded), fragment (anchor text), and is_ip (boolean indicating if the host is an IP address).","failureModes":["Malformed or relative URL input returns an error — only absolute URLs with a scheme are accepted","Missing required 'url' query parameter results in a validation error","Non-HTTP/HTTPS schemes may parse differently or fail depending on WHATWG support","Extremely long URLs may be rejected or truncated"],"whenToPreferThis":"Use this endpoint when you need WHATWG-compliant URL parsing that matches browser behavior exactly, especially for internationalized domain names (IDN/punycode), multi-value query parameters, or percent-encoded characters. Prefer it over custom regex parsing when normalization consistency and standards compliance matter, or when you need both ASCII and Unicode hostname representations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:24.868Z","isFirstParty":false,"canonicalSlug":"fastx402-lab-url-inspector-61431096"}