API Usage

Bitcoin price calculator provides a simple API to get the Bitcoin price.

Return the current Bitcoin price

Usage

https://bitcoinpricecalc.com/api?action=price&currency=<currency>

Replace <currency> with the desired currency.

Available currencies:

  • AUD
  • CHF
  • EUR
  • GBP
  • JPY
  • KRW
  • RUB
  • TRY
  • UAH
  • USD

Example

https://bitcoinpricecalc.com/api?action=price&currency=EUR

Response

{"price":"38688.01","date":"2021-08-18 10:30:02"}

Return the Bitcoin price from a specific date.

Usage

https://bitcoinpricecalc.com/api?action=price&currency=<currency>&date=<date>

Replace <currency> with the desired currency.

Available currencies:

  • AUD
  • CHF
  • EUR
  • GBP
  • JPY
  • KRW
  • RUB
  • TRY
  • UAH
  • USD

Replace <date> with the desired date.

Example

https://bitcoinpricecalc.com/api?action=price&currency=EUR&date=2021-01-01

Response

{"price":"23978.10","date":"2021-01-01 00:00:00"}