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
  • Code Examples
  1. Whiteintel API v1

Last Leaks API

Description

The Last Leaks API enables users to check the most recent credential leaks. Please note that 'latest' refers to the date the leaks were added to the system, not the original breach date.

Endpoint

POST /api/get_last_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

The query to search for a domain (example.com)

apikey

string

Yes

N/A

Your API key.

include_system_info

integer

No

0

Include system information of compromised devices (0 or 1)

num_days

integer

No

1

Return entries added within the last specified number of days (up to a maximum of 30 days).

leak_type

string

No

customers

Return customer leaks or corporate_email leaks. (customers or corporate_emails)

limit

int

No

N/A

Limits the results to given number

data_type

string

No

stealer

Data type. "stealer" or "combolist"

Code Examples

Example with Curl

curl -X POST https://whiteintel.io/api/get_last_leaks.php \
     -H "Content-Type: application/json" \
     -d '{
           "apikey": "yourapikey",
           "query": "example.com",
           "leak_type":"customers",
           "data_type":"stealer",
           "include_system_info": 0,
           "num_days": 5
         }'

Example with Python

import requests

url = "https://whiteintel.io/api/get_last_leaks.php"
payload = {
    "apikey": "yourapikey",
    "query":"example.com",
    "leak_type":"customers",
    "data_type":"stealer",
    "include_system_info": 0,
    "num_days": 5
}
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 data updates", response.status_code, response.text)
PreviousOverall Stats API

Last updated 1 month ago