{"uid":"cap_vXd0RVbtp1wmeW8dJgcA-","slug":"machine-shop-url-normalizer-aa5dab4c","name":"Machine Shop – URL Normalizer","description":"Turn Apify product scrape results into safe catalog updates with Catalog Update Gate. Find evidence in supplied documents, compare snapshots, extract typed JSON fields, inspect x402 quotes and assess API migrations. Preview inputs, evidence and cost for free. No live web search, scheduled monitoring or third-party purchasing.","url":"https://api.pay-forge.online/v1/normalize-url?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","title":"Url","maxLength":50000,"description":"Absolute HTTP/HTTPS URL string, at most 50000 characters before trimming. Syntax parsing only; not a URL safety check."}}},"responseSchema":{"type":"json","example":{"url":"https://example.com:443/a?b=2&a=1&a=","sha256":"989aed231bfce2ac8018bbf402486009ceb15ff1a46cf53d8b0e300c53d4c9ad"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nlPh3Mg61Ff6f3fozT9vq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and normalizes an absolute HTTP/HTTPS URL into a canonical form and returns its SHA-256 hash — syntax-only, no live web request.","exampleAgentPrompt":"Normalize this URL for me and give me its SHA-256 hash: https://example.com:443/a?a=1&b=2&a=","exampleUseCases":[{"title":"Deduplicating crawled URL inventory","prompt":"I have a list of URLs gathered from different crawlers and some have different query param orderings or redundant ports — can you normalize https://shop.example.com:443/search?sort=asc&page=1&q=shoes so I get a canonical form and hash I can use as a dedup key?"},{"title":"Stable cache key generation","prompt":"I need a stable cache key for the URL https://api.example.com/v2/results?z=99&a=1&m=foo — normalize it and give me the SHA-256 so I can use it as a consistent lookup key regardless of param order."},{"title":"Comparing two URLs for equivalence","prompt":"Are these two URLs actually the same after normalization? https://example.com:443/page?b=2&a=1 — normalize it and give me the hash so I can compare it against a stored fingerprint."}],"resultDescription":"Returns a JSON object with a normalized URL string (with redundant port removed, query parameters sorted, etc.) and a hex-encoded SHA-256 hash of that normalized URL. No live web request is made; this is purely syntactic processing.","failureModes":["URL exceeds 50,000 character limit — returns a validation error","Malformed or non-absolute URL (e.g. relative paths, missing scheme) — returns a parse error","Non-HTTP/HTTPS scheme (e.g. ftp://) — likely rejected as out of scope","Payment not included or insufficient — returns HTTP 402"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, syntax-only URL normalization and a stable SHA-256 fingerprint — especially for deduplication, caching, or comparison tasks where consistent canonical form matters. Prefer it over ad-hoc string manipulation when you need a reliable hash. Not suitable when you need live URL resolution, safety checks, or redirect following.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:43:24.256Z","isFirstParty":false,"canonicalSlug":"machine-shop-url-normalizer-aa5dab4c"}