---
title: "Retrieve the statistics of the last 30 days"
method: GET
path: "/api/v4/projects/{id}/statistics"
tags: ["projects"]
---

# Retrieve the statistics of the last 30 days

`GET /api/v4/projects/{id}/statistics`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/projects/{id}/statistics`
- Auth: none declared

Retrieves the clone and pull statistics for the last 30 days from a specified project.

## Path parameters

- `id` string, required

## Response `200`

Retrieve the statistics of the last 30 days

- APIEntitiesProjectDailyStatistics: API_Entities_ProjectDailyStatistics model
  - `fetches` object, required
    - `total` integer, required
    - `days` APIEntitiesProjectDailyFetches[], required
      - `count` integer, required
      - `date` string, date, required

## Other responses

- `401`: 401 Unauthorized
- `404`: 404 Project Not Found

---

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