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

Get domain

GET
/domains/{domain}
Retrieve details of specific domain

Request

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

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/domain.com' \
--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": {
        "domain": "domain.com",
        "renewal_date": "01-01-2030",
        "is_lockable": false,
        "is_locked": false,
        "dnssec_enabled": 1,
        "nameservers": [
            "ns1.mijn.host",
            "ns2.mijn.host",
            "ns3.mijn.host"
        ],
        "managed_dns": true,
        "whitelabel_ns": false,
        "dnssec_keys": [
            {
                "flags": "257",
                "alg": "13",
                "pubKey": "p1jY89lZK3wHaejvtXaDDZN9K0Z4TNJwI6ad9Iw9TjdcuN2EZZ1+AKrECtnj6qHk+M4rpvKV56O3EfEarH96HQ=="
            }
        ],
        "handles": {
            "owner": {
                "type": "owner",
                "handle_id": 1234,
                "name": "mijn.host"
            },
            "tech": {
                "type": "tech",
                "handle_id": 1234,
                "name": "mijn.host"
            },
            "admin": {
                "type": "admin",
                "handle_id": 1234,
                "name": "mijn.host"
            },
            "reseller": {
                "type": "reseller",
                "handle_id": 1234,
                "name": "mijn.host"
            }
        },
        "status": "active",
        "messages": []
    }
}
🟠400Invalid input
Modified at 2025-09-08 12:27:01
Previous
List domains
Next
Update domain
Built with