Item data missing from the API

Forum Avatar
MVP - Diablo Somepage
#1 - March 6, 2013, 2:23 a.m.
Blizzard Post
There are two pieces of item data that are currently listed on the HTML profile pages, but don't appear to be available via the API.

Account Bound: Is there any way to determine if an item is account bound via the API? Specifically for Rare crafted items, there doesn't seem to be a way to determine that.

Crafted Recipes: Additionally, it would be nice to be able to determine via the API if an item is crafted, and specifically which recipe it is crafted from. Right now all the Rare items have the same API data, whether they're a drop or crafted, so there's no way to distinguish crafted Rare items from drops.

This data is all listed for each item in the character profile HTML pages, but doesn't appear to be available via the API... any additions would be much appreciated.
Forum Avatar
Battle.net Developer
#2 - March 6, 2013, 9:15 p.m.
Blizzard Post
Hi Cuer, thanks for the feedback.

1) Good point. We want to get this added to the API to keep it consistent with the website, so we'll look for a good time to add this for everyone.

2) This is something we would like to address as well. We should be able to provide everyone with the information on whether or not the item was crafted and give the recipe(s) that can craft the item. The list of crafting recipes are also available in the /data/artisan/jeweler and /data/artisan/blacksmith resources, which will let you determine which items are craftable. But going through all of the artisan data requires a decent amount of data processing when some of this information could be returned directly in the item request.
Forum Avatar
Battle.net Developer
#4 - March 7, 2013, 1:31 a.m.
Blizzard Post
To clarify what I meant before, each recipe listed in the artisan section contains the Item ID of the crafted item. You should be able to use the ID of the crafted item to pair it up with an item from the Item API.

http://us.battle.net/api/d3/data/artisan/blacksmith


{
slug: "journeyman-arming-cap",
name: "Journeyman Arming Cap",
cost: 759,
reagents: [ ... ],
itemProduced: {
id: "Helm_004",
name: "Journeyman Arming Cap",
icon: "helm_004_demonhunter_male",
displayColor: "yellow",
tooltipParams: "recipe/journeyman-arming-cap"
}
}


From each recipe in the artisan list, you can pair up which items are crafted by which recipes by the Item ID:

http://us.battle.net/api/d3/data/recipe/journeyman-arming-cap
http://us.battle.net/api/d3/data/item/Helm_004