82trust / 100

Domain Preflight

by Forest Domains in Weather & location

x402 APIPassing, checked 2 h ago

Resolve a bare public domain into operational registration, DNS, HTTPS/TLS and mail-policy state using IANA-routed RDAP, DNS, MX/TXT/SPF/DMARC and a bounded TLS probe. No registrant personal data, vulnerability scanning, mailbox existence or deliverability claim. Provider uncertainty is explicit. Base mainnet USDC

POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/domain/preflight

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
39 ms typical, 39 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://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/domain/preflight" \
  -H "content-type: application/json" \
  -d '{"domain":"example.com"}'
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%2Fhttp--forest-gas-station-mainnet--lcjl27p8lmjs.code.run%2Fdomain%2Fpreflight
const res = await pay("https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/domain/preflight", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"domain":"example.com"}),
});
console.log(await res.json());

Example input

{
  "domain": "example.com"
}

Example output

{
  "capability": "domain.preflight",
  "data": {
    "dns": {
      "a": true,
      "aaaa": true,
      "nameservers": [
        "a.iana-servers.net",
        "b.iana-servers.net"
      ],
      "resolves": true
    },
    "domain": "example.com",
    "https": {
      "expires_at": "2027-01-01T00:00:00.000Z",
      "reachable": true,
      "redirect_target": null,
      "tls_present": true,
      "valid_certificate": true
    },
    "mail": {
      "dmarc": true,
      "mx": false,
      "mx_hosts": [],
      "spf": true
    },
    "registered": true,
    "registration": {
      "created_at": "1995-08-14T04:00:00Z",
      "expires_at": "2027-08-13T04:00:00Z",
      "registrar": "Example Registrar",
      "statuses": []
    }
  },
  "meta": {
    "cache": "miss",
    "checked_at": "2026-09-26T00:00:00.000Z",
    "duration_ms": 75,
    "provider": "rdap+dns+https"
  },
  "ok": true,
  "version": "1"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40239 ms$0.003
7 h agoPassed40243 ms$0.003