SLAYER.3941:

Is there a legal way to fetch the images of the items and “link” them with the item-id given by the API?

Healix.5819:

1. You can pull data from the trading post and create a cache of all the image links. Only items that are eligible to be put on the TP are available though.

2. Grab all the trading post data from gw2spidy which also includes the gw2db id. For all missing items, use the gw2db id to look them up at gw2db. From there, either use their icon or take the icon’s id and rip it directly from gw2.dat.

In both scenarios, you would want to create a cache, mapping item id’s to images.

https://forum-en.guildwars2.com/forum/community/api/Items-icons-and-in-game-code

DarkSpirit.7046:

Or just request for access to the gw2db api:

http://www.guildwars2guru.com/topic/70465-guild-wars-2-database-api-request-thread/

There are some useful info that the gw2db data has that are not exposed in ArenaNet’s api at the moment and vice versa. But we have requested for them in the API suggestion thread. Gw2spidy uses the gw2db data too.

SLAYER.3941:

So it is requested that the API should provide images, too?

(I started writing a parser that parses all the images from items over gw2spidy All-Items-JSON and name them the ID of the item from GW2 official api)

DarkSpirit.7046:

So it is requested that the API should provide images, too?

(I started writing a parser that parses all the images from items over gw2spidy All-Items-JSON and name them the ID of the item from GW2 official api)

Check the official suggestion thread:

https://forum-en.guildwars2.com/forum/community/api/API-Suggestion-Items-Recipes-and-Crafting/first#post2093046

If it is not there, please add it. Thanks.