Fetch Favicons from any website
A free & simple API to get favicons from any website. Open-source, easy to use, and self-hostable.
Why use our Favicon API?
Simple API
Just one endpoint. Pass a domain, get a favicon. No auth required.
100% Free
No API keys, no rate limits, no hidden costs. Free for everyone.
Open Source
Source code available on GitHub. Contribute, fork, or learn from it.
Self-Hostable
Easy to deploy on your own infrastructure with Docker or Bun.
How to use
Basic Usage
Simply make a GET request to our API with the domain parameter:
https://favicon.vemetric.com/snappify.com HTML
<img src="https://favicon.vemetric.com/google.com" alt="Google Favicon"> Query Parameters
Optional
size Desired favicon size in pixels. The API will resize the image to the requested size.
Default:
64 Example:
https://favicon.vemetric.com/github.com?size=128
Optional
format Desired image format for the favicon. Supported formats are png, jpg, and webp.
Default:
png Example:
https://favicon.vemetric.com/github.com?format=ico
Optional
default Fallback icon URL to use when the favicon cannot be found. Provide a fully qualified URL to your custom default icon.
Default:
none Example:
https://favicon.vemetric.com/invalid-domain.xyz?default=https://example.com/fallback.png
Optional
response Controls the response of the API. Available values are image and json.
Default:
image Example:
https://favicon.vemetric.com/github.com?response=json Self-Hosting
Want to run your own instance? It's super easy.
$ docker run -p 3000:3000 vemetric/favicon-api