# NodeOps DNS Lookup API

> NodeOps DNS Lookup API is a paid API for AI agents from www.getbags.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Resolves DNS records (A, AAAA, MX, TXT, NS) for a given domain name via a pay-per-call API

## Facts

- Endpoint: GET https://www.getbags.app/api/agent/link/pl-0f7a0c71-4f87-4f37-a809-89af2a52b177
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nodeops-dns-lookup-api-ab93ee58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uWFqAJ2y-KoO_jdRSrhkm

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 nodeops-dns-lookup-api-ab93ee58
```

Example prompt: Can you look up the MX records for example.com using the NodeOps DNS API? My name is John Smith and my email is john@example.com for the receipt.

## When to prefer this

Use this endpoint when you need programmatic DNS resolution for any of the five major record types (A, AAAA, MX, TXT, NS) and are operating in a micropayment-enabled x402 context. It is a pay-per-call service well-suited for on-demand lookups without requiring API key management.

## Known failure modes

- Invalid domain name returns an error response
- Unsupported record type (outside A, AAAA, MX, TXT, NS) returns validation error
- Domain does not exist or has no records of the requested type returns empty or NXDOMAIN response
- Payment failure via x402 protocol blocks the request
- Network timeout if DNS resolver is slow or unreachable

## How this service works

NodeOps API

## Output

Returns resolved DNS records for the specified domain and record type, such as IP addresses for A/AAAA records, mail server hostnames for MX records, text strings for TXT records, or nameserver hostnames for NS records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string",
   "description": "Domain name to resolve (pass as ?name= query param)"
  },
  "type": {
   "enum": [
    "A",
    "AAAA",
    "MX",
    "TXT",
    "NS"
   ],
   "type": "string",
   "description": "DNS record type"
  },
  "customerName": {
   "type": "string",
   "description": "Optional buyer name"
  },
  "customerEmail": {
   "type": "string",
   "description": "Optional buyer email for the receipt/customer record"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nodeops-dns-lookup-api-ab93ee58/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.getbags.app](https://www.zero.xyz/host/www.getbags.app/llms.txt)
