Skip to main content
All CollectionsAPI and Indicators
Can we get just the price information from the API? Updated in real-time?
Can we get just the price information from the API? Updated in real-time?

How to get a real-time price of an asset

Updated this week

Yes!

Use our price indicator to get the latest price of the symbol you are interested in.

Here's an example API query:

https://api.taapi.io/price?secret=APIKEY&exchange=binance&symbol=BTC%2FUSDT&interval=1h

Or feel free to use the candle indicator to get the price and other OHLCV values: https://taapi.io/indicators/candle/

Here's an example API query:

https://api.taapi.io/candle?secret=APIKEY&exchange=binance&symbol=BTC%2FUSDT&interval=1h

Here's an example response you'll get. The most recent price you are probably looking for is the "close" value:

{ "timestampHuman": "2021-10-25 13:00:00 (Monday) UTC", "timestamp": 1635166800, "open": 62726.31, "high": 63388.99, "low": 62583, "close": 63076.69, "volume": 4317.90892 }

You'll notice the values are updated every time you make the API request to reflect the real-time changes.

Did this answer your question?