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

Get Multiple Leaks By Ids

Description

This API endpoint allows users to retrieve leaks by using the id values of stealer dataset records.

For collecting ID values please check Get IDs From Leaks API endpoint.

Endpoint

POST /api/get_leaks_by_ids.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 leaks (eg: abc.com)

apikey

string

Yes

N/A

Your API key.

leak_type

string

Yes

N/A

Type of leaks: customer or corporate.

ids

array

Yes

N/A

Array of intiger id values

Sample Request

Request URL

POST /api/get_leaks_by_ids.php

{
  "apikey":"yourapikey",
 "leak_type":"customer", 
 "query":"123.com",
 "ids":[123, 42232]
    
}

Example Success Response

{"remaining_daily_api_calls":1992,"leaks":[{"id":1328717,"compromised_host_username":"HOSTUSERNAME","compromised_host_hostname":"HOSTNAME","compromised_host_os":"Windows 10 (10.0.19045) x64","malware_path":"C:\\Users\\\\AppData\\Local\\Temp\\PATH.EXE","country":"IT","log_date":"2024-02-29","credentials":[{"url":"url.com","username":"username","password":"[NOT_SAVED]"}]}]}

Example Error Response

{"error":"Invalid type."}

Code Examples

Example with Curl

curl -X POST https://whiteintel.io/api/get_leaks_by_ids.php \
     -H "Content-Type: application/json" \
     -d '{
     "apikey":"yourapikey",
      "leak_type":"customer", 
      "query":"123.com",
      "ids":[123, 42232]
    
          }'

Example with Python


import requests

url = "https://whiteintel.io/api/get_leaks_by_ids.php"
payload = {
  "apikey":"yourapikey",
 "leak_type":"customer", 
         "query":"123.com",
         "ids":[123, 42232]
}
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 ids:", response.status_code, response.text)
PreviousGet IDs From LeaksNextGet Leak by Id

Last updated 3 months ago