These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Market API Help

Author
Hsams Olerie
Aliastra
Gallente Federation
#1 - 2015-08-07 10:27:21 UTC
I have been looking around the net for ages on how to pull market data from Eve. I have seen on Eve-Central you can pull information from them, using their API.

I want to know, can I pull data straight from eve from the API server. I cannot find any documentation on this.

My goal is to pull a certain type of data, and store it in a db.

There will not be loads of requests, but a few every hour or so.

Can anyone point me in the right direction on what URL is best for this and what the endpoints are.

This type of info I would like for instance is for the ore Jaspet and all the market data for it in Jita.

An example call from Eve central is

http://api.eve-central.com/api/marketstat?typeid=34&usesystem=30000142

Really appreciate and help on this.

Many thanks

Hsams

Dragonaire
Here there be Dragons
#2 - 2015-08-07 12:01:49 UTC
Might take a look around at https://neweden-dev.com/Main_Page for info about the older XML API for things like your personal corp data and the CREST stuff for the general marketing data which is the source for eve-central and everyone else. That being said many people just pull from eve-central because their API is easier to work with then CCP's in many way Blink. Also make sure to really look around because there are already more marketing/wherever apps then there are active players in Eve it seem but everyone keeps wanting to create their own instead of working to improve the existing ones. Everyone thinks they are a unique snowflake but in reality they all fit into the same snowball and you really can't tell the difference Blink

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Kali Izia
GoomWaffe
#3 - 2015-08-07 12:04:02 UTC
The CREST equivalent would be the combination of these two:
https://public-crest.eveonline.com/market/10000002/orders/sell/?type=https://public-crest.eveonline.com/types/34/
https://public-crest.eveonline.com/market/10000002/orders/buy/?type=https://public-crest.eveonline.com/types/34/

You'd have to aggregate the data yourself & filter it to that single system yourself if you wanted the exact same results.

One thing to keep in mind is that you shouldn't just take that URL and replace the IDs, as your app could break if CCP ever changes the routes.
You should be hitting the CREST root, first go to marketTypes and get the href for your type. Then go to regions, pick your region, and get the market hrefs.
https://developers.eveonline.com/blog/article/nom-nom-tastey-market-data has more information on the best practices for building the URLs.
Hsams Olerie
Aliastra
Gallente Federation
#4 - 2015-08-07 14:34:51 UTC


Where can you find information about the end points that you have used in that url

orders buy and sell. Is there a doc with the different kinds you can use.

how to pull all market info from that. buy max, buy min, average, volume etc.

I think the eve crest api will be very useful for what i am trying to achieve. Its just the documentation for the CREST eve, well I can't find it that would show me what end points to use.

I agree using eve central is a little easier and it may have to be that option. But I really want to tie in with CREST.

Many thanks in advance again

Hsams