# ESI -- Actual Points In Skill

**URL:** <https://forums.eveonline.com/t/esi-actual-points-in-skill/81493>\
**Category:** Third Party Developers\
**Created:** [June 8, 2018, 3:48pm UTC](https://forums.eveonline.com/t/esi-actual-points-in-skill/81493 "2018-06-08T15:48:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shailemar](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/shailemar/32/77031_2.png) [@Shailemar](https://forums.eveonline.com/u/Shailemar)\
**Post date:** [June 8, 2018, 3:48pm UTC](https://forums.eveonline.com/t/esi-actual-points-in-skill/81493/1 "2018-06-08T15:48:03Z")

</div>

This seems like a pretty basic question and yet I have been unsuccessful in finding an answer. I am trying to find the actual skill points for a partially trained skill (to predict the remaining training time for that skill).

Using the ESI call to /characters/xxxx/skills/ all the skills are returned but it only shows what level the skills are trained to and the corresponding skill points for that level.

Take for example the Gunnery skill. To get to level 4 requires 45,255 points and to level 5 requires 256,000 points. Suppose a character has trained about halfway from level 4 to level 5 so they have about 150,000 skill points in the Gunnery skill. If I make the call to /characters/xxx/skills/ the Gunnery skill is returned and it has the correct level (4) but it shows the skill\_points\_in\_skill as 45,255 not 150,000 (which is the actual number of points in the skill).

Can anyone point me in the right direction about how to go about finding the actual trained points in a skill so that I can calculate the remaining training time for that skill?

Again, this seems like something pretty basic and I apologize if I have missed something obvious.

---

<div class="post-metadata">

**Author:** ![Inactive\_Seller](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/inactive_seller/32/519163_2.png) [@Inactive\_Seller](https://forums.eveonline.com/u/Inactive_Seller)\
**Post date:** [June 8, 2018, 3:58pm UTC](https://forums.eveonline.com/t/esi-actual-points-in-skill/81493/2 "2018-06-08T15:58:47Z")

</div>

I suggest u use a print\_r or something to see the json/xml

Some of the fields i get in the scope  
skillpoints\_in\_skill  
active\_skill\_level  
trained\_skill\_level

U need use skillpoints\_in skill. Myself save in a databse, and later use a sum to get the total because i want the ready skill points, not the unassigned.

---

<div class="post-metadata">

**Author:** ![Catherine\_Solenne](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/catherine_solenne/32/206827_2.png) [@Catherine\_Solenne](https://forums.eveonline.com/u/Catherine_Solenne)\
**Post date:** [June 8, 2018, 4:35pm UTC](https://forums.eveonline.com/t/esi-actual-points-in-skill/81493/3 "2018-06-08T16:35:50Z")

</div>

What you’re looking for is the `skillpoints_in_skill` field in the skill list returned from `GET /characters/{character_id}/skills/`.

To calculate the SP required for the level, use the formula described here [https://github.com/esi/esi-issues/wiki/Useful-Formulae#skillpoints](https://github.com/esi/esi-issues/wiki/Useful-Formulae#skillpoints)

You can get the skill rank from `GET /universe/types/{type_id}/`, I don’t remember the actual Dogma attribute ID you’re looking for, but you can probably figure that out yourself, there’s an endpoint to resolve those, too.

---

<div class="post-metadata">

**Author:** ![Shailemar](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/shailemar/32/77031_2.png) [@Shailemar](https://forums.eveonline.com/u/Shailemar)\
**Post date:** [June 8, 2018, 6:54pm UTC](https://forums.eveonline.com/t/esi-actual-points-in-skill/81493/4 "2018-06-08T18:54:24Z")

</div>

I appreciate the answers, but unfortunately they don’t answer my question.

I my original post I point out that I am getting the skillpoints\_in\_skill field from the GET API call to /characters/xxx/skills/. The problem that I am having is that it is not showing me the current skill points. It is showing me the skill points for the level the character has trained. So if I have trained to level 4 and partway to level 5 it is only showing the skill points to level 4.

If you read my original post question it explains my problem pretty clearly there.

---

<div class="post-metadata">

**Author:** ![Inactive\_Seller](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/inactive_seller/32/519163_2.png) [@Inactive\_Seller](https://forums.eveonline.com/u/Inactive_Seller)\
**Post date:** [June 8, 2018, 7:00pm UTC](https://forums.eveonline.com/t/esi-actual-points-in-skill/81493/5 "2018-06-08T19:00:57Z")

</div>

I understand but maybe the problem is in the access / esi nature.

I have now the habit to enter, stop and active the actual queue of my pilotos for the ghost training problem. Some things only update if you enter in the char in game, and in some cases, pausing. Example.

character i enter 3.900,000 (invented skill points)  
pause  
active  
now show 3906,504 aprox for two hours of training.

I am sure i am getting the real points betwwn 45255 and 256000 but only SURE if i stop and reaasume the training characters. Myself decide not use the refresh tokens because i note this as a normal behaivor in some pilots.

If u want , put you json result.

---

<div class="post-metadata">

**Author:** ![BlackSnowX86](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksnowx86/32/422412_2.png) [@BlackSnowX86](https://forums.eveonline.com/u/BlackSnowX86)\
**Post date:** [July 3, 2018, 1:59am UTC](https://forums.eveonline.com/t/esi-actual-points-in-skill/81493/6 "2018-07-03T01:59:59Z")

</div>

this migth help ya “skillpoints\_in\_skill”

get\_characters\_character\_id\_skills\_ok{  
skills\* get\_characters\_character\_id\_skills\_skills[  
maxItems: 1000  
title: get\_characters\_character\_id\_skills\_skills  
skills array  
get\_characters\_character\_id\_skills\_skill{  
active\_skill\_level\* integer($int32)  
title: get\_characters\_character\_id\_skills\_active\_skill\_level  
active\_skill\_level integer

skill\_id\* integer($int32)  
title: get\_characters\_character\_id\_skills\_skill\_id  
skill\_id integer

skillpoints\_in\_skill\* integer($int64)  
title: get\_characters\_character\_id\_skills\_skillpoints\_in\_skill  
skillpoints\_in\_skill integer

trained\_skill\_level\* integer($int32)  
title: get\_characters\_character\_id\_skills\_trained\_skill\_level  
trained\_skill\_level integer

---

<div class="post-metadata">

**Author:** ![Catherine\_Solenne](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/catherine_solenne/32/206827_2.png) [@Catherine\_Solenne](https://forums.eveonline.com/u/Catherine_Solenne)\
**Post date:** [July 3, 2018, 10:16am UTC](https://forums.eveonline.com/t/esi-actual-points-in-skill/81493/7 "2018-07-03T10:16:47Z")

</div>

@Shailemar okay, I’ve done some more digging and you are absolutely right, there isn’t any way to get an accurate `skillpoints_in_skill` figure from ESI. That is mainly down to how EVE updates these numbers in the database. The `skillpoints_in_skill` only updates if the skillqueue is updated.

The most accurate number you can get is by using `GET /characters/{character_id}/skillqueue/` to get the training start time and sp and then calculate an estimate based on the characters attributes using the following formula:

![](https://latex.codecogs.com/gif.latex?%5Cbg_white%20y_%7BskillpointsPerMinute%7D%20%3D%20a_%7Bprimary%7D%20&plus;%20%7Ba_%7Bsecondary%7D%20%5Cover%202%7D)

This can’t be relied on to be 100% accurate due to things like injectors and boosters, but it’s the closest estimate you can get to my knowledge.

---

<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:** [October 1, 2018, 10:29am UTC](https://forums.eveonline.com/t/esi-actual-points-in-skill/81493/8 "2018-10-01T10:29:40Z")

</div>

Closed on October 1, 2018, 10:29am UTC

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