{"uid":"cap_AILmcUIQ5j2e1CB2_1OEf","slug":"kevaremesh-url-parser-1e1f4d03","name":"KEVAREMESH URL Parser","description":"Buyer-first MCP procurement gateway that discovers, compares and routes live x402 APIs without making the buyer choose a provider.","url":"https://kevaremesh-web.vercel.app/api/x402/url-parser?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":8192},"sort_query":{"type":"boolean","default":false},"strip_fragment":{"type":"boolean","default":false}}},"responseSchema":{"type":"json","example":{"result":{"port":null,"query":{"a":["1"],"b":["2"]},"origin":"https://example.com","scheme":"https","fragment":"","hostname":"example.com","pathname":"/a","input_url":"https://Example.com:443/a?b=2&a=1#x","query_string":"a=1&b=2","normalized_url":"https://example.com/a?a=1&b=2"},"product":"kevaremesh_url_parser_v2","service":"KEVAREMESH","tool_name":"kevaremesh_parse_url","limitations":["Absolute HTTP(S) URLs only","No network request is made"],"generated_at":"2026-09-18T00:00:00.000Z"}},"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_xaVCD9LAIrmitSuEZSVcT","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":"Parses and normalizes an absolute HTTP(S) URL into its component parts (scheme, hostname, port, pathname, query, fragment) without making any network request.","exampleAgentPrompt":"Can you parse this URL for me — https://Example.com:443/a?b=2&a=1#x — and give me its components with query parameters sorted alphabetically and the fragment stripped?","exampleUseCases":[{"title":"Extract hostname from messy URL","prompt":"I have this URL 'https://User:Pass@API.Example.COM:8080/v1/search?z=3&a=1' — can you pull out just the hostname, pathname, and sorted query string from it?"},{"title":"Normalize URL for deduplication pipeline","prompt":"I'm building a deduplication system and need to normalize 'HTTPS://EXAMPLE.COM:443/page?b=foo&a=bar#section' so the scheme, host, and query params are in a canonical form — can you do that without the fragment?"},{"title":"Validate and decompose webhook callback URL","prompt":"Before I store this webhook URL — https://hooks.myservice.io/callback?token=abc&version=2 — can you parse it into its parts so I can verify the scheme is https and grab the query parameters separately?"}],"resultDescription":"A JSON object containing the parsed URL components: scheme, hostname, port (null if default), pathname, origin, fragment, query as a key-to-array-of-values object, sorted query string, normalized URL with canonical casing and ordering, and the original input URL. Also includes product and service metadata, a timestamp, and limitations (absolute HTTP/S URLs only, no network request made).","failureModes":["Non-HTTP(S) URLs (e.g. ftp://, mailto:) are rejected — only absolute HTTP/S URLs are supported","Relative URLs without a scheme and host will fail validation","Malformed URLs that cannot be parsed return an error","URLs exceeding 8192 characters are rejected by the input schema"],"whenToPreferThis":"Use this endpoint when you need fast, reliable URL decomposition and normalization without making any network request — ideal for pipelines that process user-submitted URLs, deduplicate links, validate webhook endpoints, or extract query parameters programmatically. Prefer it over regex-based parsing when you need a structured object with sorted/normalized output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:11:34.335Z","isFirstParty":false,"canonicalSlug":"kevaremesh-url-parser-1e1f4d03"}