{"uid":"cap_pymSKFmkqgyBAwIEopDpG","slug":"pennyrail-url-normalizer-70abf3e5","name":"PennyRail URL Normalizer","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/url.normalize--clean-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_xuEu-d1iIO1KtdvH3UNuM","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 and cleans a raw URL string into a canonical, well-formed URL","exampleAgentPrompt":"Can you clean up and normalize this URL for me: 'https://Example.COM:443/path/../resource?utm_source=google&utm_medium=cpc&b=2&a=1#anchor'?","exampleUseCases":[{"title":"Strip tracking params from shared link","prompt":"Take this URL and clean out all the tracking parameters so I have a plain canonical link: https://shop.example.com/product/shoes?utm_campaign=summer&utm_source=email&utm_medium=cpc"},{"title":"Fix malformed URL before storage","prompt":"Before I save this URL to my database, can you normalize it so it's properly formatted and canonical: 'HTTP://WWW.EXAMPLE.COM:80/foo//bar/../baz?z=3&a=1'"},{"title":"Deduplicate URLs by canonical form","prompt":"I have two URLs that might be the same page — can you normalize both of them so I can compare: 'https://example.com/page?a=1&b=2' and 'https://EXAMPLE.COM/page?b=2&a=1'"}],"resultDescription":"Returns a cleaned, canonical URL string with normalized scheme, host casing, resolved path segments, sorted or stripped query parameters, and standardized formatting, as a JSON object.","failureModes":["Empty or missing input string returns validation error","Non-URL string input may return error or unexpected output","Extremely long or malformed inputs may fail to parse","Network timeout if the PennyRail service is unavailable","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call URL normalization without standing up your own parsing infrastructure. Best suited for single-URL normalization in pipelines where canonical URL deduplication or clean link storage is needed, especially when already integrated with x402 micropayment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:20:39.767Z","isFirstParty":false}