{"uid":"cap_kPi--tEs7RgVp0byYcSqR","slug":"delx-url-parts-9c1a5fb8","name":"Delx URL Parts","description":"Split a URL into scheme/netloc/path/query/fragment. Call when you inspect agent-held URLs without network access. Returns URL parts and ok for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/url-parts","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_mFZAlSYVyXJSQ3kY1NIgW","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":"Splits a URL into its constituent parts: scheme, netloc, path, query, and fragment — no network access required.","exampleAgentPrompt":"Can you split this URL into its parts — scheme, host, path, query, and fragment — without fetching it? Here's the URL: https://example.com/search?q=hello#results","exampleUseCases":[{"title":"Extracting query parameters from a URL","prompt":"I have this URL — https://shop.example.com/products?category=shoes&color=red — can you break it apart so I can see the query string separately from the path?"},{"title":"Identifying the host of a stored URL","prompt":"I've got a bunch of URLs stored in my notes and I need to know just the netloc (domain) part of this one: https://api.partner.io/v2/data/export?token=abc123"},{"title":"Debugging a URL fragment in an agent workflow","prompt":"Can you parse this URL and tell me what the fragment identifier is? The URL is https://docs.myapp.com/guide/setup#installation-step-3"}],"resultDescription":"Returns a JSON object with the parsed URL components: scheme (e.g. 'https'), netloc (e.g. 'example.com'), path (e.g. '/search'), query (e.g. 'q=hello'), fragment (e.g. 'results'), and an 'ok' boolean indicating successful parsing. No external network calls are made.","failureModes":["Malformed or empty URL input may result in empty component fields or ok=false","Non-HTTP schemes (e.g. ftp://, mailto:) may parse with limited field population","Payment failure via x402 protocol results in 402 response and no result","Missing 'url' field in request body returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need to decompose a URL into its components without making any network request or requiring API keys. It is ideal for agent workflows that hold URLs as strings and need to route, filter, or inspect them based on their structure. Prefer it over regex-based parsing for reliability, and over full page-fetch endpoints when no content retrieval is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:39.794Z","isFirstParty":false}