REST API for Leaks.ai - monitor credential exposures across your organization's domains. Access leaks, infected endpoints, compromised resources, and exposed users. All list endpoints support pagination and filtering. Authentication via API key.
Leaks.ai API (1.0.0)
Download OpenAPI description
Languages
Servers
Mock server
https://docs.leaks.ai/_mock/openapi
API base path
https://api.leaks.ai/api/v1
Security
ApiKeyAuth
- Mock serverhttps://docs.leaks.ai/_mock/openapi/endpoints
- API base pathhttps://api.leaks.ai/api/v1/endpoints
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.leaks.ai/_mock/openapi/endpoints?domain_id=a1b2c3d4-e5f6-7890-abcd-ef1234567890&page=1&per_page=25&status=new&risk_level=string&sort=-risk_level' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … } ], "pagination": { "page": 1, "per_page": 25, "total_pages": 2, "total_results": 41 } }
- Mock serverhttps://docs.leaks.ai/_mock/openapi/endpoints/count
- API base pathhttps://api.leaks.ai/api/v1/endpoints/count
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.leaks.ai/_mock/openapi/endpoints/count?domain_id=a1b2c3d4-e5f6-7890-abcd-ef1234567890&status=new&risk_level=string' \
-H 'Authorization: YOUR_API_KEY_HERE'- Mock serverhttps://docs.leaks.ai/_mock/openapi/endpoints/{endpoint_id}
- API base pathhttps://api.leaks.ai/api/v1/endpoints/{endpoint_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.leaks.ai/_mock/openapi/endpoints/{endpoint_id}?domain_id=a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": { "id": "d4e5f6a7-b8c9-0123-def0-456789012345", "date": "2025-12-04T14:30:00.000Z", "added_at": "2025-12-05T01:09:22.879Z", "metadata": { … }, "risk_level": 4, "risk_level_name": "medium", "status": "new", "filename": "[US]93.101.28.33.rar", "tree": [ … ], "connections": { … } } }
- Mock serverhttps://docs.leaks.ai/_mock/openapi/endpoints/{endpoint_id}/download
- API base pathhttps://api.leaks.ai/api/v1/endpoints/{endpoint_id}/download
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.leaks.ai/_mock/openapi/endpoints/{endpoint_id}/download' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": { "url": "https://storage.leaks.ai/archives/abc123.zip?token=...", "expires_in": 3600 } }