I love the sats/$ value displayed on SN, of all the ways to display the bitcoin price I find it the most useful and, for myself at least, it helps me think in bitcoin instead of fiat.
So I decided to make a page where South Africans can see the same in our local fiat currency, the South African Rand.
http://randsats.site (currently redirects to an Amazon S3 site)
I made this because I personally have use for it, so I hope it will be useful to others as well.
All feedback welcome!
I wonder if we should add the rand to the currencies we support.
@ekzyis did coinbase's API support the Rand?
reply
Would be much appreciated!
reply
Doesn't seem like it. It's not listed in https://api.exchange.coinbase.com/products.
But I'll check again later.
reply
Okay, I checked again and I noticed the ticker for the South African Rand is ZAR.
But this one also does not show up in their products.
I can create a PR later
reply
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
reply
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:
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: