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
  • Endpoint
  • Required Headers
  • Parameters
  • Sample Request
  • Request URL
  • Example Success Response
  • Example Error Response
  • Code Examples
  1. Whiteintel API v1
  2. Infostealer API

Get Leak by Id

Get Leak by Id api allows you retrieve every credential information and system information attached to a leak.

Get Leak by Id is only available for CTI Firm licenses.

Endpoint

POST /api/get_leak_by_id.php

Required Headers

Name
Description

Content-Type

Must be set to application/json

Parameters

Name
Type
Required
Default
Description

apikey

string

Yes

N/A

Your API key.

leak_id

int

Yes

N/A

Leak Id.

If no date is specified, API will return all of the results related to given Hostname.

Sample Request

Request URL

POST /api/get_leaks_by_hostname.php

{
    "leak_id": "ID of the leak",
    "apikey": "yourapikey"
}

Example Success Response

{"remaining_daily_api_calls":495,"system_info":{}, "credentials":[{}]}

Example Error Response

{"error":"Missing search parameter."}

Code Examples

Example with Curl

curl -X POST https://whiteintel.io/api/get_leak_by_id.php \
     -H "Content-Type: application/json" \
     -d '{
           "apikey": "yourapikey",
           "leak_id": "LEAK ID"
         }'

Example with Python


import requests

url = "https://whiteintel.io/api/get_leak_by_id.php"
payload = {
    "apikey": "yourapikey",
    "leak_id": "LEAK ID"
}
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 leak:", response.status_code, response.text)
PreviousGet Multiple Leaks By IdsNextOverall Stats API

Last updated 3 months ago