A

Archtools · Tools Whois Lookup

by Archtools

POSTBasePolygon

$0.01

per call · USD Coin on Base

Domain registration, expiry, nameservers via RDAP. Pay per call with USDC (x402) or credits - archtools.dev

Endpoint

POST https://archtools.dev/v1/tools/whois-lookup

1

Calls / 30d

1

Unique payers / 30d

Sep 1

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://archtools.dev/v1/tools/whois-lookup", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "domain": "example.com"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://archtools.dev/v1/tools/whois-lookup" \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "ok": true
}

Payment details

Pay to0x2583aac89f58a63d9ccbedaa5e3baf2196aa967e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Polygon
Schemesexact

Is this your API?

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

Get featured →

More from Archtools & similar services