Veleritas.2647:

Would it be possible to have the prices for items sold by NPC vendors to be included in the API?

For example, the Spool of Cotton Thread item (item #19794), sold by the Master Tailor, costs 240 coins. However, the information about this cost is not included anywhere in the item JSON obtainable via the /v2/items/19794 API endpoint.

Is this information available anywhere, and if not, would it be possible to have it added to the API?

Thanks!

darthmaim.6017:

Different vendors can sell an item at different prices, and some of those vendors are not player accessible, so its difficult to include this in the item endpoint. There were a few requests for a list of all vendors, here is the github issue for it: https://github.com/arenanet/api-cdi/issues/235

And Lawtons latest comment:

I’ve actually wobbled a bit on my “IT’S IMPOSSIBLE” opinion and think there might be a way to expose vendor data but it’s still kind of a mess.

Mystic.5934:

I know it’s not quite the same, but I’ve built a lot of my own recipes, some are items purchased from vendors:
http://www.gw2profits.com/json
direct link for vendor items:
http://gw2profits.com/json/v3?disciplines=Merchant
I should point out: a lot of the ‘ingredients’ (cost to buy merchant’s items) are negative numbers. those correspond with their currency ID from the currency API (-1 = coin, -2 = karma, -3 = laurel, etc.)
I didn’t do every merchant, only permanent ones, or items that are required for another recipe. If there are any you know of that I missed, let me know (it’s on my things to do to add the ones in bloodstone fen)