Get Username Leaks by Id API

Get Leaks by ID API

Description

This API endpoint allows users to retrieve leaks associated to given username.

Endpoint

POST /api/combolists/get_username_leaks_by_id.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 (e.g elon.musk@gmail.com)

apikey

string

Yes

N/A

Your API key.

ids

array

Yes

N/A

Array of ID values to retrieve results.

Maximum length of array is 100 items. This endpoint only available for CTI Firm licenses.

Sample Request

Request URL

POST /api/combolists/get_username_leaks_by_id.php

{
  "apikey":"yourapikey",
 "ids":[25127667, 47201501,290355692], 
 "query":"elon.musk@gmail.com"
    
}

Example Success Response

{"results":[{"id":876971,"url":"","username":"","password":""}],"remaining_calls":470}

Example Error Response

{"error":"Invalid type."}

Code Examples

Example with Curl

curl -X POST https://whiteintel.io/api/combolists/get_username_leaks_by_id.php \
     -H "Content-Type: application/json" \
     -d '{
           "apikey": "yourapikey",
           "query": "elon.musk@gmail.com",
           "ids":[25127667, 47201501,290355692]
           
         }'

Example with Python


import requests

url = "https://whiteintel.io/api/combolists/get_username_leaks_by_id.php"
payload = {
          "apikey": "yourapikey",
           "query": "elon.musk@gmail.com",
           "ids":[25127667, 47201501,290355692]
}
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 username leaks by id:", response.status_code, response.text)

Last updated