WhiteIntel API Documentation
  • WhiteIntel API
  • Authentication
  • Postman Collections
  • Webhooks
    • WhiteIntel Webhook API
    • Signature Validation
  • WhiteIntel API v2
    • Consumer Leaks API
  • Corporate Leaks API
  • Username Leaks API
  • IP Leaks API
  • Computer Leaks API
  • Get Leaks By ID API
  • Overall Stats API
  • Last Leaks API
  • Whiteintel API v1
    • Combolists API
      • ComboLists Username Leaks API
      • ComboLists Customer Leaks API
      • ComboLists Corporate Email Leaks API
      • Get IDs From Leaks
      • Get Customer Leaks by Id API
      • Get Corporate Leaks by Id API
      • Get Username Leaks by Id API
    • Infostealer API
      • Customer Leaks API
      • Corporate Email Leaks API
      • Username Leaks API
      • Password Leaks API
      • IP Leaks API
      • Hostname Leaks API
      • Get IDs From Leaks
      • Get Multiple Leaks By Ids
      • Get Leak by Id
    • Overall Stats API
    • Last Leaks API
Powered by GitBook
On this page
  • Description
  • Endpoint
  • Required Headers
  • Parameters
  • Sample Request
  • Request URL
  • Example Success Response
  • Example Error Response
  • Code Examples
  1. Whiteintel API v1
  2. Infostealer API

Password Leaks API

Description

The Password Leaks API allows users to check if a specified password was found in breaches. The request must include the query parameter and apikey.

Endpoint

POST /api/get_password_leaks.php

Required Headers

Name
Description

Content-Type

Must be set to application/json

Parameters

Name
Type
Required
Default
Description

query

string

Yes

N/A

Password value you wanted to check to detect if it has been seen in leaks.

apikey

string

Yes

N/A

Your API key.

Sample Request

Request URL

POST /api/get_password_leaks.php

{
    "query": "12345",
    "apikey": "yourapikey"
}

Example Success Response

{"breached":true}

Example Error Response

{"error":"Invalid type."}

Code Examples

Example with Curl

curl -X POST https://whiteintel.io/api/get_password_leaks.php \
     -H "Content-Type: application/json" \
     -d '{
           "apikey": "yourapikey",
           "query": "12345"
         }'

Example with Python


import requests

url = "https://whiteintel.io/api/get_password_leaks.php"
payload = {
    "apikey": "yourapikey",
    "query": "12345"
}
headers = {
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

if response.status_code == 200:
    print("Response:", response.json())
else:
    print("Failed to retrieve customer leaks:", response.status_code, response.text)
PreviousUsername Leaks APINextIP Leaks API

Last updated 5 months ago