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=USD

Response

{"price":"19131","date":"2022-10-16 14:10:00"}

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=USD&date=2021-01-01

Response

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