A

Agentbit · DNS Inspect

by Agentbit

POSTBase

$0.01

per call · USD Coin on Base

Complete DNS inspection in one call over DNS-over-HTTPS: A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs — plus a derived email posture analysis (SPF present and policy, DMARC present and policy, MX count, overall assessment) that raw lookup tools don't do.

Endpoint

POST https://agentbit.app/v1/dns/inspect

1

Calls / 30d

1

Unique payers / 30d

Sep 6

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://agentbit.app/v1/dns/inspect", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "domain": "example.com",
    "types": [
      "A",
      "MX",
      "TXT"
    ]
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agentbit.app/v1/dns/inspect" \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com","types":["A","MX","TXT"]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "domain": "example.com",
  "email_posture": {
    "assessment": "partial",
    "dmarc_policy": null,
    "dmarc_present": false,
    "mx_count": 0,
    "spf_policy": "-all",
    "spf_present": true
  },
  "records": {
    "A": [
      {
        "data": "93.184.215.14",
        "name": "example.com",
        "ttl": 300
      }
    ],
    "MX": {},
    "TXT": [
      {
        "data": "v=spf1 -all",
        "name": "example.com",
        "ttl": 300
      }
    ]
  },
  "resolved": true
}

Payment details

Pay to0x4395c7e383b7e05665aad7f36ed77c01923dd965
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Agentbit & similar services