curl --request GET \
--url https://api.bunny.net/statistics \
--header 'AccessKey: <api-key>'{
"TotalBandwidthUsed": 123,
"TotalOriginTraffic": 123,
"AverageOriginResponseTime": 123,
"TotalRequestsServed": 123,
"CacheHitRate": 123,
"OriginResponseTimeChart": {},
"BandwidthUsedChart": {},
"BandwidthCachedChart": {},
"CacheHitRateChart": {},
"RequestsServedChart": {},
"PullRequestsPulledChart": {},
"OriginShieldBandwidthUsedChart": {},
"OriginShieldInternalBandwidthUsedChart": {},
"OriginTrafficChart": {},
"UserBalanceHistoryChart": {},
"GeoTrafficDistribution": {},
"Error3xxChart": {},
"Error4xxChart": {},
"Error5xxChart": {}
}The statistics data for the passed parameters.
curl --request GET \
--url https://api.bunny.net/statistics \
--header 'AccessKey: <api-key>'{
"TotalBandwidthUsed": 123,
"TotalOriginTraffic": 123,
"AverageOriginResponseTime": 123,
"TotalRequestsServed": 123,
"CacheHitRate": 123,
"OriginResponseTimeChart": {},
"BandwidthUsedChart": {},
"BandwidthCachedChart": {},
"CacheHitRateChart": {},
"RequestsServedChart": {},
"PullRequestsPulledChart": {},
"OriginShieldBandwidthUsedChart": {},
"OriginShieldInternalBandwidthUsedChart": {},
"OriginTrafficChart": {},
"UserBalanceHistoryChart": {},
"GeoTrafficDistribution": {},
"Error3xxChart": {},
"Error4xxChart": {},
"Error5xxChart": {}
}API Access Key authorization header
(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.
(Optional) If set, the statistics will be only returned for the given Pull Zone
(Optional) If set, the statistics will be only returned for the given region ID
(Optional) If set, the respose will contain the non-2xx response
(Optional) If true, the statistics data will be returned in hourly groupping.
Load Origin Response Times
Load Origin Traffic
Load Requests Served
Load Bandwidth Used
Load Origin Shield Bandwidth
Load Geographic Traffic Distribution
Load User Balance History
The statistics data for the passed parameters.
The total amount of traffic received from the origin
The median response time origin
The total requests served by the response in the given time range
The average cache hit rate in the response in the given time range
The constructed origin response time chart data
Show child attributes
The constructed bandwdidth used chart data
Show child attributes
The constructed cached bandwdidth used chart data
Show child attributes
The constructed cache hit rate chart data
Show child attributes
The constructed requests served chart data
Show child attributes
The constructed uncached requests served chart data
Show child attributes
The constructed origin shield bandwdidth used chart data
Show child attributes
The constructed origin shield internal bandwdidth used chart data
Show child attributes
The constructed origin traffic used chart data
Show child attributes
The constructed user balance history chart data
Show child attributes
The geo traffic distribution data
Show child attributes
The constructed 3XX error responses chart data
Show child attributes
The constructed 4XX error responses chart data
Show child attributes
The constructed 5XX error responses chart data
Show child attributes
Was this page helpful?