# System/Star classification from ESI

**URL:** <https://forums.eveonline.com/t/system-star-classification-from-esi/122435>\
**Category:** Third Party Developers\
**Created:** [November 23, 2018, 7:06am UTC](https://forums.eveonline.com/t/system-star-classification-from-esi/122435 "2018-11-23T07:06:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blackpearl](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blackpearl/32/106732_2.png) [@Blackpearl](https://forums.eveonline.com/u/Blackpearl)\
**Post date:** [November 23, 2018, 7:06am UTC](https://forums.eveonline.com/t/system-star-classification-from-esi/122435/1 "2018-11-23T07:06:21Z")

</div>

I am assuming you can get the classification from here. [/universe/stars/{star\_id}/](https://esi.evetech.net/ui/?version=latest#/operations/Universe/get_universe_stars_star_id)

and I tested a random wh and got this “spectral\_class”: “K4 V”,  
I know this is a class V wh, because I googled it. So im assuming that V is where you can get the classification.

However… is there any documentation of how that will always be formatted, and what the K4 means? ALso, what will it look like in null, low, or k space?

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [November 23, 2018, 5:57pm UTC](https://forums.eveonline.com/t/system-star-classification-from-esi/122435/2 "2018-11-23T17:57:50Z")

</div>

Probably not that simple.

A `K4` star means the star has a surface temp of between 3,900 and 5,200 Kelvin. the `V` is the `Morgan-Keenan Luminosity Class` of that star; which means that the star in your WH is a `main sequence dwarf star`

Look up the `Hertzsprung–Russell Diagram`.

So unless CCP defines WH class by the luminosity of the star in each WH, it’s prob just a coincidence.

---

<div class="post-metadata">

**Author:** ![Blackpearl](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blackpearl/32/106732_2.png) [@Blackpearl](https://forums.eveonline.com/u/Blackpearl)\
**Post date:** [November 23, 2018, 6:16pm UTC](https://forums.eveonline.com/t/system-star-classification-from-esi/122435/3 "2018-11-23T18:16:47Z")

</div>

Very interesting stuff. It probably is a coincidence after scanning through a little bit.  
I see some websites can tell you what class the system is, so there has to be a database, or lookup somewhere.

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [November 23, 2018, 8:46pm UTC](https://forums.eveonline.com/t/system-star-classification-from-esi/122435/4 "2018-11-23T20:46:45Z")

</div>

Oh for sure, its all in the SDE somewhere i’d imagine.

---

<div class="post-metadata">

**Author:** ![Rtg\_Quack](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rtg_quack/32/259589_2.png) [@Rtg\_Quack](https://forums.eveonline.com/u/Rtg_Quack)\
**Post date:** [November 26, 2018, 9:15pm UTC](https://forums.eveonline.com/t/system-star-classification-from-esi/122435/5 "2018-11-26T21:15:24Z")

</div>

Do you want to fetch the system class like High, Low, C2 or similar?

In this case you may need the EVE static data you may fetch from Steve ([EVE Data Dump (SDE) - Fuzzwork Enterprises](https://www.fuzzwork.co.uk/dump/)).

Then some sql will give you the desired information given the solar system id (see /search solar\_system)

```
select 
	md.itemName systemName,
	md.itemID systemID,
	md.constellationID constellationID,
	md.regionID regionID,
    mls.wormholeClassID systemClass,
    mlr.wormholeClassID regionClass
from 
	mapDenormalize md
left join
	mapLocationWormholeClasses mls on mls.locationID = md.itemID 
left join
	mapLocationWormholeClasses mlr on mlr.locationID = md.regionID 
where md.itemID = 31000005;        

```

This sql will give you the systemClass and the regionClass whereas the systemClass ranks higher if not null.

The meaning of the numbers is:

- 1-5 :C1 -C5
- 7 : High Sec
- 8: Low Sec
- 9: 0.0
- 12: Thera

---

<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:** [February 24, 2019, 9:15pm UTC](https://forums.eveonline.com/t/system-star-classification-from-esi/122435/6 "2019-02-24T21:15:31Z")

</div>

Closed on February 24, 2019, 9:15pm UTC

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