---
title: "Get Environment Analytics for top applications by the request count"
method: GET
path: "/analytics/top-apps-by-request-count"
tags: ["API Analytics"]
---

# Get Environment Analytics for top applications by the request count

`GET /analytics/top-apps-by-request-count`

## Request

- Base URL: `/management/v2/environments/DEFAULT` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/management/v2/environments/DEFAULT/analytics/top-apps-by-request-count`
- Auth: one of:
  - HTTP basic
  - API key in cookie `Auth-Graviteeio-APIM`

Get Environment Analytics for top applications by the request count

User must have the API_ANALYTICS[READ] permission.

## Response `200`

Analytics for v2 and v4 top applications by the request count

- object: Analytics for top applications by the request count
  - `data` TopApp[]: List of top application results
    - `id` string: The Application ID
    - `name` string: The Application Name
    - `count` integer: The Application Hit count

## Other responses

- `default`: Generic error response

---

[API](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments.md) - [All operations](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/llms.txt) - [OpenAPI document](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/revisions/b736a7e375df?raw)
