---
title: "Get Statistics"
method: GET
path: "/statistics"
tags: ["Statistics"]
---

# Get Statistics

`GET /statistics`

## Query parameters

- `dateFrom` string, date-time, nullable
- `dateTo` string, date-time, nullable
- `pullZone` integer
- `serverZoneId` integer
- `loadErrors` boolean
- `hourly` boolean
- `exactRange` boolean
- `loadOriginResponseTimes` boolean
- `loadOriginTraffic` boolean
- `loadRequestsServed` boolean
- `loadBandwidthUsed` boolean
- `loadOriginShieldBandwidth` boolean
- `loadGeographicTrafficDistribution` boolean
- `loadUserBalanceHistory` boolean

## Response `200`

The statistics data for the passed parameters.

- StatisticsModel
  - `TotalBandwidthUsed` integer — The total bandwidth used by the response in the given time range
  - `TotalOriginTraffic` integer — The total amount of traffic received from the origin
  - `AverageOriginResponseTime` integer — The median response time origin
  - `OriginResponseTimeChart` object, nullable — The constructed origin response time chart data
  - `TotalRequestsServed` integer — The total requests served by the response in the given time range
  - `CacheHitRate` number, double — The average cache hit rate in the response in the given time range
  - `BandwidthUsedChart` object, nullable — The constructed bandwdidth used chart data
  - `BandwidthCachedChart` object, nullable — The constructed cached bandwdidth used chart data
  - `CacheHitRateChart` object, nullable — The constructed cache hit rate chart data
  - `RequestsServedChart` object, nullable — The constructed requests served chart data
  - `PullRequestsPulledChart` object, nullable — The constructed uncached requests served chart data
  - `OriginShieldBandwidthUsedChart` object, nullable — The constructed origin shield bandwdidth used chart data
  - `OriginShieldInternalBandwidthUsedChart` object, nullable — The constructed origin shield internal bandwdidth used chart data
  - `OriginTrafficChart` object, nullable — The constructed origin traffic used chart data
  - `UserBalanceHistoryChart` object, nullable — The constructed user balance history chart data
  - `GeoTrafficDistribution` object, nullable — The geo traffic distribution data
  - `Error3xxChart` object, nullable — The constructed 3XX error responses chart data
  - `Error4xxChart` object, nullable — The constructed 4XX error responses chart data
  - `Error5xxChart` object, nullable — The constructed 5XX error responses chart data

## Other responses

- `401` — The request authorization failed
- `500` — Internal Server Error

---

[API](https://skmtc.net/bunny/apis/bunny-net-cdn-logging.md) · [All operations](https://skmtc.net/bunny/apis/bunny-net-cdn-logging/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bunny/bunny-net-cdn-logging/versions/9e622620664b/schema)
