{"uid":"cap_jK6UkMybJ4sMarNX-PxCF","slug":"delx-domain-label-aec83668","name":"Delx Domain Label","description":"Split host into DNS labels and apex guess. Call when you reason about registrable domains from agent host strings. Returns labels, apex, count 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/domain-label","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"host":{"type":"string","description":"Input field: host."}}},"responseSchema":{"type":"json","example":{"apex":"delx.ai","count":3,"labels":["api","delx","ai"],"schema":"delx/util-domain-label/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_ndomYIbMGh4s1kijNGfd4","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 hostname string into its DNS labels, guesses the registrable apex domain, and returns the label count.","exampleAgentPrompt":"Can you split the hostname 'api.payments.example.co.uk' into its DNS labels and tell me what the apex registrable domain is?","exampleUseCases":[{"title":"Identify registrable domain from agent host","prompt":"I have a host string 'ingest.logs.mycompany.io' — can you break it into its DNS labels and tell me what the apex domain is?"},{"title":"Validate subdomain depth before routing","prompt":"For the host 'deep.nested.sub.acme.com', how many DNS labels are there and what's the root registrable domain?"},{"title":"Normalize hosts in a pipeline","prompt":"I'm processing a batch of host strings from webhook payloads and need to extract the apex domain from 'cdn.static.shop.brand.net' — can you parse it?"}],"resultDescription":"Returns a JSON object containing the ordered list of DNS labels split from the input host string, the guessed apex/registrable domain, and the total count of labels.","failureModes":["Empty or missing host field returns an error","Malformed host strings (e.g. with spaces or invalid characters) may produce unexpected label splits","IP addresses passed as host may not yield a meaningful apex domain guess","Payment authorization failure via x402 returns a 402 status before processing occurs"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, local, no-network DNS label decomposition for agent reasoning about host strings — particularly when you want to identify the registrable apex domain without making external DNS lookups or requiring API keys. It costs only $0.001 USDC per call and retains no data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:55.797Z","isFirstParty":false}