81trust / 100

Proxy Whois

by WHOIS Lookup in Documents & files

x402 APIPassing, checked 2 h ago

Domain registration lookup via RDAP (modern WHOIS). Returns registrar, registrar_url, created_at, updated_at, expires_at, days_until_expiry, name_servers array, status array, and registrant_country. Clean JSON, no raw WHOIS text to parse. Covers all major TLDs.

POST https://agentsvc.io/api/v1/proxy/whois

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
30 ms typical, 30 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://agentsvc.io/api/v1/proxy/whois" \
  -H "content-type: application/json" \
  -d '{"domain":"github.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%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fwhois
const res = await pay("https://agentsvc.io/api/v1/proxy/whois", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"domain":"github.com"}),
});
console.log(await res.json());

Example input

{
  "domain": "github.com"
}

Example output

{
  "data": {
    "created_at": "2007-10-09T18:20:50.000Z",
    "days_until_expiry": 548,
    "dnssec": "unsigned",
    "domain": "github.com",
    "expires_at": "2026-10-09T18:20:50.000Z",
    "name_servers": [
      "dns1.p08.nsone.net",
      "dns2.p08.nsone.net",
      "ns-1283.awsdns-32.org",
      "ns-1707.awsdns-21.co.uk"
    ],
    "registrant_country": "US",
    "registrar": "MarkMonitor Inc.",
    "registrar_url": "http://www.markmonitor.com",
    "status": [
      "clientDeleteProhibited",
      "clientTransferProhibited",
      "clientUpdateProhibited"
    ],
    "updated_at": "2024-09-08T09:18:28.000Z"
  },
  "success": 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 agoPassed40230 ms$0.0045
7 h agoPassed40233 ms$0.0045