Favicon & Icon Extractor: verified sizes, manifest icons avatar

Favicon & Icon Extractor: verified sizes, manifest icons

Pricing

from $1.00 / 1,000 website processeds

Go to Apify Store
Favicon & Icon Extractor: verified sizes, manifest icons

Favicon & Icon Extractor: verified sizes, manifest icons

Get every favicon, apple-touch-icon, manifest and mask icon of any website, verified with real pixel size and format, plus the best icon, theme color and og:image. $1 per 1,000 sites, failed sites free.

Pricing

from $1.00 / 1,000 website processeds

Rating

0.0

(0)

Developer

Kevin Rajan

Kevin Rajan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Favicon & Icon Extractor: verified sizes, manifest icons, best icon

Give it a list of websites (bare domains or full URLs). For each website you get every icon it declares, each one verified: downloaded, confirmed to be a real image, and measured for true pixel size and format. You also get the single best icon to use in your app.

  • Every icon source: <link rel="icon">, shortcut icon, alternate icon, apple-touch-icon (and -precomposed), Safari mask-icon with its color, fluid-icon, msapplication-TileImage, web app manifest icons (with purpose, e.g. maskable), and /favicon.ico when it exists but is not declared.
  • Verified, not guessed: reads the first bytes of each icon to get its real format (PNG, ICO, SVG, GIF, JPEG, WebP, BMP) and real width × height (largest entry inside an .ico, viewBox for SVG). Broken icon links and soft 404s are flagged ok: false.
  • Best icon picked for you: the largest verified raster icon, falling back to SVG. Monochrome mask icons are never picked. Also returns primaryFavicon, the icon a browser shows in the tab.
  • Brand context: theme color, site name (manifest, og:site_name or application-name), og:image, page title and manifest URL.
  • Every website returned in full on every Apify plan, including the free plan.
  • Unreachable websites are free. You are charged only for websites whose page loaded.

Plain HTTP with no browser, so it is fast and cheap. Each website gets one page request, one manifest request and at most 10 small icon reads (configurable).

Input

{
"urls": ["https://www.python.org", "apify.com", "github.com"],
"verifyIcons": true,
"maxIconsPerSite": 10,
"concurrency": 10
}
FieldDefaultDescription
urlsrequired1 to 5,000 websites. Bare domains get https://.
verifyIconstrueDownload the first 64 KB of each icon to verify it and read its real size. Set to false for declared data only.
maxIconsPerSite10Icons verified per website. Tab icons are checked first, then the largest declared sizes. Others are listed as not_checked.
concurrency10Websites processed in parallel. Requests to the same host are spaced 0.25 s apart.

The input is compatible with other favicon Actors that take a urls string list. Output fields are camelCase. If you are switching from an Actor with snake_case output, map: final_url → url, status_code → statusCode, favicon_count → iconCount, primary_favicon → primaryFavicon, favicons → icons (href → url, sizes → declaredSizes, type → declaredType).

Output

One dataset row per website (shortened):

{
"input": "https://www.python.org",
"url": "https://www.python.org",
"domain": "www.python.org",
"statusCode": 200,
"error": null,
"title": "Welcome to Python.org",
"siteName": "Python.org",
"themeColor": null,
"maskIconColor": null,
"ogImage": "https://www.python.org/static/opengraph-icon-200x200.png",
"manifestUrl": null,
"primaryFavicon": "https://www.python.org/static/favicon.ico",
"bestIcon": {"url": "https://www.python.org/static/apple-touch-icon-144x144-precomposed.png",
"rel": "apple-touch-icon-precomposed", "format": "png", "width": 144, "height": 144},
"iconCount": 7,
"icons": [
{"url": "https://www.python.org/static/favicon.ico", "rel": "icon", "source": "html",
"declaredSizes": null, "declaredType": "image/x-icon", "color": null, "purpose": null,
"statusCode": 200, "contentType": "image/x-icon", "ok": true, "format": "ico",
"width": 48, "height": 48, "error": null}
]
}

source is html, manifest or fallback. A fallback is an undeclared /favicon.ico; it is always verified and listed only when it really exists. With verifyIcons: false it is omitted. Icon error is not_checked, not_an_image, timeout, unreachable or null. A website that cannot be loaded still gets a row with statusCode, an error (http_error, not_html, timeout, unreachable, extract_failed) and no icons, and it is not charged.

Download results as JSON, CSV, Excel or HTML, or read them through the Apify API. They work with Make, Zapier, n8n and scheduled runs.

Pricing

Pay per event:

  • $0.001 per website whose page loaded ($1.00 per 1,000 websites).
  • $0.00005 per run start.
  • Unreachable websites and HTTP errors cost nothing.

A single-website API call costs about $0.00105. Actors that charge a $0.005 start fee plus $0.002 per site cost about $0.007 for the same call.

Why this Actor

  • About 6× cheaper per single-site call than the most used favicon Actor on the Store. The per-site price is half of theirs on the free plan and lower on every plan.
  • No free-plan cap. Some favicon Actors return only the first 3 websites in full on the free plan; this one returns every website in full.
  • Verified sizes, not just declared ones. Many sites declare sizes="any" or nothing at all, and some declared icon URLs are broken. You get the real dimensions and an ok flag.
  • Manifest icons included. The largest icons (192 px, 512 px, maskable) usually live only in site.webmanifest.
  • A best-icon field so you do not have to rank icons yourself.

Use cases

  • Show site icons in dashboards, bookmark managers, link previews, directories and internal tools.
  • Pick a high-resolution icon (180 px or larger) instead of a blurry 16 px favicon.
  • Audit your own sites: missing apple-touch-icon, broken icon links, missing manifest icons or theme color.
  • Monitor icon and brand-color changes across your portfolio on a schedule.

FAQ

Does it use a browser or proxies? No. It makes plain HTTP requests from the Apify platform with a descriptive User-Agent, so it is fast and inexpensive. Icons that a site injects only with JavaScript are not seen.

What does "verified" mean? The Actor downloads at most the first 64 KB of each icon, checks the file signature, and reads the dimensions from the image header. A URL that returns HTML (a soft 404) is marked ok: false, error: not_an_image.

Why is bestIcon sometimes an SVG with a size? SVG icons are vector images. Their size comes from width/height or viewBox, and they are chosen only when no raster icon is available.

Does it download or store the image files? No. It returns URLs and metadata only. Use the icon URLs to fetch the images you need.

Which sites can I use it on? Public websites you are allowed to access. It reads only the homepage you supply plus the icon and manifest files that page links to. It does not log in or bypass anti-bot protection. It collects no personal data.

Can I limit what a run costs? Yes. Set a maximum charge per run in the run options. The Actor stops before processing websites it could not bill.

Some sites return 403. Sites behind bot protection block automated requests. This Actor does not try to bypass that; such sites come back with their status code and are not charged.

Something is wrong or missing. Open an issue on the Issues tab with the website and what you expected.