# DNS DS Record Shape Check

> DNS DS Record Shape Check is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates the structural shape of a DNS DS (Delegation Signer) record by checking key tag, algorithm, digest type, and hex digest format against expected constraints.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/dns-ds-record-shape-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-ds-record-shape-check-c2e8e087
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TfRS-zaycf8hM2MP1wrTJ

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

Example prompt: Can you check whether this DS record is correctly shaped — '12345 8 2 ABC123DEF456...' — specifically validating the key tag, algorithm, digest type, and hex digest format?

## When to prefer this

Choose this endpoint when you need a deterministic, no-external-dependency structural validation of a DNS DS record before accepting, caching, or acting on it in an automated pipeline. It is ideal for agent workflows that must verify caller-supplied DNS data at low cost ($0.001 USDC) without trusting external DNS resolvers or validators.

## Known failure modes

- Record string exceeds 8192 character limit — request rejected
- Malformed input that cannot be parsed into DS record fields — advisory or fail status returned
- Missing required fields in the DS record string — finding flags specific absent components
- Invalid hex digest characters detected — advisory status with finding detail
- Payment not included or insufficient — x402 payment required error

## How this service works

DNS DS Record Shape Check: DNS DS Record Shape Check checks DS key tag, algorithm, digest type, and hex digest shape from bounded caller-supplied values without an external provider. Call DNS DS Record Shape Check before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for DNS DS Record Shape Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-…

## Output

Returns a versioned deterministic JSON object containing the normalized DS record evidence, a computed structural finding (e.g. which fields passed or failed shape checks), and an explicit pass or advisory status indicating whether the DS record is well-formed.

## 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/dns-ds-record-shape-check-c2e8e087/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
