# Ambolt DNS Lookup

> Ambolt DNS Lookup is a paid API for AI agents from api.ambolt.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Performs a DNS lookup for a given domain, returning A, AAAA, MX, TXT, NS, and CNAME records along with parsed email security metadata (SPF, DMARC).

## Facts

- Endpoint: GET https://api.ambolt.dev/v1/dns-lookup?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ambolt-dns-lookup-98d32aab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9og5qRIbeaxUC-khD16W4

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 ambolt-dns-lookup-98d32aab
```

Example prompt: Can you look up all the DNS records for github.com — I especially want to see the MX and TXT records to check their email security setup?

## When to prefer this

Choose this endpoint when you need a pay-per-call, programmatic DNS lookup that also parses and surfaces email security metadata (SPF, DMARC) alongside raw records — ideal for agents that need infrastructure verification or email deliverability auditing without managing resolver infrastructure. Prefer over generic DNS APIs when you want structured output with email security context already parsed.

## Known failure modes

- Invalid domain format — domain must match hostname pattern (e.g. no bare IPs or trailing dots)
- Domain does not exist — NXDOMAIN response with empty or missing record arrays
- Unsupported record type requested — only A, AAAA, MX, TXT, NS, CNAME are valid
- Payment failure — x402 payment of $0.003 USDC not completed, request rejected
- DNS timeout — upstream resolver fails to respond in time

## How this service works

Pay-per-call data tools for developers and AI agents: company registers, documents, tenders, rates and on-chain facts as MCP tools, x402 endpoints and Apify Actors.

## Output

A JSON object containing the domain name, all requested DNS record types (A, AAAA, MX, TXT, NS, CNAME), parsed email security metadata (SPF record with mechanism breakdown, DMARC policy and record), and a resolvedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ]
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "types": {
       "type": "string",
       "description": "Record types. Default: all."
      },
      "domain": {
       "type": "string",
       "pattern": "^(?=.{1,253}$)([A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\.)+[A-Za-z]{2,63}$",
       "maxLength": 253,
       "description": "Domain name, e.g. example.com."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "email": {
   "spf": {
    "record": "v=spf1 -all",
    "allMechanism": "-all"
   },
   "dmarc": {
    "policy": "reject",
    "record": "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s"
   }
  },
  "domain": "example.com",
  "records": {
   "A": [
    "172.66.147.243",
    "104.20.23.154"
   ],
   "MX": [
    {
     "exchange": "",
     "priority": 0
    }
   ],
   "NS": [
    "hera.ns.cloudflare.com",
    "elliott.ns.cloudflare.com"
   ],
   "TXT": [
    "v=spf1 -all",
    "_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"
   ],
   "AAAA": [
    "2606:4700:10::ac42:93f3",
    "2606:4700:10::6814:179a"
   ],
   "CNAME": []
  },
  "resolvedAt": "2026-10-02T21:35:41.471Z"
 }
}
```

## More

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