curl --request GET \
--url https://api.bunny.net/dnszone/{id}/statistics \
--header 'AccessKey: <api-key>'{
"TotalQueriesServed": 123,
"QueriesServedChart": {},
"NormalQueriesServedChart": {},
"SmartQueriesServedChart": {},
"QueriesByTypeChart": {}
}Returns the statistics for the DNS Zone with the given ID
curl --request GET \
--url https://api.bunny.net/dnszone/{id}/statistics \
--header 'AccessKey: <api-key>'{
"TotalQueriesServed": 123,
"QueriesServedChart": {},
"NormalQueriesServedChart": {},
"SmartQueriesServedChart": {},
"QueriesByTypeChart": {}
}API Access Key authorization header
The ID of the DNS Zone for which the statistics will be returned
(Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned
(Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned
Returns the statistics for the DNS Zone with the given ID
Was this page helpful?