# Delx Commerce — DNS TLSA Record Shape Check

> Delx Commerce — DNS TLSA 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 TLSA record string, returning field decomposition and a pass/fail shape validity result.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/dns-tlsa-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-tlsa-record-shape-check-7c497c98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rPk2S0BQz-up2NF9aDI3U

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-tlsa-record-shape-check-7c497c98 -d '<json body>'
```

Example prompt: Can you check whether this TLSA record has the right shape: '3 1 1 AABBCCDDEEFF00112233445566778899'?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call, no-signup check of DNS TLSA record formatting without sending data to a persistent backend. It is ideal for agents performing DANE configuration validation, pre-deployment sanity checks, or certificate rollover workflows where privacy (no data retention) and verifiable delivery matter.

## Known failure modes

- Malformed or empty record string returns shape_valid: false with field parse details
- Record exceeding 8192 characters may be rejected
- Non-TLSA formatted strings will fail shape validation with status 'fail'
- Network or service errors may return HTTP 5xx

## 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 TLSA record split into its component fields (usage, selector, matching type, certificate data), a boolean indicating whether the shape is valid, an overall status ('pass' or 'fail'), and evidence metadata including a SHA-256 hash of the input and confirmation that no data is retained or external calls made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "record": {
   "type": "string",
   "maxLength": 8192,
   "description": "Record supplied to DNS TLSA 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": [
    "3",
    "1",
    "1",
    "AABBCCDDEEFF00112233445566778899"
   ],
   "shape_valid": true
  },
  "schema": "delx/util-dns-tlsa-record-shape-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "196aa204b00dfac705caab97f837b021d005fd5bf93f628bbea265486ff16a9c",
   "external_calls": 0
  },
  "operation": "web_reliability:dns_tlsa_record_shape_check"
 }
}
```

## More

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