Skip to main content
GET
/
v1
/
leaks
/
domain
Get employee/corporate leaks for verified domains (DEPRECATED)
curl --request GET \
  --url https://api.projectdiscovery.io/v1/leaks/domain \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "url": "<string>",
      "username": "<string>",
      "password": "<string>",
      "device_ip": "<string>",
      "host_username": "<string>",
      "os": "<string>",
      "malware_path": "<string>",
      "country": "<string>",
      "log_date": "<string>",
      "hardware_id": "<string>",
      "hostname": "<string>",
      "status": "fixed",
      "domain": "<string>",
      "email_domain": "<string>"
    }
  ],
  "total_leaks": 123,
  "filtered": true,
  "search_query": "<string>",
  "total_pages": 123,
  "current_page": 123
}
DEPRECATED: This endpoint is deprecated in favor of the consolidated /v1/leaks endpoint.Use GET /v1/leaks?type=employee instead for the same functionality with enhanced features.

Migration Guide

This endpoint has been replaced by the new consolidated leaks API. Here’s how to migrate:

Old Way (Deprecated)

GET /v1/leaks/domain?search=example&limit=20
GET /v1/leaks?type=employee&search=example&limit=20

Why Migrate?

The new consolidated endpoint offers several advantages:
  • Unified API: Access all leak types (personal, employee, customer) from one endpoint
  • Enhanced Classification: Distinguishes between organization leaks and external vendor leaks
  • Better Filtering: More advanced filtering and grouping options
  • Improved Performance: Optimized for better response times
  • Future-Proof: All new features will be added to the consolidated endpoint

See Also

Authorizations

X-API-Key
string
header
required

Query Parameters

Search query to filter results across all fields

limit
number

Number of results per page for pagination

page_number
number

Page number for pagination (starts from 1)

start_date
string<date>

time filter start date

time_range
enum<string>
default:all_time
Available options:
all_time,
current_month,
last_month,
last_3_months,
last_6_months,
last_12_months
end_date
string<date>

time filter end date

sort_by
enum<string>

supported sort fields

Available options:
url,
username,
log_date,
country,
device_ip,
host_username,
hostname,
os,
hardware_id,
malware_path
sort_order
enum<string>

supported sort order (asc or desc)

Available options:
asc,
desc
status
enum<string>

supported status (fixed or open)

Available options:
fixed,
open

Response

OK

data
LeaksEntity · object[]
total_leaks
number
filtered
boolean
search_query
string
total_pages
number
current_page
number