{"uid":"cap_IrTH_-zGWmB5t9mQ8O9xT","slug":"delx-commerce-url-parts-parser-bc4f708d","name":"Delx Commerce URL Parts Parser","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/url-parts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Input field: url."}}},"responseSchema":{"type":"json","example":{"ok":true,"path":"/x","query":"y=1","netloc":"api.delx.ai","schema":"delx/util-url-parts/v1","scheme":"https","fragment":"z"}},"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_-6z9lOmeLbNsQYHdzpbwT","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 a URL string into its component parts: scheme, netloc, path, query, and fragment","exampleAgentPrompt":"Can you break down the URL 'https://api.delx.ai/x?y=1#z' into its individual parts like scheme, host, path, query, and fragment?","exampleUseCases":[{"title":"Extract hostname from API endpoint","prompt":"I have this URL — https://api.example.com/v2/users?page=2&limit=50 — can you pull out just the hostname and path separately so I can use them in my routing logic?"},{"title":"Parse redirect URL for query params","prompt":"After an OAuth redirect I got this URL: https://myapp.com/callback?code=abc123&state=xyz — can you break it into parts so I can grab the query string?"},{"title":"Validate and decompose webhook URL","prompt":"I need to check a webhook URL my user submitted — https://webhooks.acme.com/events/order-created#v2 — can you split it into scheme, host, path, and fragment so I can validate each piece?"}],"resultDescription":"A JSON object with boolean 'ok' plus string fields: 'scheme' (e.g. 'https'), 'netloc' (e.g. 'api.delx.ai'), 'path' (e.g. '/x'), 'query' (e.g. 'y=1'), and 'fragment' (e.g. 'z'), along with a 'schema' identifier ('delx/util-url-parts/v1').","failureModes":["Malformed or empty URL input may return ok:false or an error response","Missing 'url' field in request body causes a bad request error","Relative URLs (without scheme) may produce empty scheme/netloc fields","Extremely long URLs may be rejected or truncated"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-result URL decomposition without setting up a library or parsing URLs manually in an agent pipeline. It's ideal for serverless or agent workflows where you need structured URL components on demand for a fraction of a cent per call, with no API key or signup required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:45:33.301Z","isFirstParty":false,"canonicalSlug":"delx-commerce-url-parts-parser-bc4f708d"}