---
title: "Get the hourly commit count for each day"
method: GET
path: "/repos/{owner}/{repo}/stats/punch_card"
tags: ["repos"]
---

# Get the hourly commit count for each day

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

Each array contains the day number, hour number, and number of commits:

*   `0-6`: Sunday - Saturday
*   `0-23`: Hour of day
*   Number of commits

For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

## Path parameters

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

## Response `200`

For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

- CodeFrequencyStat[]
  - integer[] — Code Frequency Stat

## Other responses

- `204` — A header with no content is returned.

---

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