82trust / 100

Dns Inspect

by agentbit.app in Developer tools

x402 APIPassing, checked 2 h ago

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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
167 ms typical, 167 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentbit.app/v1/dns/inspect" \
  -H "content-type: application/json" \
  -d '{"domain":"example.com","types":["A","MX","TXT"]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentbit.app%2Fv1%2Fdns%2Finspect
const res = await pay("https://agentbit.app/v1/dns/inspect", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"domain":"example.com","types":["A","MX","TXT"]}),
});
console.log(await res.json());

Example input

{
  "domain": "example.com",
  "types": [
    "A",
    "MX",
    "TXT"
  ]
}

Example output

{
  "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
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402492 ms$0.01
5 h agoPassed40283 ms$0.01
10 h agoPassed402167 ms$0.01