API Documentation

List Domains

Returns all domains accessible to the authenticated API key.

Request

GET /api/v1/domains

Required scope: domains:read

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,
      "dnsRecordCount": 4,
      "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 (e.g. com, de, io)
sld string Second-level domain (e.g. example)
status string Registration status: OK, LOCK, etc.
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
dnsRecordCount number Number of DNS records
subscription object | null Subscription status: cancelledAt, expiresAt, interval
expiresAt string | null Expiration date (ISO 8601)
createdAt string Creation timestamp (ISO 8601)

Example

curl https://hosting.site.quest/api/v1/domains \
  -H "Authorization: Bearer sq_live_a94ecfca096d..."

MCP

This data is also available via the list_domains MCP tool.