Favicon Fetcher - Get Any Site's Icon as a Data URI avatar

Favicon Fetcher - Get Any Site's Icon as a Data URI

Pricing

from $0.80 / 1,000 fetched icons

Go to Apify Store
Favicon Fetcher - Get Any Site's Icon as a Data URI

Favicon Fetcher - Get Any Site's Icon as a Data URI

Fetch any website's favicon and get it back as a base64 data URI plus a hosted PNG/ICO file URL, with content-type and real pixel dimensions. Bulk. $0.001 per icon, below paid favicon fetchers; failed fetches free.

Pricing

from $0.80 / 1,000 fetched icons

Rating

0.0

(0)

Developer

Broke to Built

Broke to Built

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Share

Favicon Fetcher — get any site's icon as a data URI

Fetch a website's favicon and get it back as a ready-to-embed base64 data: URI plus a hosted PNG/ICO file URL — with the content-type and real pixel dimensions (read from the image bytes). Discovers the best icon from <link> tags, the web manifest, and the /favicon.ico fallback. Single URL or bulk. $0.001 per icon. Failed fetches are recorded free.

What you get

  • dataUri — the favicon inline as data:image/…;base64,…, ready to drop into HTML/CSS.
  • fileUrl — the icon stored and served as a file.
  • contentType, bytes, and width/height (from PNG/ICO/GIF headers).
  • Picks the best icon near a preferred size, with /favicon.ico fallback.
  • Fail-soft: an unreachable site returns {ok:false, error} and is never charged.

Input

{ "url": "https://github.com", "urls": ["https://stripe.com"], "size": 64, "maxUrls": 25 }

Output (real run, 2026-08-07)

{
"ok": true,
"url": "https://github.com",
"iconUrl": "https://github.githubassets.com/favicons/favicon.svg",
"dataUri": "data:image/svg+xml;base64,PHN2Zy…",
"fileUrl": "https://api.apify.com/v2/key-value-stores/…/records/favicon-github.com-….svg",
"contentType": "image/svg+xml",
"bytes": 1543, "width": null, "height": null
}

Pricing — $0.001 per icon

Prices below checked via the Apify Store API on 2026-08-07:

ActorPricingOne icon
This actor$0.001 per icon$0.001
santamaria-automations/favicon-extractor$0.001 start + $0.002 per result$0.003
andok/favicon-extractor$0.01 start + $0.001 per item$0.011

Cheaper than the paid favicon fetchers, and it returns the actual image (data URI + hosted file), not just the icon URL.

Limits (honest ones)

  • Returns one best icon per site (data URI + file), not a full catalog of every declared icon — for that, see the related actor below.
  • Pixel dimensions are read from PNG/ICO/GIF headers; SVG/JPEG/WebP report null dimensions (scalable/undeclared).
  • maxUrls capped at 100 per run.

FAQ

  • Do I get the actual image? Yes — as a base64 data URI and as a hosted file URL.
  • Which formats? PNG, ICO, SVG, GIF, JPEG, WebP — whatever the site serves.
  • How is the best icon chosen? Nearest to your preferred size, weighting manifest/apple-touch icons, with /favicon.ico fallback.
  • What about a dead site? You get an {ok:false, error} record, uncharged.
  • Favicon Extractor (EliAI/webpage-favicon-extractor) — lists every icon a site declares (link tags, manifest, sizes/types) without downloading bytes. This actor fetches one as embeddable bytes; that one catalogs them all.

Use from code or AI agents

curl -X POST "https://api.apify.com/v2/acts/EliAI~favicon-to-data-uri/runs?token=YOUR_APIFY_TOKEN" \
-H 'content-type: application/json' -d '{"url":"https://github.com"}'

Callable as an agent tool through the Apify MCP server (mcp.apify.com).