A web-based tool that helps users check if their email address has been involved in any data breaches using either the Have I Been Pwned (HIBP) API or the RapidAPI Email Breach API.
- Check if your email was ever leaked.
- Shows detailed breach information including date and type of data exposed.
- Clean and modern user interface using Tailwind CSS.
- Real-time results using either the HIBP API or a RapidAPI Email Breach API.
-
Clone this repository.
-
Install the required dependencies:
pip install -r requirements.txt
-
Choose your API:
- Have I Been Pwned (HIBP) API: Obtain your API key from Have I Been Pwned. Note that while HIBP offers a free tier, extensive use may require a paid subscription.
- RapidAPI Email Breach API: Explore various email breach APIs available on RapidAPI and subscribe to one that suits your needs. Many of these APIs offer free tiers for testing and development, but may require a paid subscription for production use.
-
Create a
.envfile in the project root and add your chosen API key:- For HIBP:
HIBP_API_KEY=your_hibp_api_key_here - For RapidAPI (replace
RAPIDAPI_API_KEYandRAPIDAPI_HOSTwith the actual environment variable names required by your chosen RapidAPI endpoint):RAPIDAPI_API_KEY=your_rapidapi_key_here RAPIDAPI_HOST=your_rapidapi_host_here
Note: This project was developed primarily for testing and development purposes. Please be aware that both the HIBP API and many RapidAPI email breach APIs are not entirely free for extensive or production use.
- For HIBP:
-
Run the application:
python app.py
-
Open your browser and navigate to
http://localhost:5000.
- Python (Flask)
- HTML
- Tailwind CSS
- Alpine.js
- HIBP API (Have I Been Pwned) OR RapidAPI (for Email Breach APIs)
- python-dotenv
Important Note: To use this application, you'll need to obtain an API key from either Have I Been Pwned or a suitable Email Breach API provider on RapidAPI. While free tiers may be available for testing, be mindful of potential costs for sustained usage.