Get Bitcoin Exchange Rate
GET https://api.coindesk.com/v1/bpi/currentprice.json
CoinDesk provides a simple API to make its Bitcoin Price Index (BPI) data programmatically available to others. Data is returned in JSON format.
Read more about the Coindesk API.
RESPONSES
status: OK
{"time":{"updated":"Mar 13, 2018 20:57:00 UTC","updatedISO":"2018-03-13T20:57:00+00:00","updateduk":"Mar 13, 2018 at 20:57 GMT"},"disclaimer":"This data was produced from the CoinDesk Bitcoin Price Index (USD). Non-USD currency data converted using hourly conversion rate from openexchangerates.org","chartName":"Bitcoin","bpi":{"USD":{"code":"USD","symbol":"\u0026#36;","rate":"9,070.8125","description":"United States Dollar","rate_float":9070.8125},"GBP":{"code":"GBP","symbol":"\u0026pound;","rate":"6,498.3936","description":"British Pound Sterling","rate_float":6498.3936},"EUR":{"code":"EUR","symbol":"\u0026euro;","rate":"7,323.7649","description":"Euro","rate_float":7323.7649}}}