Post
Topic
Board Project Development
Merits 8 from 2 users
Re: [ANN] bitcoindata.science
by
bitmover
on 19/04/2023, 18:11:13 UTC
⭐ Merited by SFR10 (4) ,LoyceV (4)
@bitmover
I was wondering if there's a possibility of adding a feature on the unit converter that'd allow users to easily copy a code, in order to show dynamic fiat values of certain Bitcoin amounts on threads of this forum?
- AFAICR, all of the other alternatives from the past were limited to USD only and I'm looking for a way to use other fiat currencies in local boards.

Thank you for your suggestion SFR10

It is already working! I forked it from the code from (https://bitcointalk.org/index.php?topic=3485877.0)

api link:
Code:
https://bitcoindata.science/price/localprice.php?coin=bitcoin&amount=1&currency=BRL

result:


Parameters:

Code:
coin
Any coin supported by coingecko. Default = bitcoin

Code:
amount
The amount you want. For example, 0.1 BTC. Must use "." as decimal separator.
Default = 1

Code:
currency
Any currency in the world. Default = USD