# Delx Commerce DNS Record Diff

> Delx Commerce DNS Record Diff 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).

Compares two sets of DNS records and returns a structured diff showing added, removed, and unchanged records

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/dns-record-diff?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-record-diff-66feb2af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yo-ZotoJOwPyvw6dTif5G

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-record-diff-66feb2af -d '<json body>'
```

Example prompt: Compare these two sets of DNS records for me and tell me exactly what changed — what was added, what was removed, and whether anything is different: before had an A record pointing to 192.0.2.1 and after has an A record pointing to 192.0.2.2.

## When to prefer this

Choose this endpoint when you need a structured, programmatic diff of two DNS record sets — especially in agent workflows where you want machine-readable output (added/removed arrays, counts, changed boolean) rather than a human-readable diff. It is ideal for monitoring pipelines, post-deployment verification, and security auditing. At $0.001 USDC per call with no signup required, it is well-suited for frequent automated checks.

## Known failure modes

- Input arrays exceed 500 item limit — request rejected
- Malformed DNS record objects in before/after arrays — parsing error
- Empty or missing before/after fields — may return trivially empty diff
- Payment failure via x402 — 402 response with payment requirements
- Network timeout for large record sets approaching the 500-item limit

## How this service works

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

## Output

A JSON object containing arrays of added and removed DNS records (each with type and value), counts of before/after/unchanged records, and a boolean 'changed' flag indicating whether any differences exist. The schema identifier 'delx/util-dns-record-diff/v1' is also returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "array",
   "maxItems": 500
  },
  "before": {
   "type": "array",
   "maxItems": 500
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "added": [
   {
    "type": "A",
    "value": "192.0.2.2"
   }
  ],
  "schema": "delx/util-dns-record-diff/v1",
  "changed": true,
  "removed": [
   {
    "type": "A",
    "value": "192.0.2.1"
   }
  ],
  "after_count": 1,
  "before_count": 1,
  "unchanged_count": 0
 }
}
```

## More

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