Jump to content

How to get Currenncy pairs data from XRP server


 Share

Recommended Posts

Hey, 

I want to fetch all the data like current price, OHLC etc.... between two currency/asset pairs from XRP Blockchain, I see that Ripple Data API v2 has endpoints for this but its depcreated now https://xrpl.org/data-api.html 

Documentation suggests to use Web socket or HTTP but I do not see any endpoints to get asset details

https://xrpl.org/public-api-methods.html

Can anyone help me with that? 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

Hey @Triceratops, thank you for your response.

I see this provides a list of existing offers between two assets/pair, but it does not provide actual current price.

Let's say, there is an asset called USD and I want to know current price of USD/XRP, how should I get it? I believe book_offers will provide price of USD that other users are willing to trade for which are not fulfiled. 

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
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.