Skip to main content
GET
/
api
/
public
Public lookup
curl --request GET \
  --url https://leakcheck.io/api/public
import requests

url = "https://leakcheck.io/api/public"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://leakcheck.io/api/public', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://leakcheck.io/api/public",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://leakcheck.io/api/public"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://leakcheck.io/api/public")
.asString();
require 'uri'
require 'net/http'

url = URI("https://leakcheck.io/api/public")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "success": true,
  "found": 3,
  "fields": [
    "username",
    "first_name",
    "address"
  ],
  "sources": [
    {
      "name": "Evony.com",
      "date": "2016-07"
    },
    {
      "name": "I-Dressup.com",
      "date": "2016-08"
    },
    {
      "name": "Zynga.com",
      "date": "2019-09"
    }
  ]
}
{
"success": true,
"error": "<string>"
}

Query Parameters

check
string
required

An email address, a SHA-256 email hash (optionally truncated to 24 characters), or a username (min. 3 characters). The type is auto-detected.

Minimum string length: 3

Response

Search completed.

success
boolean
required
found
integer
required

Number of breach records that match the query.

fields
string[]

Categories of data exposed across the matching breaches. The values themselves are never returned.

sources
object[]