Get DNS nameservers for a domain

Check which nameservers are associated with a specific domain. This is useful for verifying or updating your domain's DNS settings, especially in relation to VPS management. The endpoint returns a unique ID for tracking the nameserver lookup.

Headers

Accept Example
Content-Type Example

Body

required
application/json
domain string required

Responses

200
success boolean
timestamp string
requestId string
data object
400
error string
message string
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/lookup-nameservers
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/lookup-nameservers" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "domain": "string",
    "nameservers": [
      "string"
    ]
  }
}
Request Body
{
  "domain": "string"
}