Skip to content
OSINTtools.io

GitLeak API

Web lookup that lists the email addresses found in a GitHub user's commits, with a simple public REST API.

Base URL
https://gitleak.io/api/v1
Sign-in
No key
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from gitleak.io · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. No key needed

    The GitLeak API answers without an account or key.

  2. Make your first request

    Email addresses found in a GitHub user's commits.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://gitleak.io/api/v1/users/example-user'
  3. Read the response

    A 200 response looks like this.

    {
      "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
      }
    }

Authentication

No key or account: every endpoint answers without one.

Rate limits and pricing

50 requests per hour; exceeding it returns 429 with a Retry-After header.

Errors

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

General

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

Path parameters

usernamestringrequiredtakes your username

The GitHub username to look up

Example: example-user

Query parameters

includeNoreplyboolean

Include GitHub's auto-generated noreply addresses

Example: falseDefault: false
includeTimezoneboolean

Include timezones inferred from commit timestamps in the activity heatmap

Example: falseDefault: false
Response fields · 12Show

emails[]object

Emails found; always present, may be empty

emailstring

The email address

committerstring

Committer name

commitUrlstring

Link to the commit

totalCommitsProcessedinteger

Commits examined

emailsFoundinteger

Emails found

filteredEmailsinteger

Emails filtered out

executionTimeMsinteger

Time taken

userProfileobject

Profile data, when available

activityHeatmapobject

Activity heatmap, when available

gpgKeysarray

GPG keys, when available

sshKeysarray

SSH keys, when available

curl 'https://gitleak.io/api/v1/users/example-user'
No key needed
Response
{
  "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
  }
}