{"uid":"cap_JLfONw0L9NzY_JSb7xcra","slug":"x402-url-parser-2c1496de","name":"x402 URL Parser","description":"A compact x402 utility surface for agents that need cheap, repeatable non-LLM transformations before spending on heavier routes: CSV cleanup, JSON Schema checks, timestamp conversion, JWT decode, URL normalization, hashes, codecs, and text utilities.","url":"https://x402-utils.558686.xyz/v1/tools/url-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"tool":"url-parse","input":{"url":"https://x402-utils.558686.xyz/v1/tools/hash-text?algorithm=sha256"},"route":"/v1/tools/url-parse","result":{"host":"host_example","href":"href_example","query":{},"pathname":"pathname_example"},"project":"x402-utility-tools","deterministic":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nhFWcWUEUylXCtcXn0Egd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a URL string into structured components including protocol, host, pathname, query parameters, and origin","exampleAgentPrompt":"Can you parse this URL for me — https://example.com/products?category=shoes&size=10 — and break it down into its protocol, host, pathname, and query parts?","exampleUseCases":null,"resultDescription":"Returns a deterministic JSON object containing structured URL components: protocol (e.g. 'https:'), host (e.g. 'example.com'), pathname (e.g. '/products'), query string, and origin (e.g. 'https://example.com')","failureModes":["Invalid or malformed URL input returns an error response","Missing required 'url' field in request body returns validation error","Non-string URL value causes schema validation failure","Relative URLs without a host may return incomplete components"],"whenToPreferThis":"Use this endpoint when you need to programmatically decompose a URL into its structural components and get deterministic JSON output. Prefer this over manual string splitting or regex when you need reliable, structured parsing of protocol, host, path, query, and origin fields in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T06:34:59.330Z","isFirstParty":false,"canonicalSlug":"x402-url-parser-2c1496de"}