# Stride20k DNS Lookup API

> Stride20k DNS Lookup API is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Resolves DNS records of a specified type for a given domain name, returning normalized JSON with DNSSEC validation status, via Cloudflare DoH.

## Facts

- Endpoint: GET https://gateway.stride20k.com/network/dns/%7Btype%7D/%7Bname%7D
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stride20k-dns-lookup-api-2934c802
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gg4H2hkUWeMCuoTC0sVVz

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 stride20k-dns-lookup-api-2934c802
```

Example prompt: Can you look up the A records for stripe.com and tell me what IP addresses it resolves to, and whether DNSSEC is validated?

## When to prefer this

Choose this endpoint when you need fast, normalized, schema-stable DNS resolution with DNSSEC validation status included in a single call, and you want to pay per query with USDC via x402 rather than managing API keys or accounts. It is ideal for agents that need DNS data alongside other network intelligence (WHOIS, email validation) from the same gateway, enabling multi-step domain due diligence without credential juggling.

## Known failure modes

- Non-existent domain returns empty answers array or NXDOMAIN
- Invalid record type parameter returns error response
- Network timeout reaching Cloudflare DoH upstream
- DNSSEC validation failure flagged in dnssecValidated field
- Malformed domain name input causes parameter parsing error

## How this service works

Agent data gateway plus the live x402 market feed. Normalized, schema-stable JSON for crypto prices, DeFi TVL, on-chain DEX pools, gas, FX, US Treasury yields, US weather, WHOIS, DNS, email validation, web-page extraction, tech news, Wikipedia, npm/PyPI package health, ERC-20 token-risk scoring, and composed domain dossiers, plus x402 ecosystem analytics and metered LLM inference. Pay per call with USDC via the x402 protocol; no accounts, no API keys.

## Output

Returns a JSON object with ok status, a data block containing the domain name, record type, and an array of DNS answers (each with TTL, data value, name, and numeric typeCode), plus metadata indicating whether the result was cached, the source (Cloudflare DoH), and the timestamp of the lookup.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "name": "example.com",
   "type": "A",
   "answers": [
    {
     "ttl": 165,
     "data": "104.20.23.154",
     "name": "example.com",
     "typeCode": 1
    }
   ],
   "dnssecValidated": true
  },
  "meta": {
   "cached": false,
   "source": "Cloudflare DoH",
   "fetchedAt": "2026-07-04T00:00:00.000Z",
   "attribution": null
  },
  "endpoint": "/network/dns/:type/:name"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stride20k-dns-lookup-api-2934c802/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stride20k.com](https://www.zero.xyz/host/gateway.stride20k.com/llms.txt)
