Altcoins Talks - Cryptocurrency Forum
Crypto Discussion Forum => Forum related => Topic started by: bitmover on December 24, 2023, 08:30:13 PM
-
I have created this API initially for bitcoin only, to use in the bitcoin forum.
I decided to expand it to make it usable in altcointalks.com
API documentation: https://bitcoindata.science/bitcointalk-api
It now supports all cryptocurrencies currently listed in coingecko (https://api.coingecko.com/api/v3/coins/list)
For now, there are 2 endpoints which supports altcoins:
Altcoin Price to local currency endpoint
Post the price of any amount of any altcoin in any fiat currency
Example 1:
Requesting the price of 1 ethereum in USD.
https://bitcoindata.science/api/localprice.php?coin=ethereum&amount=1¤cy=USD
(https://bitcoindata.science/api/localprice.php?coin=ethereum&amount=1¤cy=USD&hex=000000) (https://bitcoindata.science/bitcointalk-api.html#local-price)
You can use any color, just specify the HEX color code (you can see the HEX color palette in the API documentation (https://bitcoindata.science/bitcointalk-api)), you can also display it in BOLD font.
Example 2:
0.1 Litecoin in EUR, in purple and bold, just and parameters &hex=872cc3 and &bold
[img]https://bitcoindata.science/api/localprice.php?coin=litecoin&amount=0.1¤cy=EUR&hex=872cc3&bold[/img]
(https://bitcoindata.science/api/localprice.php?coin=litecoin&amount=0.1¤cy=EUR&hex=872cc3&bold) (https://bitcoindata.science/bitcointalk-api.html#local-price)
Local currency price to altcoin endpoint
The opposite of the other one.
Converts any amount of your local fiat price to cryptocurrency price.
Example 3:
100 USD in Monero, in green color and bold.
https://bitcoindata.science/api/fiattobtc.php?fiatamount=100¤cy=USD&coin=solana&hex=0f7b35&bold
(https://bitcoindata.science/api/fiattobtc.php?fiatamount=100¤cy=USD&coin=solana&hex=0f7b35&bold) (https://bitcoindata.science/bitcointalk-api.html#fiattobtc)
I hope those endpoints are useful for you.
API documentation: https://bitcoindata.science/bitcointalk-api
Please post suggestions or any bug you notice!
If this is in the wrong board, please post a suggestion so I can move it!
-
Good job @bitmover. It is appreciated that the members of the forum develop this type of tools that always keep us informed. Thank you so much!
+1 ;)
-
Good work, your tool is useful, and I think that the restrictions in this forum are less, so I hope for more development.
Can it be used to show all supported tokens?
-
Another Good tool from you and it will be used in the forum for sure. I think more tools can be added to this forum as the restriction is lesser here. Thanks for the tool again.
-
I'm glad to see your tools presented here as well, now I'm a little surprised that you didn't post it here earlier.
Can it be used to show all supported tokens?
It takes all the data via Coingecko API, so everything listed there can be displayed via bitmover's tool
-
I'm glad to see your tools presented here as well, now I'm a little surprised that you didn't post it here earlier.
Thanks. I will try to create more stuff. Maybe ethereum related.
I am still trying to find which is more useful here.
Can it be used to show all supported tokens?
It takes all the data via Coingecko API, so everything listed there can be displayed via bitmover's tool
Yeah there are many supported tokens
1 Usdt Tether in eur
(https://bitcoindata.science/api/localprice.php?amount=1¤cy=eur&coin=tether&hex=0f7b35&bold)
1 basic attention token in usd
(https://bitcoindata.science/api/localprice.php?amount=1¤cy=eur&coin=basic-attention-token&hex=0f7b35&bold)
-
Hey bitmover, you have a nice giveaway tool for Bitcoinalk, https://bitcoindata.science/giveaway-manager/ what do you think about modifying it and maybe adapting it to the contest run by the admin here Daily 10$ giveaway in crypto (https://www.altcoinstalks.com/index.php?topic=304735.0)
It's every week, I guess it could be useful
-
Hey bitmover, you have a nice giveaway tool for Bitcoinalk, https://bitcoindata.science/giveaway-manager/ what do you think about modifying it and maybe adapting it to the contest run by the admin here Daily 10$ giveaway in crypto (https://www.altcoinstalks.com/index.php?topic=304735.0)
It's every week, I guess it could be useful
Thanks for the suggestion.
I would love to seeee this tools being used here in the giveaways
I will take a look into this forum giveaway rules and try to see if it is possible to adapt it here