{"uid":"cap_1mc0CKZkGoQbePJaQ6mm_","slug":"fastx402-url-normalizer-3c44f51e","name":"FastX402 URL Normalizer","description":"200 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-normalize?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 to normalize"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"original":{"type":"string"},"normalized":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"original":"HTTP://Example.COM:80/a/../b/./c?z=1&a=2&a=1","normalized":"http://example.com/b/c?a=1&a=2&z=1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-n9A3cpbJSXyCnXx_nG_e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes an absolute URL into a canonical form by lowercasing the scheme/host, resolving path traversals, and sorting query parameters.","exampleAgentPrompt":"Normalize this URL for me: HTTP://Example.COM:80/a/../b/./c?z=1&a=2&a=1 — I need a clean canonical version with resolved paths and sorted query params.","exampleUseCases":[{"title":"Deduplicating URLs in a crawler","prompt":"I have this URL HTTP://Example.COM:80/docs/../api/./v1?token=abc&lang=en and want to normalize it so I can compare it against already-visited URLs without false duplicates."},{"title":"Standardizing links before storage","prompt":"Before I save this URL to my database, can you normalize it — HTTP://MySite.ORG:80/blog/.././about?c=3&a=1 — so it's in a consistent canonical format?"},{"title":"Cleaning redirect chains","prompt":"I collected this redirect destination URL from a web request — HTTPS://CDN.Example.Net:443/assets/../images/./logo.png?size=lg&fmt=webp — can you normalize it so I can compare it cleanly?"}],"resultDescription":"Returns a JSON object with two fields: 'original' (the URL as provided) and 'normalized' (the canonical form with lowercased scheme and host, default port removed, dot-segments in the path resolved, and query parameters sorted alphabetically).","failureModes":["Missing required 'url' query parameter returns an error","Non-absolute or malformed URL may return an error or unexpected result","Payment failure via x402 protocol blocks the request","Network timeout if the FastX402 service is temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call URL normalization step without setting up an account or API key — ideal for agents that occasionally need to canonicalize URLs as part of a larger workflow (e.g. deduplication, caching keys, link comparison) and want to pay only per use in USDC via x402 on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T12:37:46.640Z","isFirstParty":false,"canonicalSlug":"fastx402-url-normalizer-3c44f51e"}