---
title: "Get account usage information"
method: GET
path: "/v1/accounts/usage"
tags: ["Account Management API"]
---

# Get account usage information

`GET /v1/accounts/usage`

Get the account usage information between two dates. Note that the API response includes data from the start date while excluding data from the end date. In other words, the data covers the period starting from the specified start date up to, but not including, the end date.

For an agency account, the returned usage is aggregated across the agency and all of its child accounts that are billed to it.

The response is cached for 6 hours per account, date range and requested metrics.

## Query parameters

- `startDate` string, date, required
- `endDate` string, date, required

## Response `200`

In the response, you will get different usage metrics.

- object
  - `bandwidthBytes` integer — Amount of bandwidth used in bytes.
  - `mediaLibraryStorageBytes` integer — Storage used by media library in bytes.
  - `videoProcessingUnitsCount` integer — Number of video processing units used.
  - `extensionUnitsCount` integer — Number of extension units used.
  - `originalCacheStorageBytes` integer — Storage used by the original cache in bytes.

## Other responses

- `400` — Bad request.
- `401` — Unauthorized request.
- `403` — Forbidden.
- `429` — The request exceeded the rate limit. Contains headers indicating the limits and a message detailing the error.

---

[API](https://skmtc.dev/imagekit-developer/apis/imagekit-api.md) · [All operations](https://skmtc.dev/imagekit-developer/apis/imagekit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/imagekit-developer/imagekit-api/revisions/bb3e9ff84b3e/schema)
