THE FAVICON API
A little icon.
A lot of identity.
Give us a domain. Get its favicon.
One simple endpoint for your next dashboard, directory, or side project.
GET
/favicon?domain=github.comThe icon playground
LIVE DEMOYOUR FAVICON, RIGHT HERE
Pick a domain to meet its icon.
01 / REQUEST
A domain is all you need.
Use a public hostname like github.com. No API key or extra parameters needed.
02 / FETCH
Two sources. One response.
We check Google and DuckDuckGo and return the largest valid image by byte size, not necessarily resolution.
03 / USE
Made for your next build.
Use the endpoint as an image source. Successful responses are cached to keep repeat requests quick.
LESS SETUP. MORE BUILDING.
One line. Instant character.
<img src="/favicon?domain=github.com"
alt="GitHub" width="32" height="32">On another site? Prefix the path with this API’s origin.