D2Emu API Documentation

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:
FieldTypeDescription
currentarrayCurrent terror zone area IDs
nextarrayNext terror zone area IDs (hidden until available)
current_immunitiesarrayMonster immunities in current TZ
next_immunitiesarrayMonster immunities in next TZ
current_superuniquesarraySuper unique monsters in current TZ
next_superuniquesarraySuper unique monsters in next TZ
current_num_boss_packsarrayBoss pack counts per area
next_num_boss_packsarrayBoss pack counts per area (next)
next_terror_time_utcintUnix timestamp when next TZ activates
next_available_time_utcintUnix timestamp when next TZ info becomes available
delayintSeconds until next TZ rotation
Note: The next fields are hidden until next_available_time_utc for non-privileged accounts.
Example Response:
                {
                  "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