Type in the domain name for any website (for example ), and Icon Horse will fetch the best available favicon for you.
discord.com
Served from:
https://icon.horse/icon/discord.com
Some things can be customised on-the-fly via query parameters.
Parameter | Default | Description |
---|---|---|
hostname | none | The hostname should be a fully-qualified domain name such as wikipedia.org , youtube.com , or bbc.co.uk .You may leave this blank if you provide a uri or email parameter (see below). |
uri | none | Sometimes, deriving a hostname is not convenient. So you can let Icon Horse do it for you!You can put in any URI here, such as: https://wikipedia.org https://en.wikipedia.org/wiki/Encyclopedia |
email | none | Maybe you want the favicon from an email address's domain? No problem. Any email will work, such as: [email protected] |
apikey | none | Identifies you as a Pro client, meaning you can use Pro features. Alternatively, you can use the X-API-Key HTTP header (X-API-Key: YOUR_API_KEY ). |
fallback_text | EFF6FF | Specify a custom text colour for the fallback icon's text. Expects a hex colour value with no hash mark. Pro/Enterprise only |
fallback_bg | 1F2937 | Specify a custom background colour for the fallback icon. Expects a hex colour value with no hash mark. Pro/Enterprise only |
size | large | If the site has multiple options available for icons, serve the size you prefer. Please note that if you request a size that is not available, you will be served whatever icon size is closest to the one you requested – unless you set ignore_other_sizes (see below), in which case you will get the fallback in the size you requested.Available values are:
|
ignore_other_sizes | false | If you specified a size param, and if you want Icon Horse to serve you a fallback if that size is not available (but other sizes might be), set this to true .Pro/Enterprise only |
status_code_404 | false | By default, the fallback image is served as an image with a 200 HTTP status code. But, if you would like it to return a 404 HTTP status code (along with the fallback image itself), then set this to true . This might be useful if you want to know if the site's icon is unreachable.Pro/Enterprise only |
Have other questions? Ask us directly.
<img>
tag. It could be written like so:<img src="https://icon.horse/icon/example.com" alt="example.com icon">
example.com/favicon.ico
?/favicon.ico
. You will end up with a broken image.