# DNS TTL Budget Check

> DNS TTL Budget 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 a list of DNS record TTLs against caller-supplied minimum and maximum bounds, returning a pass/advisory status with normalized findings as deterministic versioned JSON.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/dns-ttl-budget-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-ttl-budget-check-dab7f36d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5JFSIDdetyvNoATZC-yAS

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-ttl-budget-check-dab7f36d -d '<json body>'
```

Example prompt: Check whether these DNS TTLs [300, 600, 1800] are within my acceptable range of at least 60 seconds and no more than 3600 seconds, and tell me if they pass.

## When to prefer this

Use this endpoint when you need a deterministic, stateless check of DNS TTL values against caller-defined bounds before accepting, caching, redirecting, or retrying a web response. Prefer it over rolling your own TTL validation logic when you need a normalized, versioned JSON result suitable for audit trails or pipeline gating. Ideal for agentic workflows that must verify DNS caching behavior meets policy requirements without relying on an external DNS provider.

## Known failure modes

- TTL array exceeds 256 items — request rejected
- Non-integer TTL values cause validation error
- Missing minimum or maximum bounds may result in incomplete evaluation
- Minimum greater than maximum produces invalid range error
- Empty TTL array returns trivially passing result with no meaningful findings

## How this service works

DNS Ttl Budget Check: DNS Ttl Budget Check checks DNS record TTLs against caller minimum and maximum bounds from bounded caller-supplied values without an external provider. Call DNS Ttl Budget 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 Ttl Budget Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, m…

## Output

Returns a versioned deterministic JSON object containing normalized web evidence, the computed finding for each TTL, and an explicit pass or advisory status indicating whether all supplied TTLs fall within the specified minimum and maximum bounds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ttls": {
   "type": "array",
   "items": {
    "type": "integer"
   },
   "maxItems": 256,
   "description": "Ttls supplied to DNS Ttl Budget Check; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum": {
   "type": "integer",
   "description": "Maximum supplied to DNS Ttl Budget Check; used only for this bounded calculation and processed in memory without retention."
  },
  "minimum": {
   "type": "integer",
   "description": "Minimum supplied to DNS Ttl Budget Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "out_of_policy": [],
   "maximum_observed": 3600,
   "minimum_observed": 60
  },
  "schema": "delx/util-dns-ttl-budget-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "ed4c60560d35497590dde05bca8a1d9acb1250db64bb2fe5d78a8934449b6ff1",
   "external_calls": 0
  },
  "operation": "web_reliability:dns_ttl_budget_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-ttl-budget-check-dab7f36d/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)
