Global DNS now offers an API for you to create custom applications. Follow the steps below to use the API effectively.
Generating an API Key
Access the Admin Panel:
Navigate to your Admin Panel.
Generate API Key:
Go to
Settings.Click on the
Advancedsection.Generate your API key. You can create multiple keys if needed.
API Endpoints
1. Fetch Available Servers
Request Type: GET
Request URL:
https://yourdomain.com/api/v1/[apikey]/serversParameters:
[apikey]- Your API key from the Admin Panel.
2. Get DNS Records
Request Type: GET
Request URL:
https://yourdomain.com/api/v1/[apikey]/dns/[domain]/[type]/[id]Parameters:
[apikey]- Your API key from the Admin Panel.[domain]- The domain name for which you want to fetch DNS records.[type]- Type of DNS record. Supported values include:A,MX,CNAME,TXT,PTR,CAA,SOA,SRV,AAAA.[id]- Unique ID of the server obtained from the previous API call.
3. WHOIS Check
Request Type: GET
Request URL:
https://yourdomain.com/api/v1/[apikey]/whois/[domain]Parameters:
[apikey]- Your API key from the Admin Panel.[domain]- The domain name for which you want to perform the WHOIS check.
For detailed instructions or further assistance, please contact our support team.