Query Database
API Reference
Base URL: https://data-leak.narcotech.online/api.php
All responses follow the format: {"success":true,"data":{...}}
Authentication via &key=YOUR_API_KEY parameter.
GET
?action=stats&key=xxx
Retrieve dashboard statistics and system metrics.
action=stats
key
GET
?action=search&q=<query>&type=<type>&page=<n>&limit=<n>&key=xxx
Search the database with filters and pagination. Returns matching records.
action=search
q (string)
type (all|discord_id|email|ip|username)
page (int)
limit (int)
key
GET
?action=lookup&discord_id=<id>&email=<email>&ip=<ip>&key=xxx
Exact match lookup by Discord ID, email, or IP address.
action=lookup
discord_id (optional)
email (optional)
ip (optional)
key
Response Fields
| Field | Type | Description |
|---|---|---|
discord_id | string | Discord user ID |
email | string | Associated email address |
ip | string | Associated IP address |
username | string | Discord username |
premium | string | Premium tier (if any) |
verified | bool | Verification status |
server_ids | string | Comma-separated server IDs |
connections | string | Connected accounts |
bio | string | User biography |
avatar_hash | string | Avatar hash |