19 Sep 2022
Using Clearbit's free API:
Examples
<img src="https://logo.clearbit.com/website_url" />
eg.
<img src="https://logo.clearbit.com/spotify.com?size=80" />
Size can be defined as parameter, eg width = 300:
<img src="https://logo.clearbit.com/spotify.com?size=300" />
Grayscale mode also available:
<img src="https://logo.clearbit.com/spotify.com?grayscale=true" />
Test if unavailable:
<img src="https://logo.clearbit.com/oijdsfeoirasifrsers.com" />
Need to be replaced by a placeholder image if not found.
Use is free, with attribution:
<a href="https://clearbit.com">Logos provided by Clearbit</a>