leak_check - Unofficial Elixir client for LeakCheck.io API v2

An Elixir client library for interfacing with LeakCheck.io’s API v2. This library provides a simple and efficient way to search for leaked credentials and data breaches using LeakCheck’s powerful search engine.

Features

  • Simple, intuitive API
  • Support for all LeakCheck.io search types
  • Automatic type detection
  • Built-in rate limiting handling
  • Comprehensive error handling
  • Full response type coverage

Installation

def deps do
  [
    {:leak_check, "~> 0.1.0"}
  ]
end

Usage
elixir

# Basic search with automatic type detection
{:ok, results} = LeakCheck.query("example@example.com", "your_api_key")

# Search with specific type and pagination
{:ok, results} = LeakCheck.query("example.com", "your_api_key",
  type: "domain",
  limit: 100,
  offset: 0
)

Supported Search Types

    auto - Automatic detection for email, username, phone, hash
    email - Email address search
    domain - Domain name search
    keyword - Keyword search
    username - Username search
    phone - Phone number search
    hash - SHA256 email hash search
    And more (see documentation)

Attribution & Disclaimer
This is an unofficial client library. LeakCheck™ and its API are properties of LeakCheck.io - this is a community-maintained client library.
Links
Documentation: https://hexdocs.pm/leak_check 
Package: https://hex.pm/packages/leak_check https://github.com/nix2intel/leak_check
1 Like