Product
Developers
Docs Pricing Startups FREE GitHub

Favicon API

A free alternative to Google's favicon API.

No key and no signup. The API is a plain image URL: no cookies, no scripts. SVG icons from a curated catalog of 4,133 brands, and an honest 404 when we don't have one.

Try it

https://logoapi.sh/favicon/github.com

Swap one line

-<img src="https://www.google.com/s2/favicons?domain=github.com&sz=64">
+<img src="https://logoapi.sh/favicon/github.com" width="64">

SVG scales to any size, so there is no size parameter. Google returns PNG; PNG favicons are coming here too.

LogoAPI vs Google and DuckDuckGo

LogoAPIGoogle s2DuckDuckGo
API keyNoneNoneNone
TrackingA plain image URL: no cookies, no scripts. Requests are logged like any web server, see privacyRequests go to Google, under Google's privacy policyRequests go to DuckDuckGo, under its privacy policy
FormatSVGPNG only, 16 to 256 pxICO, no size option
Unknown domain404 with a JSON body, no made-up icon404 status with a placeholder image404 status with a placeholder image
CoverageCatalog brands only (4,133)Any siteAny site
SourceCurated catalog iconsFetched from the site's own iconNot documented
CachingIcons 1 day, 404 not cached7 days30 days
Browser use (CORS)OpenNo CORS header seenNo CORS header seen
DocsDocumentedNo official page for this endpointNo official page found

Checked on 26 October 2026 with plain requests. Both are third-party services and can change. Google and DuckDuckGo cover any site, we cover our catalog, so keep one of them as a fallback for domains we don't have. Full comparison with Clearbit, Brandfetch and others: /compare.

Formats

.svgLive/favicon/github.com
.pngComing soon/favicon/github.com.png

Good to know

Is it free?
Yes. No key and no signup. Fair use applies, see terms. The API sets no cookies. Requests are logged like any web server, see privacy.
Can I use it from the browser?
Yes. CORS is open. Icons are cached for a day and 404s are not cached.
Logo or favicon, which URL?
Use /favicon/ for tabs, lists and small UI. Use the logo URL for full logos. Every brand page lists both the logo URL and the favicon URL.
My site's icon is missing or old.
Claim your brand and send the right file.