{"uid":"cap_JmSacEh27CE2l9vg2JJ5M","slug":"url-normalize-utility-736044e7","name":"URL Normalize Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/url-normalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"url_normalize"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uIJ0js5CrqqC9EB6pdsnE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes a URL string into a canonical, consistent form by resolving relative paths, encoding, and formatting.","exampleAgentPrompt":"Can you normalize this URL for me — 'HTTP://Example.COM:80/foo/../bar?b=2&a=1#section' — so it's in canonical form?","exampleUseCases":[{"title":"Deduplication before database insert","prompt":"Before I save these URLs to the database, normalize each one so duplicates with different casing or trailing slashes get caught — start with 'Http://MySite.com/Page/?utm_source=google'."},{"title":"Canonical URL comparison","prompt":"I have two URLs that might be the same page — 'https://example.com/blog/../about/' and 'https://example.com/about' — can you normalize both so I can compare them?"},{"title":"Cleaning scraped links","prompt":"I scraped this link from a page and it looks malformed: 'HTTP://DOCS.EXAMPLE.COM:443//guide/./intro?z=1&a=2' — normalize it into a clean canonical URL for me."}],"resultDescription":"A JSON object containing the normalized URL string under 'result' and the operation name 'url_normalize', indicating what transformation was applied. The normalized URL will have consistent casing, resolved path segments, canonical encoding, and standardized formatting.","failureModes":["Invalid or unparseable URL input returns an error result","Missing 'value' field in request body causes a 400-level error","Network timeout if the hosted service on Render is cold-starting","Payment failure via x402 protocol blocks request before processing","Unsupported URL schemes may return unexpected output"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-use URL normalization utility without managing your own infrastructure. Ideal for AI agents that occasionally need to canonicalize URLs as part of a data pipeline, deduplication step, or link-cleaning workflow, especially when operating within an x402 micropayment context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:53.206Z","isFirstParty":false,"canonicalSlug":"url-normalize-utility-736044e7"}