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-apiIt 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 endpointPost 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

You can use any color, just specify the HEX color code (you can see the HEX color palette in
the API documentation), 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]
Local currency price to altcoin endpointThe 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

I hope those endpoints are useful for you.
API documentation:
https://bitcoindata.science/bitcointalk-apiPlease post suggestions or any bug you notice!
If this is in the wrong board, please post a suggestion so I can move it!