I've been searching for an API that returns the logo/image for a cryptocurrency. API's like CoinCap.io and Bittrex don't return this information in the response. Is there any public API which provides the logo for a specific cryptocurrency?
You can use their css class
http://coincap.io/css/spritesheet.css?v=1_6_1
attach it in your html file and call it like that for bitcoin logo:
<span class="sprite sprite-bitcoin small_coin_logo"></span>
But you have to contact them for copyright measures.
No particular API, but a solution how to get all logos from Coinmarketcap with the correct IDs can be found here: https://github.com/giekaton/cryptocurrency-logos
-
For the high quality .png and vector .svg files see this new Crypto Logos gallery. – dziungles May 16 '19 at 13:23