Endpoint
Example
Parameters
string
required
The website domain, such as
example.com, with no protocol or path. Add .ico after it.Behavior
- The URL always ends in
.ico, but the file is the site’s own icon. It can be an ICO or a PNG. - You cannot choose a size. Most icons are 16 to 48 pixels, so they look blurry at large sizes.
- If DuckDuckGo finds no favicon, it returns a
404status with a grey placeholder image. An<img>tag still shows the placeholder. - The service works for public domains only, not for
localhostor IP addresses.
FAQs
Is the DuckDuckGo favicon API free?
Is the DuckDuckGo favicon API free?
Yes. It needs no key or account. DuckDuckGo publishes no terms or rate limits for it, so cache the icons on your side.
Can I get a larger icon?
Can I get a larger icon?
No. The service returns the icon that the site provides, at the size the site provides.
Can I use it in production?
Can I use it in production?
Many apps do, but DuckDuckGo does not support it. If you need company logos rather than favicons, use a logo service.
Company logos instead of favicons
A favicon is the small icon that a browser shows in a tab. The Logo.dev CDN returns a company logo from a URL, with these differences:- You can look up a logo by domain, stock ticker, ISIN, crypto symbol, or company name.
- You choose the
sizeand theformat:jpg,png, orwebp. - If Logo.dev has no logo, you get a monogram or a
404, whichever you choose. - It needs a publishable key, which is safe in client code.
Logo.dev CDN
Show company logos by domain, ticker, or name from a plain image URL.