# Grey Ridge Signals — DNS Lookup API (x402)

> Grey Ridge Signals — DNS Lookup API (x402) is a paid API for AI agents from x402-data-api.sigrunner.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-28).

Performs a DNS lookup for a given domain, returning A, AAAA, MX, NS, and TXT records, paid per-call in USDC via the x402 protocol on Base mainnet.

## Facts

- Endpoint: GET https://x402-data-api.sigrunner.workers.dev/dns/%7Bdomain%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/grey-ridge-signals-dns-lookup-api-x402-230ff471
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SpC6EH53ygqLiY4Se08vg

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 grey-ridge-signals-dns-lookup-api-x402-230ff471
```

Example prompt: Can you look up all the DNS records for example.com — I want to see the A, MX, NS, and TXT records?

## When to prefer this

Choose this endpoint when you need instant, pay-per-call DNS resolution without API key registration, especially in agent workflows on Base mainnet using the x402 micropayment protocol. Ideal for one-off or low-volume DNS lookups where setting up a dedicated DNS API account is not warranted.

## Known failure modes

- Invalid or malformed domain name returns an error response
- Non-existent domain (NXDOMAIN) may return empty arrays or an error
- Payment failure over x402 protocol results in 402 response and no data
- Network timeout or upstream DNS resolver failure returns a 5xx error
- Missing domain parameter returns a 400 bad request

## How this service works

Pay-per-call market & on-chain data for Base trading agents over x402: live DeFi yields, cross-venue funding rates, token prices, Polymarket and RPC data — plus a pre-trade token-safety gate (GO/HOLD/BLOCK). No account, no API key; agents pay inline in USDC from $0.001/call.

## Output

A JSON object containing the domain queried plus arrays for each DNS record type: A (IPv4 addresses), AAAA (IPv6 addresses), MX (mail server entries), NS (nameserver hostnames), and TXT (text records including SPF, DKIM, etc.).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "A": [
   "93.184.216.34"
  ],
  "MX": [
   "0 ."
  ],
  "NS": [
   "a.iana-servers.net.",
   "b.iana-servers.net."
  ],
  "TXT": [
   "v=spf1 -all"
  ],
  "AAAA": [],
  "domain": "example.com"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/grey-ridge-signals-dns-lookup-api-x402-230ff471/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api.sigrunner.workers.dev](https://www.zero.xyz/host/x402-data-api.sigrunner.workers.dev/llms.txt)
