---
title: "List repository contributors"
method: GET
path: "/repos/{owner}/{repo}/contributors"
tags: ["repos"]
---

# List repository contributors

`GET /repos/{owner}/{repo}/contributors`

Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API caches contributor data to improve performance.

GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.

## Path parameters

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

## Query parameters

- `anon` string
- `per_page` integer
- `page` integer

## Response `200`

If repository contains content

- Contributor[]
  - `login` string
  - `id` integer
  - `node_id` string
  - `avatar_url` string, uri
  - `gravatar_id` string, nullable
  - `url` string, uri
  - `html_url` string, uri
  - `followers_url` string, uri
  - `following_url` string
  - `gists_url` string
  - `starred_url` string
  - `subscriptions_url` string, uri
  - `organizations_url` string, uri
  - `repos_url` string, uri
  - `events_url` string
  - `received_events_url` string, uri
  - `type` string, required
  - `site_admin` boolean
  - `contributions` integer, required
  - `email` string
  - `name` string
  - `user_view_type` string

## Other responses

- `204` — Response if repository is empty
- `403` — Forbidden
- `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)
