# Getting alliance/corp structure IDs

**URL:** <https://forums.eveonline.com/t/getting-alliance-corp-structure-ids/32319>\
**Category:** Third Party Developers\
**Created:** [October 18, 2017, 9:13am UTC](https://forums.eveonline.com/t/getting-alliance-corp-structure-ids/32319 "2017-10-18T09:13:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Costia\_Anzomi](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/costia_anzomi/32/136270_2.png) [@Costia\_Anzomi](https://forums.eveonline.com/u/Costia_Anzomi)\
**Post date:** [October 18, 2017, 9:13am UTC](https://forums.eveonline.com/t/getting-alliance-corp-structure-ids/32319/1 "2017-10-18T09:13:04Z")

</div>

My end goal is to get the same data as the in-game market window.  
The problem is, most of the transactions are done on citadels, which don’t show up on [esi.tech.ccp.is/latest/markets/x/orders](http://esi.tech.ccp.is/latest/markets/x/orders).  
And the structures API will only list public structures.

Assuming I authenticate via SSO and get an access token.  
Neither the market data nor the structures ESI API take a token parameter.  
How do i get a list of all alliance/corp structures in the region or market data that includes them?

Edit: tried using /corporations/{corporation\_id}/structures/ and got  
"error": “Character does not have required role(s)”

I also dont see a way to get the market history of a corporate structure even if i know its ID.  
The history call only taked a region id, and no token.  
the history does appear in the in-game market window.

P.S.  
I opened another tab and every time i navigate to a another page in the new tab it wants to delete my draft.  
Why does it even appear in the new tab? The new forums are strange.

---

<div class="post-metadata">

**Author:** ![Leon\_Tekitsu](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/leon_tekitsu/32/46073_2.png) [@Leon\_Tekitsu](https://forums.eveonline.com/u/Leon_Tekitsu)\
**Post date:** [December 27, 2017, 3:32pm UTC](https://forums.eveonline.com/t/getting-alliance-corp-structure-ids/32319/2 "2017-12-27T15:32:20Z")

</div>

Hi. I am working in a personal project and I ran into the same issue. Did you ever find a solution for this?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [March 27, 2018, 3:32pm UTC](https://forums.eveonline.com/t/getting-alliance-corp-structure-ids/32319/3 "2018-03-27T15:32:22Z")

</div>

Closed on March 27, 2018, 3:32pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
