2

Im looking for the Binance UI token conversion (https://www.binance.com/en/convert) equivalent API endpoint, but can't really find it in the docs. Thanks!

inspiral
  • 611
  • 1
  • 7
  • 15

1 Answers1

0

I think you could use the Symbol Price Ticker which will give you current price between pairs of symbols.

For example:

GET https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT

Response:

{
  "symbol": "BTCUSDT",
  "price": "28275.50000000"
}
jnv
  • 882
  • 10
  • 18