Get Bitcoin Price Using Bybit API in Bash
With Bybit API  it is possible to get public data (price, volume, last trading records) and also place own orders using API Key. All the next examples do not need API Key, because open public data is used here.
First, install jq for read json data and search in it to get only fields we need.
apt install jq
Bitcoin price in Spot trading from Bybit API. Ticker BTCUSDT info
This price is from latest finished orders.