REST API v1.1 - Managed DNS

Zones - Get stats for a zone

This response returns current traffic statistics about this zone. Queries is measured from the beginning of the current period through the time of the API call. Just like everywhere else in our system, dates are based on UTC.

This API may be rate limited differently than other APIs.

Request

Example
GET /api/1.1/zones/12345678/stats.xml

Response

Example body
<zone>
  <domain>example.com</domain>
  <id type="integer">12345678</id>
  <period-begin type="date">2010-07-01</period-begin>
  <period-end type="date">2010-07-31</period-end>
  <queries type="integer">1357</queries>
</zone>