Loot

Static loot-table and spawner definitions. Patch-aware (see Patches).

Endpoints

GET /v2/loot-tables                                list, filter by type
GET /v2/loot-tables/{id}                           single table + entries (weights + computed probabilities)
GET /v2/spawners                                   spawn points (loot or monster) by map/type
GET /v2/spawners/{id}                              single spawner

Loot tables

Query parameters:

NameModeDescription
idexactid.loot_table.<slug> or raw LT_<Name>
namesubstringmatches the display name
typeexactmonster, chest, merchant, ...
patchid|version|currentreplay against a different patch
page, limitpaginationdefault 25, max 250

Get

curl 'https://api.darkerdb.com/v2/loot-tables/id.loot_table.flameboar'

{
   "body": {
      "loot_table": {
         "id":          "id.loot_table.flameboar",
         "type":        "monster",
         "name":        "Flame Boar drops",
         "captured_at": "2026-05-16T01:03:43+00:00",
         "patch_id":    9
      },
      "entries": [
         {
            "loot_table_id": "id.loot_table.flameboar",
            "item_id":       "id.item.hide_boarflame",
            "weight":        3,
            "probability":   1.0,
            "min_quantity":  1,
            "max_quantity":  2,
            "tier":          "uncommon",
            "conditions":    null
         }
      ]
   }
}

probability is weight / sum(all weights in table). Quantity ranges and tier conditions reflect the static game definition; the actual on-server roll may include additional rolls (item rarity, attribute variance) handled by the game server.

Spawners

Query parameters:

NameModeDescription
idexactid.spawner.<slug>
map_idexactid.map.<slug>
spawner_typeexactloot, monster, ...
loot_table_idexactid.loot_table.<slug>
monster_idexactid.monster.<slug>
patchid|version|currentreplay against a different patch
page, limitpaginationdefault 25, max 250

Example

curl 'https://api.darkerdb.com/v2/spawners?map_id=id.map.cr'

Each spawner row carries its location (JSON {x,y,z,rotation}), spawner_type, and either a loot_table_id or monster_id link depending on type.