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

# Get Storage Zone Egress Statistics

`GET /storagezone/{id}/statistics/egress`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/storagezone/{id}/statistics/egress`
- 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/egress/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
- `hourly` boolean

## Response `200`

The egress statistics data for the passed parameters.

- StorageZoneEgressStatisticsModel
  - `HttpEgressChart` object, nullable: Download traffic served over HTTP
  - `S3EgressChart` object, nullable: Download traffic served over S3
  - `S3PresignedEgressChart` object, nullable: Download traffic served over presigned S3 URLs
  - `FtpEgressChart` object, nullable: Download traffic served over FTP
  - `SftpEgressChart` object, nullable: Download traffic served over SFTP
  - `TotalEgressChart` object, nullable: Total download traffic across all protocols
  - `HttpEgressTotal` integer: Total download traffic over HTTP
  - `S3EgressTotal` integer: Total download traffic over S3
  - `S3PresignedEgressTotal` integer: Total download traffic over presigned S3 URLs
  - `FtpEgressTotal` integer: Total download traffic over FTP
  - `SftpEgressTotal` integer: Total download traffic over SFTP
  - `TotalEgress` integer: Total download traffic across all protocols

## Other responses

- `400`: The requested date range is invalid
- `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`
- **2026-08-07** `205129a7ebd5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bunny/apis/bunny-net-api/changes/storagezone/:id/statistics/egress/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)
