{"uid":"cap_1A-bA3D1jic-aqNEp3l5-","slug":"url-normalize-ab254491","name":"URL Normalize","description":"Quality-scored paid utility APIs for AI agents over x402 on Base USDC.","url":"https://agent-utility-network.frosty-sound-4560.workers.dev/v1/paid/url-normalize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":8192,"minLength":1}}},"responseSchema":{"type":"json","example":{"result":{"normalized":"https://example.com/a?a=1&b=2"}}},"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_HzfXnWF6uC7t4NmfWtVNu","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 into a canonical, consistent form by standardizing its structure and query parameters.","exampleAgentPrompt":"Can you normalize this URL for me so it's in a clean, canonical form? Here it is: https://Example.COM/a/?b=2&a=1&&","exampleUseCases":[{"title":"Deduplicating crawled URLs","prompt":"I've scraped a bunch of URLs and need to deduplicate them, but some are the same page written differently — can you normalize this one into its canonical form so I can compare them fairly: https://Example.COM/page/?ref=abc&utm_source=google"},{"title":"Cleaning URLs before database storage","prompt":"Before I store this URL in my database, normalize it into a clean canonical form so comparisons are consistent later: https://example.com:80/path/../other?z=3&a=1"},{"title":"Standardizing URLs in a data pipeline","prompt":"I'm processing URLs from multiple sources and they're all formatted differently — normalize this one for me so I can feed it consistently into the rest of my pipeline: HTTP://EXAMPLE.COM/Search?q=hello%20world&lang=en"}],"resultDescription":"A JSON object with a `result.normalized` field containing the fully normalized, canonical URL string with consistent scheme, host, path, and sorted query parameters.","failureModes":["Missing or empty URL input returns a validation error","Malformed URLs that cannot be parsed may return an error or unexpected result","URLs exceeding 8192 characters will be rejected","Network timeouts or worker errors may return 5xx responses","Payment failure via x402 protocol will block the request"],"whenToPreferThis":"Choose this endpoint when you need a reliable, consistent canonical form of a URL — especially useful for deduplication, caching keys, or comparison workflows where URLs from different sources may encode the same resource differently. Prefer this over ad-hoc string manipulation when correctness and quality scoring matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:36:00.624Z","isFirstParty":false}