WHOIS Lookup
The WHOIS endpoint allows you to retrieve registration and ownership information for a domain name using RDAP (Registration Data Access Protocol). This is useful for checking domain availability, expiry dates, registrar details, and more.
Endpoint: HEAD GET https://api.teamtbm.org/v1/whois
Authentication: Public (None)
Rate Limits
| Limit | Value |
|---|---|
| Requests | 15 per minute |
| Scope | Per IP address |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | ✅ Yes | A valid domain name to look up (e.g. teamtbm.org). Also accepted as d. |
Note
Both d and domain are accepted as the query parameter name. If both are provided, domain takes precedence.
Exceeding the rate limit will return a 429 Too Many Requests response.
Response Format
{
"success": true,
"code": 200,
"cached": false,
"domain": "example.com",
"registered": true,
"result": {
"domainName": "example.com",
"domainStatus": [
"clientDeleteProhibited",
"clientTransferProhibited"
],
"expiryDate": "2027-01-15T10:00:00.000Z",
"creationDate": "2020-01-15T10:00:00.000Z",
"updatedDate": "2025-11-03T08:22:11.000Z",
"nameServers": [
"ns1.exampleregistrar.com",
"ns2.exampleregistrar.com"
],
"dnssec": "signed",
"registrar": "Example Registrar LLC",
"abuseEmail": "abuse@exampleregistrar.com",
"registrarIanaId": "0000"
}
}
Fields:
cached(boolean) — Whether the result was served from cachedomain(string) — The domain that was looked upregistered(boolean) — Whether the domain is currently registeredresult(object) — Mixed registration data from the RDAP server. Fields may vary depending on the TLD and registrar.
result Common Fields:
| Field | Type | Description |
|---|---|---|
domainName | string | Registered domain name |
domainStatus | string[] | List of EPP status codes |
expiryDate | string | ISO 8601 expiry timestamp |
creationDate | string | ISO 8601 creation timestamp |
updatedDate | string | ISO 8601 last updated timestamp |
nameServers | string[] | List of authoritative name servers |
dnssec | string | DNSSEC signing status |
registrar | string | Registrar name |
abuseEmail | string | Registrar abuse contact email |
registrarIanaId | string | Registrar IANA ID |
Returned when the d (or domain) parameter is missing or is not a valid domain.
Returned when the domain is not registered or no RDAP information is available for it.
Returned when no RDAP server is available for the domain's TLD, which typically indicates an invalid or unsupported TLD.
Additional Error Fields
Some error responses may include extra fields beyond the standard message and error properties, depending on the specific nature of the failure.
HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success — WHOIS data returned |
400 | Bad Request — missing or invalid d parameter |
404 | Not Found — domain not registered or no info available |
422 | Unprocessable Entity — no RDAP server available for TLD |
500 | Internal Server Error |