Error getting structure market price.
Closed this issue · 1 comments
YukhaMamed commented
Hello, i am trying to get market price from NPC station, and there error appear - invalid structure identifier. Structure ID 60014269. I tried dock my character at this station, but error not resolved.
Blacksmoke16 commented
If you're using the /markets/structures/{structure_id}/
endpoint, this is meant for citadels, not NPC stations. There is no equivalent function for NPC stations either. You either need to use /markets/{region_id}/orders/
and filter down to that one location, or use an aggregate service like Fuzzworks' API.