Domain registration lookup (RDAP, the official WHOIS successor)
nightshift-x402.nightshift-labs.workers.dev/v1/domain/whois
Domain registration lookup (RDAP, the official WHOIS successor): registration date and age in days, expiry, registrar and its abuse email, EPP status, nameservers, DNSSEC, and flags for brand-new (<30 days) or young domains, punycode/IDN names and expiring domains. Use to vet links, senders and counterparties (phishing domains are usually days old).
GET
https://nightshift-x402.nightshift-labs.workers.dev/v1/domain/whoisUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://nightshift-x402.nightshift-labs.workers.dev/v1/domain/whois?domain=github.com");
console.log(await res.json());Example input
{
"domain": "github.com"
}