Overview
Export leaked credentials data with the same filtering capabilities as the main leaks endpoint. Supports both JSON and CSV formats for easy integration with external tools and reporting systems.Export Formats
JSON Format
Returns structured data identical to the GET/v1/leaks endpoint response.
CSV Format
Returns comma-separated values with headers, perfect for spreadsheet applications and data analysis tools.Request Body
The export endpoint accepts the same filtering parameters as the GET/v1/leaks endpoint in the request body:
Response Examples
JSON Export Response
CSV Export Response
Usage Examples
Export all leaks as JSON
Export employee leaks as CSV
Export with date filtering
Best Practices
Large Datasets
- Use pagination (
limitandpage_number) for large exports - Consider filtering by date ranges to reduce response size
- CSV format is more efficient for large datasets
Security Considerations
- Exported data may contain sensitive information
- Ensure secure handling and storage of exported files
- Password unmasking follows the same ACL rules as the main leaks endpoint
Performance Tips
- Use specific filters to reduce export size
- CSV exports are generally faster for large datasets
- Consider using
group_byfor summary reports instead of full exports
Authorizations
Headers
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Query Parameters
Export format (json or csv)
json, csv Body
Filter by specific leak type (single value only)
all, personal, employee, customer, external_vendor_leaks, organization_leaks Filter leaks by specific domain (applies to employee/customer leaks)
Filter leaks by specific email (can be personal, employee, or customer email from user's authorized results)
Search query to filter results across all fields
Number of results per page for pagination
Page number for pagination (starts from 1)
time filter start date
all_time, current_month, last_month, last_3_months, last_6_months, last_12_months time filter end date
supported sort fields
url, username, log_date, country, device_ip, host_username, hostname, os, hardware_id, malware_path supported sort order (asc or desc)
asc, desc supported status (fixed or open)
fixed, open Group results by field - returns group summaries when used without field-specific filtering
url, country, device_ip, hostname, email, hardware_id Filter by specific URL (used with group_by for drill-down)
Filter by specific country (used with group_by for drill-down)
Filter by specific device IP (used with group_by for drill-down)
Filter by specific hostname (used with group_by for drill-down)
Filter by specific hardware ID (used with group_by for drill-down)