# agent-services x402 DNS Records Lookup

> agent-services x402 DNS Records Lookup is a paid API for AI agents from 49112-hjhjtioxvirqvcvo.splox.app, paid per call via x402, $0.0005/call, status unknown (last checked 2026-10-02).

Resolves DNS records for a domain and returns A, AAAA, MX, TXT, NS, CNAME, SOA, CAA records plus SPF, DMARC, and mail presence flags, paid per-call via x402 USDC.

## Facts

- Endpoint: GET https://49112-hjhjtioxvirqvcvo.splox.app/dns-records?utm_source=zero.xyz
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-services-x402-dns-records-lookup-c49864e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ejm-L1EQxOarRPPwKafK6

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 agent-services-x402-dns-records-lookup-c49864e3
```

Example prompt: What are the DNS records for stripe.com — I want to see everything: A, MX, TXT, NS, and whether it has SPF and DMARC set up.

## When to prefer this

Choose this endpoint when an AI agent needs structured, typed DNS record data for a domain programmatically, especially when SPF/DMARC email security checks or MX presence detection are needed in a single call. Prefer this over raw dig/nslookup integrations when you want a clean JSON response with boolean helper flags. The micro-payment x402 model (0.0005 USDC) makes it suitable for on-demand, per-call usage without subscription overhead.

## Known failure modes

- Domain does not exist or does not resolve — resolves: false returned
- DNS lookup timeout for specific record types — errors object populated per type
- Invalid domain name format — may return error or empty records
- Network unreachability to upstream resolvers — error in response
- Payment not included or insufficient — x402 payment required response before data is returned

## How this service works

Paid per-call web tools for AI agents: DNS, TLS, robots.txt, hashing, JavaScript rendering and screenshots. Payment over x402 (USDC on Base).

## Output

Returns a JSON object with the normalized domain name, a boolean indicating whether the domain resolves, and a records object keyed by record type (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) containing the actual values. Also includes boolean flags for SPF record presence in TXT, DMARC TXT record presence, and whether MX records exist (has_mail). Missing record types are omitted from the records object. Errors per record type are surfaced in an errors object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "name"
 ],
 "properties": {
  "name": {
   "type": "string",
   "description": "domain to resolve, e.g. example.com"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "name",
  "records",
  "resolves"
 ],
 "properties": {
  "spf": {
   "type": "boolean",
   "description": "SPF record present in TXT"
  },
  "name": {
   "type": "string",
   "description": "normalized host"
  },
  "dmarc": {
   "type": "boolean",
   "description": "_dmarc TXT record present"
  },
  "errors": {
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  },
  "records": {
   "type": "object",
   "description": "per-record-type values (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA); missing key = no such record",
   "additionalProperties": true
  },
  "has_mail": {
   "type": "boolean",
   "description": "true when MX records exist"
  },
  "resolves": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-services-x402-dns-records-lookup-c49864e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 49112-hjhjtioxvirqvcvo.splox.app](https://www.zero.xyz/host/49112-hjhjtioxvirqvcvo.splox.app/llms.txt)
