1. Getting started
my.host API
  • Getting started
    • Introduction
    • Base url
    • Authentication
    • Response codes
    • Changelog
  • Domains
    • Domains
      • DNS
        • Zone
          • Get DNS zonefile
          • Import DNS zonefile
        • Dynamic DNS
          • List Dynamic DNS credentials
          • Create Dynamic DNS credential
          • Delete Dynamic DNS credential
          • Reset Dynamic DNS password
        • Get DNS records
        • Update DNS records
        • Update single DNS record
        • Delete single DNS record
        • Add single DNS record
        • Get DNS history
      • List domains
      • Get domain
      • Update domain
      • Cancel domain
      • Cancel domain deletion
      • Get auth code
      • Retry registration or transfer
      • Resend owner verification
    • Contacts
      • List profiles
      • Get profile
      • Create profile
      • Update profile
      • Delete profile
      • Get profile
      • Update 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
      • Check availability of several domains
    • Order
      • Order domain
    • Extensions
      • List domain extensions
      • Get domain extension
  • Virtual Private Servers
    • Backups
      • List backups
      • Create backup
      • Restore backup
      • Delete backup
    • SSH keys
      • List SSH keys
      • Delete SSH key
      • Add SSH key
    • Firewall
      • Get VPS firewall
      • Update VPS firewall
    • VPC
      • Get VPS VPC
      • Create VPS VPC
      • Add VPC subnet
      • Attach VPC subnet
    • Order
      • List VPS products
      • Order VPS
    • Floating IPs
      • List floating IPs
      • Reserve floating IP
      • Attach floating IP
      • Detach floating IP
      • Delete floating IP
    • List VPS instances
      GET
    • VPS details
      GET
    • Update VPS
      PUT
    • Restart VPS
      POST
    • Enable or disable rescue mode
      PUT
    • Cancel VPS
      DELETE
    • Cancel VPS deletion
      PUT
    • List available OS images
      GET
    • Reinstall VPS
      POST
    • Start VPS
      POST
    • Stop VPS
      POST
    • Power off VPS
      POST
    • Reset VPS root password
      POST
    • Change VPS hostname
      PUT
    • Get VPS statistics
      GET
    • List VPS licenses
      GET
  • Certificates
    • List certificates
    • Get certificate
    • List certificate products
    • Order certificate
    • Generate CSR
    • Request certificate
  • Orders
    • List orders
    • Get order
    • Update order
  • Affiliate
    • Commissions
      • List affiliate commissions
      • Get affiliate commission
    • Payments
      • List affiliate payments
      • Get affiliate payment
  • Account
    • Profile
      • Get account profile
      • Update account profile
    • Payment methods
      • List payment methods
      • Update default payment method
    • Invoices
      • List invoices
      • Get invoice
      • Download invoice PDF
    • Users
      • List account users
      • Get account user
      • Create account user
      • Update account user
    • Tickets
      • List support tickets
      • Get support ticket
      • Create support ticket
      • Reply to support ticket
  • Tools
    • Get your IP and customer number
  1. Getting started

Response codes

Every response is JSON, and the status field always equals the HTTP status code. Every response also carries an X-Request-Id header: quote it when you contact support about a call.

Status codes#

Status codeMeaning
200 OKThe request was successful, also when it created something.
400 Bad RequestInvalid input, malformed JSON, or a domain, VPS, certificate or other resource in the URL that is not in your account. status_description says what is wrong.
401 UnauthorizedNo credential, an unknown, expired or revoked one, or one used from an IP address outside its whitelist. See Authentication.
403 ForbiddenThe credential is valid but may not do this: the user lacks the permission, or the token lacks the scope.
404 Not FoundUnknown endpoint.
405 Method Not AllowedThe endpoint does not take this HTTP method. The Allow header lists the methods it does take.
429 Too Many RequestsOver the rate limit. Wait the number of seconds in Retry-After.
500 Internal Server ErrorSomething went wrong on our side. Report it with the X-Request-Id.

Rate limits#

Each API key and token may make 120 requests per minute. Domain availability checks, which query the registries, have their own limit of 30 domains per minute, shared by the single and the bulk check (a bulk check of 10 domains counts 10 times). Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (seconds until the minute ends); on the availability checks they report that limit. After 20 failed authentications from one IP address within 10 minutes, that address gets 429 for a while.

Dates and pagination#

Date-times are ISO 8601 with the time zone offset, such as 2026-11-10T09:43:00+01:00; dates without a time are YYYY-MM-DD.
List endpoints accept page and limit (1–100, default 50) and return data.pagination with page, limit, total and total_pages. Some lists return everything when you send neither parameter.

Examples#

Successful response (200 OK)#

{
    "status": 200,
    "status_description": "Request successful",
    "data": {
        "templates": [
            {
                "id": 1000,
                "alias": "my-dns-template",
                "default": true
            }
        ]
    }
}

Error response (400 Bad Request)#

{
    "status": 400,
    "status_description": "You have no access to this resource."
}

Error response (401 Unauthorized)#

{
    "status": 401,
    "status_description": "No valid API key set"
}
Modified at 2026-11-13 09:40:29
Previous
Authentication
Next
Changelog
Built with