ItemLink

Item hyperlinks are used to encode information for item tooltips and to pass item information between clients.

Format
item : itemID : enchantID : gemID1 : gemID2 : gemID3 : gemID4 : suffixID : uniqueID : linkLevel : specializationID : modifiersMask : itemContext : numBonusIDs [:bonusID1:bonusID2:...] : numModifiers [:modifierType1:modifierValue1:...] : relic1NumBonusIDs [:relicBonusID1:relicBonusID2:...] : relic2NumBonusIDs [...] : <font color="#ecbc2a">relic3NumBonusIDs [...] : <font color="#ecbc2a">crafterGUID : <font color="#ecbc2a">extraEnchantID


 * itemID : Item ID used for e.g.
 * enchantID # : Permanent Enchants.
 * gemID1, gemID2, gemID3, gemID4 # : Item IDs of socketed Gems.  is unused.
 * suffixID # : Random Item suffix e.g. "of the Owl".
 * uniqueID # : Data pertaining to a specific instance of the item.
 * linkLevel : Level of the character supplying the link. This is used to render scaling heirloom item tooltips at the proper level.
 * specializationID : Class SpecializationID of the character supplying the link. This is used to display the appropriate primary stat and set bonuses on gear.
 * modifiersMask : Seems to be no longer used.
 * itemContext # : Context for the item source (EnumeratedString).
 * numModifiers # : The number of item modifiers.
 * <font color="#4ec9b0">modifierType1, modifierValue1, ... : Key/Value pairs for item modifiers.


 * numBonusIDs # : The number of bonusIDs.
 * <font color="#4ec9b0">bonusID1, bonusID2, ... : Data describing how the item differs from a generic instance of its base Item ID.


 * relic1NumBonusIDs, ... # : The number of bonusIDs for the socketed artifact relic.
 * <font color="#4ec9b0">relic1BonusID1, relic1BonusID2, ... : Data describing how the socketed artifact relic differs from a generic instance of its base Item ID.


 * crafterGUID # : Unit GUID of the player who crafted the equipment item. Added in Patch 9.1.0
 * extraEnchantID # : For example engineering tinkers. Added in Patch 9.1.0

Enchant IDs
See list of EnchantIds and SpellItemEnchantment.db2 Example: Item enchanted with Minor Stamina (bracers enchant). "|cff0070dd|Hitem:80921: 4721 :::::::36:103::1::::::|h[Saboteur's Stabilizing Bracers]|h|r"
 * ItemLinks can be altered to have any enchantID and still be valid for use in and tooltips.
 * Temporary enchants like Windfury Weapon and Rough Sharpening Stone do not appear in the ItemLink, even though they are listed in

Gem IDs
Gems are listed by itemID for each socket.

Example: Helm of Elemental Binding socketed with Perfect Brilliant Bloodstone for only the 2nd gem slot. "|cff0070dd|Hitem:87451:: :41438:: :::53:257:::1:6658:2:9:35:28:1035::::|h[Helm of Elemental Binding]|h|r" 4: 41438 -- gemID2

Suffix IDs
Item suffixes are given to items that get randomized stat ratings e.g. "of the Bear" and refer to (multiple) enchantIDs.
 * Positive IDs (obtained pre-2.0) are listed in SuffixId and ItemRandomProperties.db2
 * Negative IDs (obtained post-2.0) are listed in ItemRandomSuffix and ItemRandomSuffix.db2.

Example: Suffix with a positive ID from Burning Crusade Classic, obtained during Classic. "|cff1eff00|Hitem:9849:::::: 776 :661453184:33::::::::|h[Conjurer's Hood of the Owl]|h|r"

Example: Suffix with a negative ID from Burning Crusade Classic. "|cff1eff00|Hitem:6267:::::: -9 :1379794946:33::::::::|h[Disciple's Pants of the Owl]|h|r"

Unique IDs
UniqueId contains information on the maker of a crafted item, number of charges or uses if applicable, or other information exclusive to one particular manifestation of an item. Items received from quests frequently have a UniqueId value, and occasionally dropped items have one as well. The numbers don't appear to hold any information in and of themselves, and are not consistent in any way across servers like EnchantIds and SecondaryIds. The value appears to be a link to a database entry on the server or client that contains the unique information such as who made an item, which quest it came from, when the quest was delivered, who sold the item on the Auction House, etc. GMs would then be able to track an item should a petition about one be made. UniqueID can have negative values (see Scaled Random Suffixes below).

Addendum: In-game testing indicates that the UniqueId can change from the first loot to successive loots on the same item. To observe this behavior, Master Looter method was used, an item meeting the loot threshold found, and then the loot window closed without giving the item to a raid member. On re-opening the corpse, the value had changed. For example, on the first loot of Shimmering Trousers of the Eagle, the UniqueId value was 0x00009182. On successive loot attempts it was 0x40679182. Note that the low order bytes were maintained. In at least a few observations, negative UniqueId values did not change in successive looting attempts.

