---
title: "Get Application Statistics"
method: GET
path: "/apps/{appId}/statistics"
tags: ["Applications"]
deprecated: true
---

# Get Application Statistics

`GET /apps/{appId}/statistics`

## Request

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

> **Deprecated.**

Retrieves historical statistics for an application including CPU, RAM, traffic, latency, and volume usage over a specified time period.

## Path parameters

- `appId` string, required

## Query parameters

- `fromDate` string, date-time, required
- `toDate` string, date-time
- `granularity` 'Daily' | 'Hourly' | 'Minute', required

## Response `200`

Application statistics was successfully retrieved.

- Statistics
  - `targetLatencyChart` object
  - `activeRegionsChart` object
  - `latencyChart` object
  - `instancesChart` object
  - `cpuUsageChart` object
  - `ramUsageChart` object
  - `trafficChart` object
  - `volumesSplitUsageChart` object
  - `volumesSplitCapacityChart` object
  - `volumesUsageChart` object
  - `volumesCapacityChart` object

## Other responses

- `400`: Invalid input.
- `401`: User is unauthorized.
- `404`: Application is not found.
- `500`: Unexpected server error.

## Changes

- **2026-11-12** `7bb58a0591b0`: 1 info
  - endpoint deprecated
- **2026-04-26** `62fb48c758fb`: 2 breaking, 6 info
  - the response property `activeRegionsChart/additionalProperties/` became nullable for the status `200`
  - the response property `instancesChart/additionalProperties/` became nullable for the status `200`
  - added the optional property `id` to the response with the `400` status
  - added the optional property `id` to the response with the `404` status
  - …4 more

[Operation history](https://skmtc.dev/bunny/apis/magic-containers-api/changes/apps/:appId/statistics/get.md)

---

[API](https://skmtc.dev/bunny/apis/magic-containers-api.md) - [All operations](https://skmtc.dev/bunny/apis/magic-containers-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/magic-containers-api/revisions/7bb58a0591b0?raw)
