Open extra topbar

Latest Price Info using a public API call?

If you are new here, please see some information on how to ask for support. Thank you!

Latest Price Info using a public API call?

dashed-slug.net Forums Exchange extension support Latest Price Info using a public API call?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4728
    megeanwasson
    Participant

    Hi Alex,
    This exchange is working so well now, THANK YOU ALEX 🙂

    The last post by dynamitemedia was very helpfull.
    Are there any public API calls we can do to get that latest price onto our blockexplorer?

    Original post here was very helpfull:
    https://www.dashed-slug.net/forums/topic/latest-price-info/

    Worked for making a nice little shortcode to show latest price anywhere on the site (even to logged out users) but would be even more awesome if I was able to show that latest price on another website like maybe on my blockexplorer site. Would that be possible or is it already possible or will you still be adding a public API for stuff like this?

    Best regards
    Megan

    #4738
    alexg
    Keymaster

    Hello Megan,

    Thank you for your comment, I’m very glad you find the exchange helpful!

    The last market price is part of the get_market_summaries public JSON API.

    If your site is http://www.example.com, you should be able to view it at https://www.example.com/?__wallets_exchange_action=get_market_summaries

    The last price is in there.

    kind regards

    #4749
    megeanwasson
    Participant

    Awesome, Thank you Alex, I missed that somehow in the docs 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.