# List GitHub Repository Contributors API

> List a repository's contributors ranked by commit count, paginated: login, id, type, contributions, profile URL. Plus the rate-limit headers.

Category: [Developer Tools APIs](https://upapi.io/apis/developer-tools) · Last updated 2026-11-07

## How to call it

- Endpoint: `POST https://api.upapi.io/github-repo-contributors.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 1 weighted unit per call.
- Timeout: 30 seconds.
- Cache: identical requests are served from cache for 300 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/github-repo-contributors.get

```bash
curl -X POST https://api.upapi.io/github-repo-contributors.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "page": 1, "repo": "playwright", "owner": "microsoft", "perPage": 30, "includeAnonymous": false }'
```

## Request parameters

- `page` (integer)
- `repo` (string, required) — Repo name
- `owner` (string, required) — Repo owner (user or org)
- `token` (string) — Optional GitHub token (5,000 req/h)
- `perPage` (integer)
- `proxyUrl` (string) — Optional exit to send from (direct otherwise)
- `includeAnonymous` (boolean) — Also return email-only contributors with no GitHub account

## Response fields

- `items` (array, required)
- `items[].id` (integer, required)
- `items[].type` (string, required)
- `items[].login` (string, required) — None for anonymous (email-only) contributors
- `items[].htmlUrl` (string, required)
- `items[].avatarUrl` (string, required)
- `items[].contributions` (integer, required)
- `fetchedAt` (string, required)
- `rateLimit` (object, required) — The rate-limit headers GitHub returned on THIS response, surfaced so the caller
can pace itself instead of the operation sleeping on its behalf.
- `rateLimit.limit` (integer, required) — X-RateLimit-Limit: requests allowed per window
- `rateLimit.resetAt` (string, required) — X-RateLimit-Reset as an ISO-8601 UTC timestamp
- `rateLimit.resource` (string, required) — X-RateLimit-Resource: which bucket (core, search, graphql, ...)
- `rateLimit.remaining` (integer, required) — X-RateLimit-Remaining: requests left
- `rateLimit.resetEpoch` (integer, required) — X-RateLimit-Reset as unix seconds

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "page": 1,
  "repo": "playwright",
  "owner": "microsoft",
  "perPage": 30,
  "includeAnonymous": false
}
```

```json
{
  "items": [
    {
      "id": 1,
      "type": "example",
      "login": "example",
      "htmlUrl": "example",
      "avatarUrl": "example",
      "contributions": 1
    }
  ],
  "fetchedAt": "example",
  "rateLimit": {
    "limit": 5,
    "resetAt": "example",
    "resource": "example",
    "remaining": 1,
    "resetEpoch": 1
  }
}
```

## Frequently asked questions

### How much does the List GitHub Repository Contributors API cost per call?

Each call spends 1 weighted unit of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the List GitHub Repository Contributors API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are List GitHub Repository Contributors API responses cached?

Yes — identical requests are served from cache for 300 seconds, and a cache hit is not billed.

## More Developer Tools APIs

- [List GitHub Repository Issues](https://upapi.io/apis/developer-tools/github-repo-issues)
- [Star or Unstar a GitHub Repository](https://upapi.io/apis/developer-tools/github-repo-star)
- [Get GitHub Repository](https://upapi.io/apis/developer-tools/github-repo)
- [List GitHub Issue Comments](https://upapi.io/apis/developer-tools/github-issue-comments)
- [Search GitHub Discussions](https://upapi.io/apis/developer-tools/github-search-discussions)
- [Search GitHub Issues](https://upapi.io/apis/developer-tools/github-search-issues)
- [Search GitHub Repositories](https://upapi.io/apis/developer-tools/github-search-repos)
- [Search GitHub Users](https://upapi.io/apis/developer-tools/github-search-users)
