---
title: "Get Storage Zone Statistics"
method: GET
path: "/storagezone/{id}/statistics"
tags: ["Storage Zone"]
---

# Get Storage Zone Statistics

`GET /storagezone/{id}/statistics`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/storagezone/{id}/statistics`
- Auth: one of:
  - API key in header `AccessKey`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-net-api/docs/storagezone/:id/statistics/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Query parameters

- `dateFrom` string, date-time, nullable
- `dateTo` string, date-time, nullable

## Response `200`

The statistics data for the passed parameters.

- StorageZoneStatisticsModel
  - `StorageUsedChart` object, nullable: The constructed chart of the storage used by day
  - `FileCountChart` object, nullable: The constructed chart of requests stored

## Other responses

- `401`: The request authorization failed
- `403`: The user does not have rights to access this resource
- `404`: The StorageZone has not been found
- `500`: Internal Server Error

## Changes

- **2026-11-12** `2b06f94dbfbf`: 2 info
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `AccessKey`
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `bearer`

[Operation history](https://skmtc.dev/bunny/apis/bunny-net-api/changes/storagezone/:id/statistics/get.md)

---

[API](https://skmtc.dev/bunny/apis/bunny-net-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-net-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-net-api/revisions/2b06f94dbfbf?raw)
