{"uid":"cap_RFjwQRxtMg8FPhuvk1k00","slug":"delx-is-url-shape-c1701ec9","name":"Delx Is URL Shape","description":"Validate http(s) URL shape. Call when you preflight agent-held URLs before fetch/extract. Returns valid boolean 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/is-url-shape","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Input field: url."}}},"responseSchema":{"type":"json","example":{"url":"https://api.delx.ai/x","valid":true,"schema":"delx/util-is-url-shape/v1"}},"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_J8RAOXqnoMtZXc3nYE3ip","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":"Validates whether a given string is a well-formed HTTP or HTTPS URL, locally without any network requests or external lookups.","exampleAgentPrompt":"Before you try to fetch it, check if 'htp://example..com/page' is a valid HTTP or HTTPS URL — just the shape, no actual network call needed.","exampleUseCases":[{"title":"Preflight before web scraping","prompt":"I have this URL a user just submitted — 'https//missing-colon.com/path' — can you check if it's properly formed before I try to extract content from it?"},{"title":"Validate user-submitted links","prompt":"A user pasted 'ftp://files.example.com/data.csv' into our form. Check whether it's a valid http or https URL shape so I know if it should be rejected before we queue it."},{"title":"Screen URLs in agent pipeline","prompt":"I've got a list of strings that might be URLs — check if 'https://valid-looking-site.com/article?id=42' has the right URL shape before we hand it off to the fetch step."}],"resultDescription":"Returns a boolean indicating whether the input string is a well-formed HTTP or HTTPS URL, determined locally using JSON-based rules with no network I/O or external API calls.","failureModes":["Missing or empty 'url' field in request body returns an error or false result","Non-string input types may cause a validation error","URLs using non-http/https schemes (ftp, mailto) will return false","Malformed request body returns HTTP 4xx error","x402 payment failure or insufficient USDC balance blocks the request"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, stateless URL shape check before performing expensive operations like fetching or extracting page content. It is ideal for agent pipelines that need to preflight arbitrary or user-supplied URLs without making any network requests, incurring auth complexity, or retaining data. At $0.001 USDC it is suitable for high-volume screening in automated workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:39.796Z","isFirstParty":false}