{"uid":"cap_R3mr_7OL1ZKdYp-JYN0aB","slug":"delx-commerce-url-parse-2b5053e9","name":"Delx Commerce URL Parse","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-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"URL to parse locally. Delx never fetches or validates the destination."}}},"responseSchema":{"type":"json","example":{"host":"example.com","path":"/docs/getting-started","port":null,"query":"","schema":"delx/url-parse/v1","scheme":"https","fragment":""}},"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_UemeDxh-13Wv9waTJV6eS","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 constituent components (scheme, host, path, port, query, fragment) without fetching the destination","exampleAgentPrompt":"Can you break down this URL into its parts — scheme, host, path, query, and fragment — for me: https://example.com/docs/getting-started?tab=intro#section2?","exampleUseCases":[{"title":"Extract host from API callback URL","prompt":"I have this callback URL from our OAuth flow — https://auth.myapp.com/oauth/callback?code=abc123&state=xyz — can you parse it and tell me the host and query parameters separately?"},{"title":"Validate URL structure before processing","prompt":"Before I pass this URL to the next step, can you parse it into components so I can check that the path starts with /api and there's no unexpected fragment: https://service.internal/api/v2/users?active=true"},{"title":"Log URL components for analytics pipeline","prompt":"I need the scheme, host, path, and query string pulled out individually from this URL so I can store them in separate columns: https://shop.example.com/products/shoes?color=red&size=10"}],"resultDescription":"A JSON object containing parsed URL fields: scheme (e.g. 'https'), host (e.g. 'example.com'), path (e.g. '/docs/getting-started'), port (null if not specified), query (query string), and fragment. The response also includes a schema identifier ('delx/url-parse/v1') for verification. The destination URL is never fetched.","failureModes":["Invalid or malformed URL input returns an error — URL must conform to URI format","Missing required 'url' field in the request body causes a validation error","Non-URI strings (e.g. plain text) will fail URI format validation","Payment failure (insufficient USDC balance) blocks the request before processing"],"whenToPreferThis":"Choose this endpoint when you need fast, reliable, server-side URL decomposition without any network fetch to the target URL — ideal for agents that need to extract URL components programmatically in a pay-per-call model with no signup friction. Prefer this over client-side parsing when you want verifiable, consistent parsing behavior across environments, or when operating in a sandboxed agent context without access to URL parsing libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:41.769Z","isFirstParty":false,"canonicalSlug":"delx-commerce-url-parse-2b5053e9"}