mijn.host API
  1. Nameservers
mijn.host API
  • Getting started
    • Introduction
    • Base url
    • Authentication
    • Response codes
  • Domains
    • Domains
      • List domains
      • Get domain
      • Update domain
      • Cancel domain
      • Get DNS records
      • Update DNS records
      • Update single DNS record
      • Get auth code
      • Cancel domain deletion
    • Contacts
      • List profiles
      • Create profile
      • Update profile
      • Get profile
    • Nameservers
      • List profiles
        GET
      • Create profile
        POST
      • Update profile
        PUT
      • Get profile
        GET
    • DNS templates
      • List templates
      • Create template
      • Update template
      • Get template
    • Availability
      • Check domain availability
    • Order
      • Order domain
  1. Nameservers

List profiles

GET
/domains/nameservers
Retrieve a list of all nameserver profiles in your account.

Request

Authorization
Add parameter in header
API-Key
Example:
API-Key: ********************
Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mijn.host/api/v2/domains/nameservers' \
--header 'Accept;' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-Key: <api-key>'

Responses

🟢200OK
application/json
Body

Example
{
    "status": 200,
    "status_description": "Request successful",
    "data": {
        "nameservers": [
            {
                "alias": "my-profile",
                "nameservers": [
                    {
                        "hostname": "ns1.mijn.host",
                        "ipv4": "51.38.47.94",
                        "ipv6": null
                    },
                    {
                        "hostname": "ns2.mijn.host",
                        "ipv4": "54.36.116.249",
                        "ipv6": null
                    }
                ]
            }
        ]
    }
}
🟠400Invalid input
Modified at 2025-07-21 16:38:26
Previous
Get profile
Next
Create profile
Built with