Get CDN statistics
bunny_get_statisticsCDN traffic statistics for the account or one pull zone: total bandwidth, origin traffic, requests served, cache hit rate and average origin response time, plus optional charts (bandwidth, requests, origin traffic, response times, 3xx/4xx/5xx errors, geographic distribution). bunny.net: GET /statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hourly | No | Hourly instead of daily grouping. | |
| date_to | No | End of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days. | |
| date_from | No | Start of the range, YYYY-MM-DD or ISO 8601. Omit both dates for the last 30 days. | |
| region_id | No | Only this edge region (see bunny_list_regions). | |
| load_errors | No | Include the 3xx/4xx/5xx response charts. | |
| pull_zone_id | No | Only this pull zone. Omit for the whole account. | |
| load_bandwidth_used | No | Include the bandwidth charts. | |
| load_origin_traffic | No | Include the origin traffic chart. | |
| load_requests_served | No | Include the requests-served chart. | |
| load_origin_response_times | No | Include the origin response time chart. | |
| load_geographic_traffic_distribution | No | Include traffic by country. |