Favicon API

Fetch any site's favicon

Pass a domain to /favicon?url=… and get back the site's icon, proxied through our edge. Works for bookmarks, link previews, and dashboard tiles.

Target Domain

Enter the website URL to extract its favicon assets.

HTTPS supported. Assets are automatically proxied for CORS.
Asset PreviewLive

Submit a URL to extract and preview high-resolution favicon assets.

API Integration

Need to dynamically display icons for user-submitted links? Use our asset proxy to fetch and serve icons without worrying about CORS or broken links.

Direct Usage

https://imgsrc.pub/favicon?url=[URL]
CORS Proof

Our proxy handles cross-origin requests automatically.

Fallback

Auto-replacement if the site has no valid favicon.

How it works

01

DOM Analysis

We crawl the target URL and look for <link rel='icon'> and apple-touch-icon tags in the headers.

02

Static Probing

If no tags exist, we probe common paths like /favicon.ico and /favicon.png at the root.

03

Asset Proxy

The discovered image is served through our global CDN for maximum speed and availability.