I want to get the Bitcoin value for the corresponding USD value and store it in a table or variable. I got this URL from which I can get a Bitcoin value for USK amount. I searched on blockchain and I found this URL.
For example:
500usd = 0.76105818 btc
I tried:
https://blockchain.info/tobtc?currency=USD&value=500
at the end, its USD value which we want to convert into Bitcoin. I want to get the result in the variable in C# (backend).
How can I accomplish this? Any help will be appreciated!!