{"uid":"cap_6qXidMZOzVjU5tK4AgIPT","slug":"pennyrail-url-normalizer-b61dda7c","name":"PennyRail URL Normalizer","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/url.normalize--normalize-url","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_n7R-LDl0j2mz6m0r8DjSf","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":"Normalizes a URL string into a canonical, cleaned form by resolving inconsistencies in formatting, encoding, and structure","exampleAgentPrompt":"Can you normalize this URL for me — 'HTTP://Example.Com/foo/../bar?a=1&a=1#section' — and give me back the clean canonical version?","exampleUseCases":[{"title":"Clean URLs before database storage","prompt":"Before I save these URLs to my database, can you normalize 'http://WWW.Example.com:80/path/../page?ref=abc' so it's in a clean, consistent format?"},{"title":"Deduplicate crawled links","prompt":"I'm getting duplicate URLs in my web crawler results because of casing and trailing slash differences — can you normalize 'https://mysite.com/Blog/' so I can compare them properly?"},{"title":"Fix malformed URL in pipeline","prompt":"This URL from a user submission looks broken: 'https://example.com/search?q=hello world&q=hello world' — can you normalize it into a properly encoded canonical URL?"}],"resultDescription":"Returns a JSON object containing the normalized, canonical form of the input URL with encoding fixed, redundant components removed, and structure standardized.","failureModes":["Invalid or unparseable input string returns an error response","Empty input string may return a validation error","Non-URL strings passed as input may fail parsing","Relative URLs without a base may not resolve correctly"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call URL normalization service without setting up your own parsing library. It is especially useful in agentic pipelines where URLs arrive from untrusted or inconsistent sources and need to be canonicalized before storage, comparison, or deduplication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:02:17.985Z","isFirstParty":false}