---
title: "Get the weekly commit count"
method: GET
path: "/repos/{owner}/{repo}/stats/participation"
tags: ["repos"]
---

# Get the weekly commit count

`GET /repos/{owner}/{repo}/stats/participation`

Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.

The array order is oldest week (index 0) to most recent week.

The most recent week is seven days ago at UTC midnight to today at UTC midnight.

## Path parameters

- `owner` string, required
- `repo` string, required

## Response `200`

The array order is oldest week (index 0) to most recent week.

- ParticipationStats
  - `all` integer[], required
  - `owner` integer[], required

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-2.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-2/versions/8ae6d0c8716e/schema)
