{"uid":"cap_JiEfTO55v_foVQKOTmjMp","slug":"delx-commerce-domain-from-url-96bf992f","name":"Delx Commerce — Domain From URL","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/domain-from-url?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","schema":"delx/domain-from-url/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_VDnBNl1iZqmt04e3WZwmg","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":"Extracts the host/domain from a given URL string locally without fetching the destination","exampleAgentPrompt":"What is the domain of this URL: https://www.shop.example.com/products/shoes?color=red — just give me the host part.","exampleUseCases":[{"title":"Normalize URLs in data pipeline","prompt":"I have this URL 'https://blog.acme.com/articles/2024/intro-to-ai?ref=twitter' — can you pull out just the host domain from it?"},{"title":"Deduplicate links by domain","prompt":"Given the link 'https://news.ycombinator.com/item?id=12345678', what is the base domain/host so I can group it with other links from the same site?"},{"title":"Classify traffic source by domain","prompt":"I need to identify the domain from this referral URL 'https://m.facebook.com/story.php?story_fbid=999' so I can tag it in my analytics."}],"resultDescription":"Returns a JSON object containing the extracted 'host' field (e.g. 'example.com') and a 'schema' field identifying the response format as 'delx/domain-from-url/v1'. No network request is made to the destination URL.","failureModes":["Invalid or malformed URL returns an error; no domain can be extracted","Missing or non-URI 'url' field in request body results in a validation error","Payment failure via x402 protocol prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call, no-signup URL parsing service that runs locally without fetching the destination — ideal for agents that need to extract domains at high volume without managing subscriptions. Useful when privacy matters since the destination URL is never fetched or validated externally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:53:27.761Z","isFirstParty":false,"canonicalSlug":"delx-commerce-domain-from-url-96bf992f"}