81trust / 100
Tools Domain
by x402 tools in Developer tools
x402 APIPassing, checked 2 h ago
Use to vet a domain or URL before trusting it, or to check if a name is available. Registry RDAP data (the WHOIS successor) for up to 20 domains per call: registrar, created/expiry dates, age in days, status and transfer lock, nameservers, DNSSEC. Subdomains resolve to their registered domain. One flat price per call.
GET https://x402-tools-production-2755.up.railway.app/tools/domain
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 199 ms typical, 199 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 GET "https://x402-tools-production-2755.up.railway.app/tools/domain?domains=anthropic.com%2Cdocs.github.io%2Csome-unregistered-name.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%2Fx402-tools-production-2755.up.railway.app%2Ftools%2Fdomain
const res = await pay("https://x402-tools-production-2755.up.railway.app/tools/domain?domains=anthropic.com%2Cdocs.github.io%2Csome-unregistered-name.com");
console.log(await res.json());Example input
{
"domains": "anthropic.com,docs.github.io,some-unregistered-name.com"
}Example output
{
"count": 2,
"results": [
{
"ageDays": 9127,
"created": "2001-10-02T18:10:32Z",
"daysUntilExpiry": 2560,
"dnssec": false,
"domain": "anthropic.com",
"expires": "2033-10-02T18:10:32Z",
"expiring": false,
"nameservers": [
"isla.ns.cloudflare.com",
"randy.ns.cloudflare.com"
],
"registered": true,
"registrar": "MarkMonitor Inc.",
"registrarIanaId": "292",
"status": [
"client delete prohibited",
"client transfer prohibited",
"client update prohibited"
],
"transferLocked": true,
"updated": "2024-09-27T09:38:29Z"
},
{
"domain": "some-unregistered-name.com",
"note": "the registry has no record; usually available, unless reserved or premium",
"registered": false
}
]
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 203 ms | $0.002 |
| 7 h ago | Passed | 402 | 199 ms | $0.002 |