Last I looked into getting market prices from citadels, this was only possible from public / freeport markets. To do this, you would need to get the list of public structures, then go through each one and query the market prices to see if it returned anything because there was no parameter to see if the structure had a market service installed, which I found really inefficient.
The second issue is that if the structure had one person on no-dock, then the structure wouldn’t be public.
The third issue is that if the market was limited to your alliance, say Goonswarm only, I couldn’t download from that hub unless the user had the structure ID (very unlikely) and if the corporation they are in doesn’t own the structure, then I wouldn’t be able to get the ID.
So, if I’m correct, it seems the only thing I can do is load up all the public structures, see if they return market orders, then if they do, store that data and populate it normally. If the user is in a trade system only allowed for blues, then they won’t see anything like they could before with outposts.
This doesn’t seem like a very good system. Maybe I’m the only one trying to pull this type of market data but shouldn’t users that can see and buy from a market citadel be able to download that information easily even if it requires auth?
Any talk to the change in this system? Is there something I’m completely missing here? I’d appreciate any help as I’m getting several requests to add price downloads from citadel markets to IPH.