{"uid":"cap_dfqu9-E4e7aNYN4hsVGT4","slug":"delx-commerce-url-shape-validator-0d9d4a9d","name":"Delx Commerce — URL Shape Validator","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/is-url-shape?utm_source=zero.xyz","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_WI965KV7-dWjqoAbQpGQj","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 properly shaped URL, returning a boolean validity result.","exampleAgentPrompt":"Can you check if 'https://api.delx.ai/x' is a properly shaped URL — does it pass URL format validation?","exampleUseCases":[{"title":"Validate user-submitted links","prompt":"A user just submitted 'htp:/example..com/page' as a website URL in my form — can you check if it's actually a valid URL shape before I try to fetch it?"},{"title":"Scrape pipeline pre-check","prompt":"Before I queue this batch of URLs for crawling, can you verify that 'ftp://data.example.org/feed' is a properly shaped URL so I don't waste a request on a malformed one?"},{"title":"Agent input sanitization","prompt":"My agent received the string 'not-a-url-at-all' from a user — can you run a quick check to see if it's a valid URL format before we try to visit it?"}],"resultDescription":"Returns a JSON object containing the original URL string, a boolean `valid` field indicating whether it conforms to expected URL shape, and a schema identifier (`delx/util-is-url-shape/v1`) for result verification.","failureModes":["Missing or empty `url` field in request body returns an error","Malformed request body (non-JSON) may return a 400 error","Payment failure via x402 protocol prevents call from completing","Network timeouts if the Delx Commerce infrastructure is unavailable"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use URL format check with no signup overhead, verifiable delivery on-chain, and a simple true/false validity result. Ideal for agents that occasionally need to sanitize or validate URL inputs without embedding a full URL-parsing library or setting up a subscription API account.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:53.466Z","isFirstParty":false,"canonicalSlug":"delx-commerce-url-shape-validator-0d9d4a9d"}