{"uid":"cap_052p23kU9YzZoIqF7XPRL","slug":"pennyrail-url-normalize-908f1b81","name":"PennyRail URL Normalize","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/f/url.normalize","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"string URL"}}},"responseSchema":{"type":"object","required":["operation","result"],"properties":{"result":{},"operation":{"type":"string"}},"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_oHeZc9Z0kp9ylwsfFuXOj","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 raw URL string into a canonical, standardized form","exampleAgentPrompt":"Can you normalize this URL for me — 'HTTP://Example.COM/foo/../bar?b=2&a=1#section' — so it's in a clean, canonical form?","exampleUseCases":[{"title":"Deduplicate crawler URL queue","prompt":"I'm building a web crawler and need to normalize all URLs before adding them to my queue — can you clean up 'https://WWW.Example.com:80/path//to/page?z=1&a=2' into its canonical form so I can deduplicate properly?"},{"title":"Standardize URLs before database storage","prompt":"Before I insert this URL into my database, can you normalize 'http://mysite.com/../products/shoes?color=red&size=10' so it's consistent with the other entries?"},{"title":"Canonical URL for link comparison","prompt":"I need to check if two links point to the same resource — can you normalize 'HTTPS://Blog.Example.com/post/1?utm_source=twitter' so I can compare it against my canonical URL list?"}],"resultDescription":"Returns a JSON object containing the 'operation' field (a string naming the operation performed) and a 'result' field with the normalized, canonical URL string, plus any additional metadata fields.","failureModes":["Invalid or malformed input URL that cannot be parsed — likely returns an error in the result field","Empty or missing 'input' field — returns a 400-level error","Non-string input type — schema validation failure","Extremely long URLs may timeout or be rejected","Relative URLs without a base may fail to normalize fully"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call URL normalization service with no setup, suitable for agentic workflows processing individual URLs one at a time. Prefer it over regex-based manual normalization when you need reliable canonical output without building custom logic. At $0.001 USDC per call, it's cost-effective for moderate volumes where precision matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:09.791Z","isFirstParty":false}