Otto AI · DNS Lookup

by Otto AI

GETBaseSolana

$0.001

per call · USD Coin on Base

Resolve any domain in one call: A/AAAA, MX, NS, CNAME, SOA and TXT records, plus parsed email-auth posture — SPF policy, DMARC policy, and detected DKIM selectors. A drop-in nslookup/dig replacement for agents, resolved over DNS-over-HTTPS (DoH) with redundant resolvers and automatic failover. Keyless, pay-per-call, structured JSON.

Endpoint

GET https://x402.ottoai.services/dns-lookup

29

Calls / 30d

13

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.ottoai.services/dns-lookup", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.ottoai.services/dns-lookup?domain=github.com" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "domain": "github.com",
    "email": {
      "dkim": {
        "selectorsFound": [
          "google"
        ]
      },
      "dmarc": {
        "policy": "reject",
        "present": true,
        "record": "v=DMARC1; p=reject; rua=mailto:dmarc@github.com"
      },
      "spf": {
        "policy": "softfail",
        "present": true,
        "record": "v=spf1 include:_spf.google.com ~all"
      }
    },
    "generatedAt": "2026-06-24T12:00:00.000Z",
    "records": {
      "a": [
        "140.82.121.3"
      ],
      "aaaa": [],
      "cname": [],
      "mx": [
        {
          "exchange": "aspmx.l.google.com",
          "priority": 1
        }
      ],
      "ns": [
        "dns1.p08.nsone.net",
        "ns-1283.awsdns-32.org"
      ],
      "soa": "dns1.p08.nsone.net. hostmaster.nsone.net. 1 7200 900 1209600 3600",
      "txt": [
        "v=spf1 ip4:192.30.252.0/22 include:_spf.google.com ~all"
      ]
    },
    "resolves": true
  },
  "meta": {
    "degraded": false,
    "generatedAt": "",
    "stalenessSec": 0,
    "validUntil": ""
  },
  "status": "success"
}

Payment details

Pay to0x0e84ddedaae6a779c462c22a59f301ec31b6b808
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Otto AI & similar services