# Delx Commerce — DNS DS Record Shape Check

> Delx Commerce — DNS DS Record Shape Check 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-01).

Validates the structural format of a DNS DS (Delegation Signer) record string, returning field decomposition and a pass/fail shape verdict.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/dns-ds-record-shape-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-dns-ds-record-shape-check-1e8ae174
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d95zxFufbhMG3f4MvLRrg

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-commerce-dns-ds-record-shape-check-1e8ae174 -d '<json body>'
```

Example prompt: Can you check whether this DNS DS record has the right format and all the correct fields: '12345 13 2 AABBCCDDEEFF00112233445566778899'?

## When to prefer this

Use this endpoint when you need a fast, cheap, verifiable, no-signup check of whether a DNS DS record string is structurally valid — especially useful in automated DNSSEC provisioning pipelines, DNS audit workflows, or before submitting DS records to a registrar or registry. Prefer it over manual regex checks for its structured field decomposition and tamper-evident evidence envelope.

## Known failure modes

- Malformed or empty record string returns shape_valid: false with status 'fail'
- Record exceeding 8192 characters will be rejected
- Missing required 'record' field in request body returns an error
- Non-string input type causes validation failure
- Unparseable field values (e.g. non-numeric key tag) result in shape_valid: false

## 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 with the parsed DS record fields (key tag, algorithm, digest type, digest), a boolean shape_valid flag, an overall status ('pass' or 'fail'), the operation identifier, and evidence metadata including whether input was retained (always false), the SHA256 of the input, and the number of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "record": {
   "type": "string",
   "maxLength": 8192,
   "description": "Record supplied to DNS DS Record Shape Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "fields": [
    "12345",
    "13",
    "2",
    "AABBCCDDEEFF00112233445566778899"
   ],
   "shape_valid": true
  },
  "schema": "delx/util-dns-ds-record-shape-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "a69862261e69c93a8f7120d0e41aa81cea43bd695982dc546ebd3e8b6b87f8ad",
   "external_calls": 0
  },
  "operation": "web_reliability:dns_ds_record_shape_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-dns-ds-record-shape-check-1e8ae174/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)
