LeakJar API Documentation

Overview

The LeakJar API allows you to request and retrieve leaked data associated with domains you are subscribed to. Use this API to access leaked accounts or customer information securely and efficiently.

Base URL

https://leakjar.com/api

Authentication

All API requests require an API key. You can generate your API key from your account dashboard after subscribing to a plan.

Endpoint: Search Accounts

Retrieve leaked results for domains you are subscribed to.

HTTP Request

GET https://leakjar.com/api/search/{API_KEY}/{DOMAIN}/{FINDINGS_TYPE}/{START_DATE}/{END_DATE}
  • API_KEY: Your unique API key.
  • DOMAIN: The domain you are subscribed to (e.g., google.com).
  • FINDINGS_TYPE: The type of data you are requesting. Acceptable
    • accounts or a
    • customers or c
  • START_DATE: Start date (format: YYYYMMDD). Can be omitted and will lookup all dates when omitted.
  • END_DATE: End date (format: YYYYMMDD). Can be omitted and will lookup all dates when omitted.

Sample Request

GET https://leakjar.com/api/search/api_fb132ee23e3b40d6b2cc57aaaaaaaaa/google.com/accounts
GET https://leakjar.com/api/search/api_fb132ee23e3b40d6b2cc57aaaaaaaaa/google.com/accounts/20240101/20241212

Query Parameters

None

Headers

  • Content-Type: application/json

Response

The response is a JSON object containing the count of leaked records and an array of the results.

Response Parameters

  • count (integer): Total number of leaked records found.
  • results (array): An array of leaked record objects.

Each leaked record object contains:

  • date (string): The date and time when the data was leaked (ISO 8601 format).
  • browser (string): The browser from which the data was obtained.
  • status (string): The status of the record (show or hide).
  • url (string): The URL associated with the leaked data.
  • ip (string): The IP address from which the data was accessed.
  • country (string): The country code of the IP address.
  • username (string): The leaked username or email.
  • password (string): The leaked password.

Sample Response

{
  "count": 141,
    "results": [
    {
    "date": "2024-09-20T08:11:00.000Z",
    "browser": "Google Chrome",
    "status": "show",
    "url": "https://vdi.sampleurl.com/portal/webclient/",
    "ip": "68.0.2.248",
    "country": "US",
    "username": "sampleuser@sampleurl.com",
    "password": "Samplepassword000"
    }
    // Additional records...
  ]
}
Note: The results array may contain multiple leaked record objects.

Error Handling

The API uses standard HTTP status codes to indicate success or failure.

  • 200 OK: The request was successful.
  • 400 Bad Request: The request was invalid or cannot be processed.
  • 401 Unauthorized: Authentication failed due to an invalid API key.
  • 403 Forbidden: You do not have permission to access this resource.
  • 403 Forbidden: Unauthorized IP address.
  • 404 Not Found: The requested resource does not exist.
  • 500 Internal Server Error: An error occurred on the server.

Sample Error Response

{
  "error": "Invalid API key."
}

Terms of Use

By using this API, you agree to abide by the LeakJar Terms of Service and ensure that all data retrieved is handled securely and in compliance with applicable laws and regulations.

Support

For assistance, please contact our support team