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
      • Cancel domain deletion
        PUT
      • Get DNS records
        GET
      • Update DNS records
        PUT
      • Update single DNS record
        PATCH
      • Get auth code
        GET
    • Contacts
      • List profiles
      • Get profile
      • Create profile
      • Update profile
      • Delete profile
    • Nameservers
      • List profiles
      • Get profile
      • Create profile
      • Update profile
      • Delete profile
    • DNS templates
      • List templates
      • Get template
      • Create template
      • Update template
      • Delete template
    • Availability
      • Check domain availability
    • Order
      • Order domain
  • Orders
    • List orders
      GET
    • Get order
      GET
    • Update order
      PUT
  1. Domains

List domains

GET
/domains
Retrieve all domains from your account

Request

Authorization
Add parameter in header
API-Key
Example:
API-Key: ********************
Query 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?tags=project1,project2' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/json'

Responses

🟢200OK
application/json
Body

Example
{
    "status": 0,
    "status_description": "string",
    "data": {
        "domains": [
            {
                "id": 0,
                "domain": "string",
                "renewal_date": "string",
                "status": "active",
                "status_id": 0,
                "tags": [
                    "string"
                ]
            }
        ]
    }
}
🟠400Invalid input
🟠400SSL connection is required
🟠401No valid API key set
🟠401API key has expired
🟠401Remote IP address is not found in the API key whitelist
🔴500Error
Modified at 2025-12-10 14:53:10
Previous
Response codes
Next
Get domain
Built with