pull down to refresh
337 sats \ 4 replies \ @CheezeGrater OP 21 Oct 2022 \ parent \ on: πΏπ¦ I made a site for my fellow South Africans to check the sats/Rand rate bitcoin
Odd that Coinbase's API doesn't support ZAR, the first google result for "sats to zar" is Coinbase's converter: https://www.coinbase.com/converter/sats/zar
Yes, they have a converter but their API only exposes the ones they support trading for.
I tried to find out where their converter gets the data but it was too messy so I kept looking elsewhere.
reply
Oh, turns out the Coinbase API does indeed support it:
See https://api.coinbase.com/v2/currencies (search for ZAR)
So we can just use https://api.coinbase.com/v2/prices/BTC-ZAR/spot as for the other currencies!
So this is the place where one should look up such info:
reply
reply
Thanks a lot!
reply