UniqueIds can be repeated (and thus are not truly "unique"). This has been observed when disenchanting items, where the UniqueId was the same for every Maelstrom Crystal "created" by the same player sharding raid loot. Another observed example is a less common occurrence: looting the Elementium Gem Cluster for the rogue legendary daggers quest; the UniqueId field was the same (-534608128) for every gem cluster from every boss across multiple months of raid instance IDs. (It's not known whether the value would be the same for all rogues on that quest, or whether it was a value specific to this rogue on this quest.)

On negative UniqueID's: A negative UniqueID is not special in any way. It seems that (sometimes!) the high 16 bits are simply "random", i.e. 0x0000-0xffff. If this value is >0x8000, it will translate to a negative decimal value (signed 32-bit).

Bonus IDs
BonusIDs can adjust item levels, modify stats, change item quality, add item titles, append words to item names, add sockets, adjust appearance, adjust required equip level, and possibly many more. They can be looked up in ItemBonus.db2.ParentItemBonusListID

Example: Timewarped Warforged Gauntlets of Vindication. If say you want to find all possible Warforged Bonus IDs, look up the ItemNameDescription IDs for "warforged" and filter for IDs 11428|13220.

"|cff0070dd|Hitem:127232::::::::50:72::22: 2:615:656 :1:9:40::::|h[Gauntlets of Vindication]|h|r" 13: 2  -- numBonusIDs 14: 615 -- bonusID1: Timewarped 15: 656 -- bonusID2: Warforged

Example: Item level 140 Heart of Azeroth. "|cffe6cc80|Hitem:158075::::::::53:257::11: 4:4932:4933:6316:1554 :::::|h[Heart of Azeroth]|h|r" 13: 4   -- numBonusIDs 14: 4932 -- bonusID1: No Bonus 15: 4933 -- bonusID2: No Bonus 16: 6316 -- bonusID3: Increase iLevel 17: 1554 -- bonusID4: Increase iLevel <!--

Upgrade Type IDs and Values
These can be used to make various item level scaling adjustments to gear and allow those changes to display to other players.

NOTE: Upgrade IDs were changed in patch 6.2 to expand their use. The existing IDs were moved to the end of the bonus ID's and a new type ID number took their place earlier in the string.

Examples:

Legendary Healer Cloak Example: 2/4 Upgrades - |cffff8000|Hitem:102247::::::::100:105:4:::493|h[Jina-Kang, Kindness of Chi-Ji]|h|r 4/4 Upgrades - |cffff8000|Hitem:102247::::::::100:105:4:::505|h[Jina-Kang, Kindness of Chi-Ji]|h|r Level 100 BC Timewarped Weapon: |cff0070dd|Hitem:123999::::::::100:105:512:22:1:615:100|h[Lightsworn Hammer]|h|r Level 100 WotLK Timewarped Weapon: |cff0070dd|Hitem:127491::::::::100:105:512:22:1:615:100|h[Staff of Wayward Principles]|h|r
 * Type 4: MoP Item Level Upgrading - the upgradeValue is a traditional 'upgradeID', which specifies the ilvl adjustments already made and/or remaining.
 * Type 512: Timewarped Item Level Adjustments - the upgradeValue will be the level of the character when the gear was acquired. This allows other players to view the gear at the appropriate level rather than their current level. This upgrade type is used in conjunction with bonus ID 615.
 * Mythic Keystones:
 * Type 4587520: 0 Affixes
 * UpgradeValues - KeystoneDungeon:KeystoneLevel[:LootEligible]
 * Type 5111808: 1 Affix
 * UpgradeValues - KeystoneDungeon:KeystoneLevel:AffixID1[:LootEligible]
 * Type 6160384: 2 Affixes
 * UpgradeValues - KeystoneDungeon:KeystoneLevel:AffixID1:AffixID2[:LootEligible]
 * Type 4063232: 3 Affixes
 * UpgradeValues - KeystoneDungeon:KeystoneLevel:AffixID1:AffixID2:AffixID3[:LootEligible]
 * Value 1: KeystoneDungeon - The ID of the dungeon the keystone can modify


 * Value 2: KeystoneLevel - The mythic level of the keystone dungeon
 * Value 3+: AffixID's - ID #'s representing the affixes applied to the dungeon enemies/bosses. Affix value segments are omitted if there are no affixes.


 * Last Value: LootEligible - Flag representing if the loot can be obtained from the dungeon. 1 if loot eligible or segment omitted if keystone is depleted.

Example Keystone Strings: 0 Affixes, Eye of Azshara, Lvl 3, Non-Depleted |cffa335ee|Hitem:138019::::::::110:105:4587520:::1456:3:1:::|h[Mythic Keystone]|h|r 1 Affix, Black Rook Hold, Lvl 4, Bolstering Affix, Non-Depleted |cffa335ee|Hitem:138019::::::::110:62:5111808:::1501:4:7:1:::|h[Mythic Keystone]|h|r 2 Affixes, The Arcway, Lvl 7, Raging Affix, Necrotic Affix, Non-Depleted |cffa335ee|Hitem:138019::::::::110:105:6160384:::1516:7:6:4:1:::|h[Mythic Keystone]|h|r 3 Affixes, Maw of Souls, Lvl 10, Bolstering Affix, Overflowing Affix, Tyrannical Affix, Depleted |cffa335ee|Hitem:138019::::::::110:105:4063232:::1492:10:7:1:9:::|h[Mythic Keystone]|h|r -->

Item Context
Contains information about the Item Source. For example the starter gear: "|cffffffff|Hitem:51::::::::1:1452:: 75 :::::|h[Neophyte's Boots]|h|r" 12: 75 -- New Character

Modifier Types
Item modifiers contain extra item information in key-value pairs.

Example: Missing Diplomat's Pauldrons from Heroic Deadmines. "|cff0070dd|Hitem:63470::::::::53:257::2:1:4198: 2:28:1199:9:35 ::::|h[Missing Diplomat's Pauldrons]|h|r" 15: 2   -- numModifiers 16: 28  -- modifierType1: CONTENT_TUNING_ID 17: 1199 -- modifierValue1 18: 9   -- modifierType2: TIMEWALKER_LEVEL 19: 35  -- modifierValue2

