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