# Get GitHub User Commit Emails API

> Collect the public commit-author emails a GitHub user has pushed with, from their most recently updated repositories (noreply addresses dropped). One listing call plus one per repository scanned. 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-user-emails.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 3 weighted units per call.
- Timeout: 45 seconds.
- Cache: identical requests are served from cache for 600 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/github-user-emails.get

```bash
curl -X POST https://api.upapi.io/github-user-emails.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "token": "example", "maxRepos": 3, "username": "torvalds" }'
```

## Request parameters

- `token` (string, required) — GitHub token. REQUIRED here, unlike the single-call reads: this operation fans out to 1 + maxRepos requests, so an anonymous call spends up to 11 of the 60 requests an hour that every keyless caller through this worker shares. With a token the budget is the caller's own 5,000/h.
- `maxRepos` (integer) — How many of the user's most recently pushed repositories to scan
- `proxyUrl` (string) — Optional exit to send from (direct otherwise)
- `username` (string, required) — GitHub login

## Response fields

- `emails` (array, required)
- `emails[].sha` (string, required)
- `emails[].name` (string, required)
- `emails[].email` (string, required)
- `emails[].repository` (string, required) — owner/repo the commit was read from
- `emails[].committedAt` (string, required)
- `username` (string, 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
- `reposScanned` (array, required)

## 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
{
  "token": "example",
  "maxRepos": 3,
  "username": "torvalds"
}
```

```json
{
  "emails": [
    {
      "sha": "example",
      "name": "example",
      "email": "test@example.com",
      "repository": "example",
      "committedAt": "example"
    }
  ],
  "username": "torvalds",
  "fetchedAt": "example",
  "rateLimit": {
    "limit": 5,
    "resetAt": "example",
    "resource": "example",
    "remaining": 1,
    "resetEpoch": 1
  },
  "reposScanned": [
    "example"
  ]
}
```

## Frequently asked questions

### How much does the Get GitHub User Commit Emails API cost per call?

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

### How do I authenticate to the Get GitHub User Commit Emails API?

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

### Are Get GitHub User Commit Emails API responses cached?

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

## More Developer Tools APIs

- [Get GitHub User](https://upapi.io/apis/developer-tools/github-user)
- [List GitHub Issue Comments](https://upapi.io/apis/developer-tools/github-issue-comments)
- [List GitHub Repository Contributors](https://upapi.io/apis/developer-tools/github-repo-contributors)
- [List GitHub Repository Issues](https://upapi.io/apis/developer-tools/github-repo-issues)
- [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)