Example: Mythic Keystone when seen in CHAT_MSG_LOOT. See also keystoneLink. "|cffa335ee|Hitem:180653::::::::60:250:::: 6:17:381:18:13:19:9:20:7:21:124:22:121 ::::|h[Mythic Keystone]|h|r" 14: 6  -- numModifiers 15: 17 -- modifierType1: CHALLENGE_MAP_CHALLENGE_MODE_ID 16: 381 -- modifierValue1: Spires of Ascension 17: 18 -- modifierType2: CHALLENGE_KEYSTONE_LEVEL 18: 13 -- modifierValue2 19: 19 -- modifierType3: CHALLENGE_KEYSTONE_AFFIX_ID_1 20: 9  -- modifierValue3: Tyrannical 21: 20 -- modifierType4: CHALLENGE_KEYSTONE_AFFIX_ID_2 22: 7  -- modifierValue4: Bolstering 23: 21 -- modifierType5: CHALLENGE_KEYSTONE_AFFIX_ID_3 24: 124 -- modifierValue5: Storming 25: 22 -- modifierType6: CHALLENGE_KEYSTONE_AFFIX_ID_4 26: 121 -- modifierValue6: Prideful

Relic Bonus IDs
Example: T'uure, Beacon of the Naaru with Artifact Relics as Gems.

Crafter GUID
Unit GUID of the player who crafted the item. For example a Lesser Magic Wand. "|cff1eff00|Hitem:11287::::::::36:103::::1:28:1418:::: Player-3299-0050F7FB :|h[Lesser Magic Wand]|h|r"

Extra Enchant IDs
For example an item with the Nitro Boosts engineering tinker. "|cff1eff00|Hitem:173341::::::::53:257::11:1:6707:2:9:51:28:1318::::: 4223 |h[Cord of Uncertain Devotion]|h|r"

Other details

 * Any Transmogrification info is not supplied to item links.
 * Item links obtained from the Void Storage will give a generic link which only contain the ,   and   since all modifications will have been removed.

Examples

 * The first number is the ItemID for a Hearthstone. The next 7 values are empty, which tells the client it has no enchants, gems, extra stats, and wasn't made by anyone. The 9th number means that the link originated from a level 80 character and the 10th number, 105, (SpecializationID) specifies the character to be a restoration druid.
 * The first number is the ItemID for a Hearthstone. The next 7 values are empty, which tells the client it has no enchants, gems, extra stats, and wasn't made by anyone. The 9th number means that the link originated from a level 80 character and the 10th number, 105, (SpecializationID) specifies the character to be a restoration druid.


 * The first number is the ItemID for Brutality Blade. The second number (EnchantId) in this case denotes that it is enchanted with +15 agility.
 * The first number is the ItemID for Brutality Blade. The second number (EnchantId) in this case denotes that it is enchanted with +15 agility.


 * The first number is the ItemID for Heavy Lamellar Gauntlets. The seventh number (SuffixId) adds to this item's name " of the Monkey" and adds +11 Agility and +11 Stamina.
 * The first number is the ItemID for Heavy Lamellar Gauntlets. The seventh number (SuffixId) adds to this item's name " of the Monkey" and adds +11 Agility and +11 Stamina.


 * The first number is the ItemID for Discombobulator Ray. The eighth number adds the information that this particular item only has 4 uses left and was made by Kirov.
 * The first number is the ItemID for Discombobulator Ray. The eighth number adds the information that this particular item only has 4 uses left and was made by Kirov.

Inspecting links
You can inspect a hyperlink from the in-game chat window. /dump " [Red Winter Hat] " > "|cff1eff00|Hitem:21524::::::::53:257::::::::|h[Red Winter Hat]|h|r"

From an addon, when clicking a hyperlink in-game.