Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Tasks
  5. Zone tasks

Zone info

API reference (XML/JSON) · Updated 2025-03-10

Function

The ZoneInfo task displays the zone data of multiple zones on the name servers managed by the system.

You can find more information about list queries here. 

Description

Route: GET /zone/{name}/{nameserver} or  : GET /zone/{name}

No body has to be sent with the request.

GET/zone/{example.com}/{ns1.example.com}
or GET/zone/{example.com}
{
  "status" : {
    "code" : "S0205",
    "text" : "Zone information was inquired successfully.",
    "type" : "SUCCESS"
  },
  "object" : {
    "type" : "Zone",
    "value" : "jsontest.test"
  },
  "data" : [ {
    "created" : "2017-11-07T12:55:38.000+0100",
    "updated" : "2022-04-19T11:28:20.000+0200",
    "origin" : "jsontest.test",
    "soa" : {
      "refresh" : 39940,
      "retry" : 7200,
      "expire" : 604800,
      "ttl" : 86400,
      "email" : "customer@example.com"
    },
    "owner" : {
      "context" : 4,
      "user" : "customer"
    },
    "updater" : {
      "context" : 4,
      "user" : "customer"
    },
    "purgeDate" : "2022-04-19T00:00:00.000+0200",
    "purgeType" : "DISABLED",
    "nameServers" : [ {
      "name" : "ns1.example.com",
      "ttl" : 8600
    }, {
      "name" : "ns2.example.com",
      "ttl" : 8600
    } ],
    "main" : {
      "address" : "198.51.100.0",
      "ttl" : 8600
    },
    "wwwInclude" : false,
    "virtualNameServer" : "ns1.example.com",
    "action" : "COMPLETE",
    "grants" : [ "198.51.100.0" ],
    "resourceRecords" : [ {
      "name" : "",
      "ttl" : 200,
      "type" : "MX",
      "value" : "mx.example.com",
      "pref" : 10
    } ],
    "roid" : 3172243
  } ]
}