# GitLeak API reference

> GitLeak returns the email addresses found in the commits of a GitHub user, with the committer name and a link to the commit. An investigator uses it to connect a GitHub username to email addresses. The API is one GET endpoint under https://gitleak.io/api/v1. The docs describe no client-side…

Source: https://osinttools.io/apis/gitleak/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/gitleak/

- Base URL: https://gitleak.io/api/v1
- Authentication: No key needed.
- Rate limits: 50 requests per hour; exceeding it returns 429 with a Retry-After header.
- Vendor docs: https://gitleak.io/api-docs

## Overview

GitLeak returns the email addresses found in the commits of a GitHub user, with the committer name and a link to the commit. An investigator uses it to connect a GitHub username to email addresses.

The API is one `GET` endpoint under `https://gitleak.io/api/v1`. The docs describe no client-side authentication; the server uses its own GitHub token.

The docs state a limit of 50 requests per hour. Each request can make several GitHub API calls, so users with many commits may take a few seconds, and a lookup is cut off after 8 seconds.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Username missing or contains invalid characters |
| 401 | The server's GitHub token is not configured |
| 404 | No GitHub user with that username |
| 408 | Lookup exceeded the 8-second limit; retry |
| 422 | User exists but has hidden activity; no commits found |
| 429 | Rate limit exceeded; see Retry-After |
| 500 | Server or upstream GitHub API error |

## General

### Email addresses found in a GitHub user's commits.

`GET /users/{username}`

- Takes: Username
- Footprint: passive (the target is not contacted)

Returns emails with the committer name and commit URL, plus optional metadata. The metadata object is absent when no data could be retrieved.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `username` | path | string | yes | The GitHub username to look up Example: example-user |
| `includeNoreply` | query | boolean | no | Include GitHub's auto-generated noreply addresses Example: false |
| `includeTimezone` | query | boolean | no | Include timezones inferred from commit timestamps in the activity heatmap Example: false |

Response fields:

- `emails[]` (object): Emails found; always present, may be empty
- `emails[].email` (string): The email address
- `emails[].committer` (string): Committer name
- `emails[].commitUrl` (string): Link to the commit
- `metadata.totalCommitsProcessed` (integer): Commits examined
- `metadata.emailsFound` (integer): Emails found
- `metadata.filteredEmails` (integer): Emails filtered out
- `metadata.executionTimeMs` (integer): Time taken
- `metadata.userProfile` (object): Profile data, when available
- `metadata.activityHeatmap` (object): Activity heatmap, when available
- `metadata.gpgKeys` (array): GPG keys, when available
- `metadata.sshKeys` (array): SSH keys, when available

```bash
curl 'https://gitleak.io/api/v1/users/example-user'
```

Example response (200):

```json
{
  "emails": [
    {
      "email": "dev@example.com",
      "committer": "Example Dev",
      "commitUrl": "https://github.com/example-user/example-repo/commit/0000000"
    }
  ],
  "metadata": {
    "totalCommitsProcessed": 120,
    "emailsFound": 1,
    "filteredEmails": 0,
    "executionTimeMs": 1500
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
