Skip to content

Domain availability (RDAP)

$0.001 per callUSDC via x402POST /api/domain-availability

Is a domain name registered? Send POST /api/domain-availability with the required field domain and pay $0.001 per call over x402 or MPP (there is no free tier). It returns a JSON object with domain, registered, status, registrar, source and 2 more.

Asks the TLD's own registry over RDAP, the IETF registration data protocol (IANA's bootstrap names the registry): registered true, false, or null for a name under a registered domain (registeredParent names it), the registry status codes and the registrar when it is taken, the registry's notices as links (registryNotices, its terms among them) when it gives them, and when the registry was read. Availability can change at any moment; registration happens at a registrar.

Category: Network & domainsTags: domain availability rdap registration available whoisAlso found as: domain-available domain-name-availability is-domain-registered

Try in playground →

Parameters

NameTypeRequiredDescription
domainstringyesDomain name to check, e.g. example.com (a URL or an internationalized name is accepted) Also accepted as host, hostname, site.

Example request

curl -i -X POST https://agent402.tools/api/domain-availability \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com"}'

Without payment this returns HTTP 402 Payment Required with the exact price for domain-availability; any x402 v2 or MPP client pays it and retries.

Watch a call get paid

RequestPOST /api/domain-availability
402$0.001 USDC
SignPAYMENT-SIGNATURE
Settleon 14 chains
Answer200 OK
ReceiptAgent402-ReceiptEd25519

Example response

{
  "domain": "example.com",
  "registered": true,
  "status": [
    "client delete prohibited",
    "client transfer prohibited",
    "client update prohibited"
  ],
  "registrar": "RESERVED-Internet Assigned Numbers Authority",
  "source": "RDAP",
  "checkedAt": "2026-11-22T12:00:00.000Z",
  "note": "Read from the registry's RDAP service at checkedAt. Availability can change at any moment, and a name the registry reserves or blocks can read as not registered; registration itself happens at a registrar."
}
FieldTypeAlways presentIn the example
domainstringyesexample.com
registeredbooleanyestrue
statusarray of stringyes3 items in the example
registrarstringyesRESERVED-Internet Assigned Numbers Authority
sourcestringyesRDAP
checkedAtstringyes2026-11-22T12:00:00.000Z
notestringyesRead from the registry's RDAP service at checkedAt. Availability can change a...

From an MCP client

catalog.call {
  "slug": "domain-availability",
  "params": {
    "domain": "example.com"
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for domain-availability; the stdio package pays it from a wallet or from an AGENT402_CREDITS_KEY issued earlier. Local install: npx -y agent402-mcp@0.15.0.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.({ maxAmountPerPayment: "$0.001" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/domain-availability", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "domain": "example.com"
  }),
});

Related tools

Domain WHOIS (RDAP)

$0.001POST /api/whois

Domain registration data via RDAP (the structured WHOIS successor): registrar, creation/expiry dates, status.

A2A Agent Card fetch

$0.005POST /api/a2a-card-fetch

Discover and fetch a site's A2A (Agent2Agent protocol) Agent Card - tries /.well-known/agent-card.json then.

ASN + IP geolocation

$0.001POST /api/asn-info

Look up the Autonomous System (ASN), its owner name, prefix, country, registry, and allocation date for an IPv4 address.

Certificate transparency search

$0.005POST /api/cert-transparency

Search public Certificate Transparency logs for every cert issued to a domain.

DKIM key lookup

$0.002POST /api/dkim-lookup

Fetch and parse a DKIM public-key record at <selector>._domainkey.<domain> (RFC 6376).

DMARC check

$0.001POST /api/dmarc-check

Fetch and validate a domain's DMARC policy at _dmarc.<domain> (RFC 7489).