# EVE Market API is missing huge amounts of market orders

**URL:** <https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028>\
**Category:** Third Party Developers\
**Tags:** feedback, esi, bug-reporting\
**Created:** [July 21, 2019, 5:28am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028 "2019-07-21T05:28:55Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![roxxkatt](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/roxxkatt/32/411282_2.png) [@roxxkatt](https://forums.eveonline.com/u/roxxkatt)\
**Post date:** [July 21, 2019, 5:28am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/1 "2019-07-21T05:28:55Z")

</div>

I am in the process of making an EVE resource website.  
(super cool, more on this at a later date)

I noticed some of my 2-3 week old market sell orders were missing from  
`https://eve-marketdata.com/price_check.php?type_id=21951&type=sell`  
and  
`https://evemarketer.com/types/21951`

At first I suspected the website operators made a mistake, so I wrote my own marketdata server.  
It grabs the list of regions, then gets all sell orders per region.  
This many things were active in the data:  
`regions: 35`  
`systems: 1643`  
`orders: 937310`

The following active, public, 2-3 week old sell order has not been present for over 2 weeks:  
`orderID,typeID,charID,charName,regionID,regionName,stationID,stationName,range,bid,price,volEntered,volRemaining,issueDate,orderState,minVolume,accountID,duration,isCorp,solarSystemID,solarSystemName,escrow,`  
`5464957606,21951,97097252,roxxkatt,10000016,Lonetrek,1029214998768,Kappas - Omega Base,32767,False,63999970.0,5,5.0,2019-07-15 02:04:12.000,0,1,74639598,90,False,30021392,Kappas,0.0,`

Additionally, this order ID is not present in the results.

What would cause this particular order to not appear in market API results?  
Has CCP made a mistake somewhere?

---

<div class="post-metadata">

**Author:** ![roxxkatt](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/roxxkatt/32/411282_2.png) [@roxxkatt](https://forums.eveonline.com/u/roxxkatt)\
**Post date:** [July 21, 2019, 5:44am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/2 "2019-07-21T05:44:21Z")

</div>

also: didn’t see a way to add tags, if that is user submitted content it isnt good UI/UX

---

<div class="post-metadata">

**Author:** ![Haulie\_Berry](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/haulie_berry/32/388021_2.png) [@Haulie\_Berry](https://forums.eveonline.com/u/Haulie_Berry)\
**Post date:** [July 21, 2019, 5:51am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/3 "2019-07-21T05:51:11Z")

</div>

That order is in a citadel. Pretty sure that particular website is only going to show station orders.

IIRC, player-structure orders have to be pulled on a per-structure basis, and require auth.

---

<div class="post-metadata">

**Author:** ![roxxkatt](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/roxxkatt/32/411282_2.png) [@roxxkatt](https://forums.eveonline.com/u/roxxkatt)\
**Post date:** [July 21, 2019, 5:55am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/4 "2019-07-21T05:55:25Z")

</div>

that seems like quite a large error for public market orders

---

<div class="post-metadata">

**Author:** ![Steve\_Ronuken](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/steve_ronuken/32/373894_2.png) [@Steve\_Ronuken](https://forums.eveonline.com/u/Steve_Ronuken)\
**Post date:** [July 21, 2019, 7:32am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/5 "2019-07-21T07:32:33Z")

</div>

Many market websites don’t contain structures, because you have to handle them separately from other market orders. It’s a side effect of limiting the market api, to avoid information leakage. (If you don’t have market rights at a station, you can’t see the data. )

As such, the API requires you to request each individual structure’s market data in a separate authenticated request. (Unless it’s a ranged buy order. Those show up.)

In addition to this (but not directly relevant in this case), a structure only shows up on the public structure list through the api, if _no-one_ has dock rights denied. That structure isn’t set up that way.

I’ve updated my automation, so it _should_ pull in structures which are public (Anyone can dock. A single deny blocks that) and/or have ranged buy orders, with my market pulling alt (in an npc corp) has market rights in. Been meaning to get that updated for a while.

[https://market.fuzzwork.co.uk/](https://market.fuzzwork.co.uk/)

[https://market.fuzzwork.co.uk/history/5464957606](https://market.fuzzwork.co.uk/history/5464957606)

(only 1 entry, as it only just started getting that)

---

<div class="post-metadata">

**Author:** ![roxxkatt](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/roxxkatt/32/411282_2.png) [@roxxkatt](https://forums.eveonline.com/u/roxxkatt)\
**Post date:** [July 21, 2019, 8:04am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/6 "2019-07-21T08:04:48Z")

</div>

1. what are you using to authenticate your server market aggregator without a user token?
2. if noone has dock rights denied, it is a public structure, which has a public market, and should appear in public market results. end of story.
3. any chance you could start working on a background that is anything other than eye searing white? =P

---

<div class="post-metadata">

**Author:** ![Steve\_Ronuken](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/steve_ronuken/32/373894_2.png) [@Steve\_Ronuken](https://forums.eveonline.com/u/Steve_Ronuken)\
**Post date:** [July 21, 2019, 8:11am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/7 "2019-07-21T08:11:08Z")

</div>

I’m using a token 🙂

Once you have a refresh token, you can use that to create an access token at will, without user intervention.

When you have an oauth login into eve’s SSO, without using the implicit path, and requesting at least one scope, you get a refresh token. This is how, for example, zkill works. People delegate the right to get kill data to zkill.

(I did my login using postman, rather than writing up an app for it. [https://www.fuzzwork.co.uk/2017/03/14/using-esi-google-sheets/](https://www.fuzzwork.co.uk/2017/03/14/using-esi-google-sheets/) has the process)

---

<div class="post-metadata">

**Author:** ![roxxkatt](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/roxxkatt/32/411282_2.png) [@roxxkatt](https://forums.eveonline.com/u/roxxkatt)\
**Post date:** [July 21, 2019, 8:12am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/8 "2019-07-21T08:12:39Z")

</div>

is refresh token valid across downtimes?

---

<div class="post-metadata">

**Author:** ![Steve\_Ronuken](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/steve_ronuken/32/373894_2.png) [@Steve\_Ronuken](https://forums.eveonline.com/u/Steve_Ronuken)\
**Post date:** [July 21, 2019, 8:20am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/9 "2019-07-21T08:20:16Z")

</div>

yep

Valid until revoked.

---

<div class="post-metadata">

**Author:** ![roxxkatt](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/roxxkatt/32/411282_2.png) [@roxxkatt](https://forums.eveonline.com/u/roxxkatt)\
**Post date:** [July 21, 2019, 8:21am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/10 "2019-07-21T08:21:36Z")

</div>

i guess then i will also use the same hack that apparently all website operators must use to address the shortcomings in the eve market api

---

<div class="post-metadata">

**Author:** ![roxxkatt](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/roxxkatt/32/411282_2.png) [@roxxkatt](https://forums.eveonline.com/u/roxxkatt)\
**Post date:** [July 22, 2019, 5:56am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/11 "2019-07-22T05:56:21Z")

</div>

i simplified my stuff a ton by discarding all the logic to only pull things needed  
now it will just always pull everything and then will later cross reference locally

---

<div class="post-metadata">

**Author:** ![roxxkatt](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/roxxkatt/32/411282_2.png) [@roxxkatt](https://forums.eveonline.com/u/roxxkatt)\
**Post date:** [July 27, 2019, 6:27am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/12 "2019-07-27T06:27:21Z")

</div>

found the well hidden spot to tag threads.  
forum “market” tag is missing, and ability to create tags not on the list is missing.  
would add “market” tag if it existed and maximum was 5 tags instead of 3.

on firefox: cursor and selections are missing from text input, which is mildly annoying.  
also fun: bold font is missing the lowercase i

---

<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 25, 2019, 6:27am UTC](https://forums.eveonline.com/t/eve-market-api-is-missing-huge-amounts-of-market-orders/177028/13 "2019-10-25T06:27:23Z")

</div>

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