intelligence
Domain age
Registration and expiry dates from RDAP/WHOIS.
2 credits
- Billing
- Per lookup
- Implementation
- Computed in Klaris
- GDPR
- Ordinary data
- Request fields
domain
POST /api/v1/domain-agecurl -X POST "$KLARIS_URL/api/v1/domain-age" \
-H "Authorization: Bearer $KLARIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "example.com"
}'const payload = {
domain: "example.com",
};
const res = await fetch(`${process.env.KLARIS_URL}/api/v1/domain-age`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.KLARIS_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify(payload),
});import os
import requests
payload = {
"domain": "example.com"
}
requests.post(
f"{os.environ['KLARIS_URL']}/api/v1/domain-age",
headers={"Authorization": f"Bearer {os.environ['KLARIS_API_KEY']}"},
json=payload,
)Set KLARIS_URL to your Klaris origin and KLARIS_API_KEY to a live key.