Domain registration date, age and expiry from code
Registration, last-change and expiry dates, status, nameservers and registrar for a domain. No personal contact details.
Domain age and expiry are useful signals for fraud checks, due diligence and renewal monitoring. This endpoint returns registration, last-changed and expiry dates, the age in days and days to expiry, status codes, nameservers, the DNSSEC flag and the registrar name.
Registrant and contact details are not returned. Some country domains do not offer a public registry service and return an error.
The calls
Each call returns 402 with the price until a payment is attached; an x402 client pays and retries automatically. Calls that fail are not charged. See Get started and the guide for bots and agents for code.
domain-rdap $0.003 per call
Look up a domain in the public RDAP registry: registration, last-changed and expiry dates, status codes, nameservers, DNSSEC flag and registrar name.
curl -i "https://api.ambolt.dev/v1/domain-rdap?domain=example.com"Example response
{
"domain": "example.com",
"registered": true,
"status": [
"client delete prohibited",
"client transfer prohibited",
"client update prohibited"
],
"registeredAt": "1995-08-14T04:00:00Z",
"lastChangedAt": "2026-08-14T08:01:43Z",
"expiresAt": "2027-08-13T04:00:00Z",
"ageDays": 11372,
"daysToExpiry": 314,
"nameservers": [
"elliott.ns.cloudflare.com",
"hera.ns.cloudflare.com"
],
"dnssecSigned": true,
"registrar": "RESERVED-Internet Assigned Numbers Authority",
"checkedAt": "2026-10-02T21:35:41.882Z",
"source": "Source: TLD registry RDAP service (IANA bootstrap). Registrant data omitted."
}Questions
Which domains work?
Domains whose registry publishes this data publicly; most generic domains do.
Does it return the owner?
No.
Use it from an AI agent
Every call is also an MCP tool: add https://api.ambolt.dev/mcp to your agent's server list.