API Documentation
Retrieve your data via a simple, plan-limited API key
curl -H "X-API-Key: YOUR_API_KEY" "https://dzloggy.com/api/v1/me"
Responses are JSON. Collection endpoints return data plus pagination links + meta.
curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://dzloggy.com/api/v1/instances/INSTANCE_SID/admin-log-events?per_page=50&page=1&event=PLAYER_SPAWN&player_steam_id=7656...&date_from=2025-12-01T00:00:00Z&date_to=2025-12-26T23:59:59Z"
Use ISO-8601 timestamps for date_from/date_to (UTC recommended).
Authentication
Send your API key using X-API-Key or Authorization: Bearer. API access is enabled for paid plans only.
Sign in to view your API key.
Retention is enforced on all API queries, even if you request older dates.
Filtering & pagination
- page: 1-based page index
- per_page: items per page (capped by your plan)
- order_by: field to order results by (endpoint-specific allowlist)
- order_dir: asc or desc
- event: event type name (example: PLAYER_SPAWN)
- sub_event: sub event type name
- player_steam_id: SteamID64 string
- date_from/date_to: ISO-8601 timestamps (UTC recommended)
Retention limits are enforced server-side; requesting older dates will be clamped to your plan’s window.
Endpoints
All collection endpoints are paginated and accept per_page + page.
curl -H "X-API-Key: YOUR_API_KEY" "https://dzloggy.com/api/v1/instances?per_page=50&page=1&q=chernarus&order_by=name&order_dir=asc"
curl -H "X-API-Key: YOUR_API_KEY" "https://dzloggy.com/api/v1/log-files?processed=1&per_page=50&page=1&order_by=created_at&order_dir=desc"
curl -H "X-API-Key: YOUR_API_KEY" "https://dzloggy.com/api/v1/instances/INSTANCE_SID/players?per_page=50&page=1&q=raven&order_by=name&order_dir=asc"
curl -H "X-API-Key: YOUR_API_KEY" "https://dzloggy.com/api/v1/me"
curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://dzloggy.com/api/v1/log-files/LOG_FILE_SID/admin-log-events?per_page=50&page=1&event=PLAYER_SPAWN&player_steam_id=7656...&date_from=2025-12-01T00:00:00Z&date_to=2025-12-26T23:59:59Z&order_by=event_timestamp&order_dir=desc"
curl -H "X-API-Key: YOUR_API_KEY" "https://dzloggy.com/api/v1/instances/INSTANCE_SID/admin-log-events?per_page=50&page=1&log_file_sid=LOG_FILE_SID&event=PLAYER_SPAWN"
curl -H "X-API-Key: YOUR_API_KEY" "https://dzloggy.com/api/v1/players/7656...?instance_sid=INSTANCE_SID"