D2Emu API Documentation
Table of Contents
Base URL: https://d2emu.com
Authentication
Some API endpoints require authentication. Include these headers with your request:
x-emu-token: <your-token>
x-emu-username: <your-username>
To request API access, join our Discord and contact an admin.
Terror Zones
GET /api/v1/tz Auth Required
Returns current and upcoming Terror Zone information.
Response Fields:| Field | Type | Description |
|---|---|---|
current | array | Current terror zone area IDs |
next | array | Next terror zone area IDs (hidden until available) |
current_immunities | array | Monster immunities in current TZ |
next_immunities | array | Monster immunities in next TZ |
current_superuniques | array | Super unique monsters in current TZ |
next_superuniques | array | Super unique monsters in next TZ |
current_num_boss_packs | array | Boss pack counts per area |
next_num_boss_packs | array | Boss pack counts per area (next) |
next_terror_time_utc | int | Unix timestamp when next TZ activates |
next_available_time_utc | int | Unix timestamp when next TZ info becomes available |
delay | int | Seconds until next TZ rotation |
Note: The
Example Response:
next fields are hidden until next_available_time_utc for non-privileged accounts.
{
"current": [108, 109],
"next": [83],
"current_immunities": ["lightning", "cold"],
"next_immunities": ["fire"],
"current_superuniques": ["Pindleskin"],
"next_superuniques": [],
"current_num_boss_packs": [12, 8],
"next_num_boss_packs": [15],
"next_terror_time_utc": 1699999999,
"next_available_time_utc": 1699998000,
"delay": 2400
}
GET /api/v1/tz/history Auth Required
Returns the last 200 Terror Zone rotations.
Example Response:
[
{
"current": [108, 109],
"current_immunities": ["lightning"],
"next_terror_time_utc": 1699999999
},
...
]
Diablo Clone
GET /api/v1/dclone Auth Required
Returns current Diablo Clone progress across all regions and platforms.
Example Response:{
"us": {"ladder": {"sc": 3, "hc": 1}, "nonladder": {"sc": 2, "hc": 1}},
"eu": {"ladder": {"sc": 5, "hc": 2}, "nonladder": {"sc": 1, "hc": 1}},
"asia": {"ladder": {"sc": 2, "hc": 1}, "nonladder": {"sc": 1, "hc": 1}}
}
Error Handling
All endpoints return errors in this format:
{"status": "ERROR", "message": "Description of error"}
Questions? Join our Discord