Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Zone name.
Use all
to get statistics for all zones.
Query Parameters
Beginning of the requested time period (Unix Timestamp, UTC.)
In a query string: &from=1709068637
End of the requested time period (Unix Timestamp, UTC.)
In a query string: &to=1709673437
DNS record type.
Possible values:
* A * AAAA * NS * CNAME * MX * TXT * SVCB * HTTPS
Granularity parameter string is a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "1.5h" or "2h45m".
Valid time units are "s", "m", "h".
Response
StatisticsZoneResponse
Requests amount (values) for particular zone fractionated by time intervals (keys).
Example of response:
{ "requests": { "1598608080000": 14716, "1598608140000": 51167, "1598608200000": 53432, "1598611020000": 51050, "1598611080000": 52611, "1598611140000": 46884 } }
Total - sum of all values