DNS Zone
Statistics
Get DNS Query Statistics
Changed onget/dnszone/{id}/statistics
Request
- Base URLhttps://api.bunny.net
- Auth
- API key in header AccessKey
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
The ID of the DNS Zone for which the statistics will be returned
Query parameters
dateFromstring date-time nullable
(Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned
dateTostring date-time nullable
(Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned
Response
Returns the statistics for the DNS Zone with the given ID
Changes
- info
the security scope
ScopedApiKeywas added to the endpoint's security schemeAccessKey - info
the security scope
ScopedApiKeywas added to the endpoint's security schemebearer
- info