# Delx Domain Label Parser

> Delx Domain Label Parser is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Parses a hostname into its apex domain and constituent label segments

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/domain-label?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-domain-label-parser-1cbe9abf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yccidVPIY8cTVTWYJn_Qu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-domain-label-parser-1cbe9abf -d '<json body>'
```

Example prompt: Break down the hostname api.delx.ai into its apex domain and individual label parts — I need to know the root domain and how many segments it has.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call utility to decompose a hostname into its apex domain and ordered labels without any signup or subscription. Ideal for agents that encounter arbitrary hostnames at runtime and need structured label data on demand, especially when cost predictability ($0.001 USDC per call) and no-account-required access matter.

## Known failure modes

- Invalid or missing 'host' field returns an error response
- Malformed hostnames (e.g. empty string, numeric-only) may produce unexpected label arrays
- Very long hostnames exceeding DNS limits may fail
- Payment failure (insufficient USDC balance) results in HTTP 402 before processing begins

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the apex domain (e.g. 'delx.ai'), an integer count of labels, an ordered array of label strings (e.g. ['api','delx','ai']), and a schema identifier string for the response format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "host": {
   "type": "string",
   "description": "Input field: host."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "apex": "delx.ai",
  "count": 3,
  "labels": [
   "api",
   "delx",
   "ai"
  ],
  "schema": "delx/util-domain-label/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-domain-label-parser-1cbe9abf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
