Get Bitcoin Price on Bitget Exchange Using API
Get info from Bitget.com using API in Bash.
You may need to install jq first:
apt install jq
1. Get all available currencies in Spot trading
/api/spot/v1/public/currencies
curl -s 'https://api.bitget.com/api/spot/v1/public/currencies' | jq .
curl -s 'https://api.bitget.com/api/spot/v1/public/currencies' | jq '.data[].coinName' | wc -l
359