Jump to content

Grand Exhange API


Legionwizard

Recommended Posts

Not entirely sure if this is the right forum, but do any of you have experience extracting price information from the Grand Exchange using a programming language? And more specifcally, the Grand Exchange API allows you to extract price information, but in a very inaccurate way. To illustrate, say I want to follow a price fluctuation of a 210b item and it ranges between say

 

210,000,000,000

 

and

 

210,000,800,000

 

I will never detect this fluctuation because the Grand Exchange API will always return "210,0b". Is there any to retrieve the full price? For more information on the Grand Exchange API: http://services.runescape.com/m=rswiki/en/Grand_Exchange_APIs

Legion.gif

 

Achieved quest (07/08/2009), woodcutting (28/06/2010), attack (21/07/2010), strength + constitution (07/08/2010), defence (26/09/2010), summoning (13/01/2011), herblore (03/03/2011), cook (31/08/2012), firemaking (01/09/2012), magic (08/09/2012), prayer (16/09/2012) and ranged (29/10/2012) capes.

Link to comment
Share on other sites

So I asked Cook from Wiki and he said they use the graphing data API to get exact prices, that is:

 

../../m=itemdb_rs/api/graph/$ItemID.json

 

from that page. Have you tried that/does that help?

"Fight for what you believe in, and believe in what you're fighting for." Can games be art?

---

 

 

cWCZMZO.png

l1M6sfb.png

My blog here if you want to check out my Times articles and other writings! I always appreciate comments/feedback.

Link to comment
Share on other sites

That I already can, but that's where the problem persists (see my link, it leads to the syntax you describe). So if I were to monitor the price of a drygore or something, I'd be always stuck with a resolution on the order of millions instead of say thousands. If the profit margin is in the thousands instead of millions, the price API would be useless to me. That aside, Jagex has some bizarre rules for formatting the price.

Legion.gif

 

Achieved quest (07/08/2009), woodcutting (28/06/2010), attack (21/07/2010), strength + constitution (07/08/2010), defence (26/09/2010), summoning (13/01/2011), herblore (03/03/2011), cook (31/08/2012), firemaking (01/09/2012), magic (08/09/2012), prayer (16/09/2012) and ranged (29/10/2012) capes.

Link to comment
Share on other sites

I think Arceus's point, which you seem to of overlooked as you made no specific reference to it, is that the GRAPH function of the api specifically allows for extraction of exact values as it plots them as exact values.

Plv6Dz6.jpg

Operation Gold Sparkles :: Chompy Kills ::  Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA Rewards

Dragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue

Link to comment
Share on other sites

Ah! Useful, didn't spot it at first, my bad.

Legion.gif

 

Achieved quest (07/08/2009), woodcutting (28/06/2010), attack (21/07/2010), strength + constitution (07/08/2010), defence (26/09/2010), summoning (13/01/2011), herblore (03/03/2011), cook (31/08/2012), firemaking (01/09/2012), magic (08/09/2012), prayer (16/09/2012) and ranged (29/10/2012) capes.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.