Leverage the power of Dynu services in your app!

Get started with one of our examples, or jump straight into the API documentation.

Advanced API

Our advanced API is available to perform core functions of the control panel and more programmatically. It is a powerful resource and a great alternative to managing your services through our conventional web control panel.



What is the benefit of advanced API?

Our fully-featured REST API gives you access to manage hostnames, DNS records and more without having to access the control panel. Companies, developers and researchers can incorporate our innovative services directly into software and services.

What is the pricing for advanced API?

Advanced API is available to all Dynu members with a one-time setup fee of $29.99. You may use it to manage your DNS as well as domain registrations and email services.

Gain easy access

or integrate into your own app






EXAMPLE

or refer to full API documentation

1

Get the domain example.com


curl -v https://api.dynu.com/v1/dns/get/example.com \
        -H "Content-Type: application/json" \
        -H "Authorization: Bearer <token>"
Response

Responds with HTTP/1.1 200 OK if successful, returns the domain.

    {
      "id": 1,
      "user_id": 11,
      "name": "example.com",
      "token": "domain-token",
      "state": "complete",
      "ipv4_address":174.23.124.56,
      "ipv6_address": 2001:cdba::3257:9652,
      "wildcard_alias": false,
      "ttl": "1800",
      "created_at": "2015-07-28T15:01:13",
      "updated_at": "2015-09-10T13:03:15"
    }

2
Add name servers for the domain example.com:

curl -v https://api.dynu.com/v1/domain/name_server_add/example.com \
        -d "{\"name_servers\": [\"ns6.dynu.com\",\"ns7.dynu.com\"]}" \
        -H "Content-Type: application/json" \
        -H "Authorization: Bearer <token>"
Response

Responds with HTTP/1.1 200 OK if successful, returns the name servers.

  {
    "name servers": [
      "NS1.DYNU.COM",
      "NS2.DYNU.COM",
      "NS3.DYNU.COM",
      "NS4.DYNU.COM",
      "NS5.DYNU.COM"
      "NS6.DYNU.COM"
      "NS7.DYNU.COM"
    ]
  }