Get Domain
Returns detailed information about a single domain, including DNS records, nameservers, and live registrar data.
Request
GET /api/v1/domains/{id}
Required scope: domains:read
Path Parameters
| Parameter |
Type |
Description |
id |
string |
The domain ID |
Headers
| Header |
Required |
Value |
Authorization |
Yes |
Bearer YOUR_API_KEY |
Response
{
"data": {
"id": "6997649fd6212ab98fbb7289",
"name": "example.com",
"tld": "com",
"sld": "example",
"status": "OK",
"terminated": false,
"autoRenew": true,
"isLocked": true,
"isPrivacyEnabled": true,
"isDnssecEnabled": true,
"nameservers": [
"ns1.openprovider.nl",
"ns2.openprovider.be",
"ns3.openprovider.eu"
],
"dnsRecords": [
{
"id": "abc123",
"type": "A",
"name": "@",
"value": "45.84.196.79",
"ttl": 3600,
"priority": null
},
{
"id": "def456",
"type": "MX",
"name": "@",
"value": "mail.example.com",
"ttl": 3600,
"priority": 10
}
],
"registrar": { ... },
"subscription": {
"cancelledAt": null,
"expiresAt": null,
"interval": "12 months"
},
"expiresAt": "2027-02-19T19:29:27.000Z",
"createdAt": "2026-02-19T19:29:35.674Z"
}
}
Response Fields
| Field |
Type |
Description |
id |
string |
Unique domain identifier |
name |
string |
Full domain name |
tld |
string |
Top-level domain |
sld |
string |
Second-level domain |
status |
string |
Registration status |
terminated |
boolean |
Whether the domain is terminated |
autoRenew |
boolean | null |
Auto-renewal setting |
isLocked |
boolean | null |
Transfer lock status |
isPrivacyEnabled |
boolean | null |
WHOIS privacy protection |
isDnssecEnabled |
boolean | null |
DNSSEC status |
nameservers |
string[] |
Active nameservers |
dnsRecords |
array |
DNS records (see below) |
registrar |
object | null |
Live registrar data from provider |
subscription |
object | null |
Subscription status (see below) |
expiresAt |
string | null |
Expiration date (ISO 8601) |
createdAt |
string |
Creation timestamp (ISO 8601) |
Subscription Fields
| Field |
Type |
Description |
cancelledAt |
string | null |
When the subscription was cancelled (ISO 8601), or null if active |
expiresAt |
string | null |
When the subscription expires (ISO 8601), or null if renewing |
interval |
string | null |
Billing interval (e.g. "1 month", "12 months") |
DNS Record Fields
| Field |
Type |
Description |
id |
string |
Record identifier |
type |
string |
Record type: A, AAAA, CNAME, MX, TXT, NS, SRV, etc. |
name |
string |
Record name (e.g. @, www, mail) |
value |
string |
Record value |
ttl |
number |
Time to live in seconds |
priority |
number | null |
Priority (MX and SRV records) |
Sensitive fields like authcode are stripped from the registrar object.
Errors
| Status |
Code |
Description |
| 404 |
NOT_FOUND |
Domain not found or access denied |
Example
curl https://hosting.site.quest/api/v1/domains/6997649fd6212ab98fbb7289 \
-H "Authorization: Bearer sq_live_a94ecfca096d..."
MCP
This data is also available via the get_domain MCP tool.