Favicon Fetcher API — Get Any Site's Icon as Data URI avatar

Favicon Fetcher API — Get Any Site's Icon as Data URI

Pricing

$10.00 / 1,000 icon fetcheds

Go to Apify Store
Favicon Fetcher API — Get Any Site's Icon as Data URI

Favicon Fetcher API — Get Any Site's Icon as Data URI

Favicon fetcher API. Input: a website URL (url). Output: JSON with the favicon as a base64 dataUri, a hosted PNG/ICO file URL, content type, and size. Built for link lists, bookmark tools, and agent UIs. $0.01 per icon fetched.

Pricing

$10.00 / 1,000 icon fetcheds

Rating

0.0

(0)

Developer

Anthony Snider

Anthony Snider

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Favicon Fetcher & Data URI

Fetch any website's favicon and get it back as a base64 data URI plus a hosted PNG/ICO — ready to drop into link lists, bookmarks, dashboards, and agent UIs.

Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.

What you get

  • Smart discovery: parses <link rel="icon"> / apple-touch-icon, reads the web manifest icons, and falls back to /favicon.ico.
  • Best-size selection — pick a preferred edge size and it returns the closest available icon.
  • Data URI (data:image/png;base64,...) you can inline anywhere — no second request needed.
  • A hosted file URL on Apify storage (stable, CDN-served).
  • Format + dimensions detected from the raw bytes (PNG / ICO / GIF / SVG / WEBP / JPEG).
  • Bulk mode: pass many domains, one item per site, resilient per-item (one bad URL never fails the run).

Input

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

Or a single site:

{ "url": "google.com" }
FieldTypeDescription
urlstringA single URL or bare domain.
urlsarrayA list of URLs / domains to process in one run.
sizeintegerPreferred icon edge length in px (default 64).
maxUrlsintegerCap on sites per run (default 25, max 100).

Output

One dataset item per site:

{
"url": "https://github.com",
"iconUrl": "https://github.com/apple-touch-icon.png",
"dataUri": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
"fileUrl": "https://api.apify.com/v2/key-value-stores/<id>/records/favicon-github.com-ab12cd34ef.png",
"contentType": "image/png",
"bytes": 5829,
"width": 180,
"height": 180
}

Failed sites still produce an item: { "url": "...", "error": "..." }.

Pricing

Pay-per-event: $0.01 per favicon fetched (icon-fetched).