# Favicon & Logo Extractor – Icons, Brand Colors & Fonts (`steadyscrape/favicon-logo-extractor`) Actor

Get any website's favicons in every size, apple-touch and manifest icons, header logo as SVG or PNG, Open Graph image, brand colors, web fonts, brand name and social links: the brand kit of each domain in one row, no start fee. Export to JSON, CSV or Excel, or via API.

- **URL**: https://apify.com/steadyscrape/favicon-logo-extractor.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (community)
- **Categories:** Developer tools, Lead generation, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 domain with brand assets

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Favicon & Logo Extractor – Icons, Brand Colors & Fonts

**Favicon & Logo Extractor** gets the brand kit of any company website from its domain: every **favicon** size (`.ico`, PNG, SVG), the **apple-touch icon** and web-manifest icons, the **header logo as SVG or PNG**, the **Open Graph image**, the **brand colors** and theme color, the **web fonts**, the **brand name** and the **social links** — one row per domain, measured from the real files. A Clearbit Logo API alternative you run on your own list: **no start fee**, a free row for every site that answers nothing, and an optional **PNG copy** of each logo and icon behind a public link. Export to JSON, CSV or Excel, or use it via API.

### What the favicon and logo extractor returns

For each website you give (a domain, a link into the site, or an email address):

- **Favicons in every size** — each `<link rel="icon">`, `shortcut icon`, `apple-touch-icon`, `mask-icon`, Windows tile and web-manifest icon, plus the site's `/favicon.ico`. Every icon is downloaded and measured: format, width, height and bytes. A link that is dead or answers an HTML page is left out, so every URL you get works.
- **The best icon for each job** — `faviconUrl` (the browser-tab icon, the smallest raster of at least 32 px), `svgIconUrl`, `appleTouchIconUrl`, `largestIconUrl` and its size.
- **The company logo** — the image or inline SVG the site's header links home with, the logo declared in its structured data (schema.org `logo`) and microdata, ranked; customer-logo walls, partner badges, payment icons and language flags are left out. `logoUrl` is the best logo file (format and size measured); `logoSvg` is the logo as SVG markup whenever it is drawn inline or is an SVG file.
- **Brand colors** — `theme-color`, the mask-icon color, the Windows tile color, the manifest's theme and background colors, and the main colors of the logo and icon with their share of the drawing. `primaryColor` is the first real color among them (whites, greys, blacks and near-blacks are skipped).
- **Web fonts** — families from Google Fonts, Bunny Fonts and Adobe Fonts links, `@font-face` rules in the page and its first stylesheets, and Shopify theme fonts. Icon fonts are left out.
- **Brand name, page title, description, share image and social links** — LinkedIn, Facebook, Instagram, X, YouTube, TikTok and Pinterest profiles linked from the homepage.
- **PNG copies (optional)** — the logo (up to 1024×512) and the largest icon (up to 512×512) saved as PNGs behind links anyone can open: SVG logos and `.ico` favicons become images any CRM, mail tool or spreadsheet can show.

### Use cases for a logo and favicon API

- **Enrich a lead list or CRM** with each company's logo, favicon and brand colors (HubSpot, Salesforce, Airtable, Notion).
- **Show company logos in your app**: dashboards, customer lists, link previews, bookmark managers, directories.
- **Build brand kits** for agencies and designers: logo SVG, colors and fonts of a client or competitor in one call.
- **Replace the Clearbit Logo API** or a favicon service with links you control and copies stored in your own Apify storage.
- **Audit websites**: missing favicon, no apple-touch icon, no SVG logo, broken icon links, no web manifest.

### Input

| Field | What it does |
|---|---|
| `websites` | Domains, links or emails, one per line (up to 25,000 per run). |
| `datasetId` | Or pick the dataset of another run (a Google Maps scrape, a lead list): each item's website is read. |
| `datasetField` | The item field holding the website (`website`, `company.domain`); empty takes the first field named like website, homepage, domain or url. |
| `storePngCopies` | Also store PNG copies of the logo and the largest icon (charged per copy). Default off. |

```json
{
  "websites": ["stripe.com", "basecamp.com", "mymuesli.com"],
  "storePngCopies": true
}
```

### Output example

One row per website (shortened):

```json
{
  "status": "ok",
  "website": "https://stripe.com/",
  "brandName": "Stripe",
  "logoUrl": "https://images.stripeassets.com/…/favicon.svg",
  "logoFormat": "svg",
  "logoSource": "json-ld",
  "logoSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"25\" fill=\"#031323\" viewBox=\"0 0 60 25\" …",
  "faviconUrl": "https://assets.stripeassets.com/…/favicon.ico",
  "svgIconUrl": "https://images.stripeassets.com/…/favicon.svg",
  "appleTouchIconUrl": "https://images.stripeassets.com/…/favicon.png?w=180&h=180",
  "largestIconSize": 180,
  "ogImageUrl": "https://b.stripecdn.com/…/stripe.37119086.jpg",
  "primaryColor": "#533afd",
  "brandColors": [{ "hex": "#031323", "source": "logo", "share": 1 }, { "hex": "#533afd", "source": "icon", "share": 0.77 }],
  "fontFamilies": ["sohne-var", "SourceCodePro"],
  "socialLinks": { "linkedin": "https://www.linkedin.com/company/stripe", "x": "https://x.com/stripe", "…": "…" },
  "icons": [{ "url": "…/favicon.png?w=96&h=96", "source": "link-icon", "format": "png", "width": 96, "height": 96, "bytes": 1487 }],
  "storedImages": [{ "kind": "logo", "pngUrl": "https://api.apify.com/v2/key-value-stores/…/records/logo-000000.png?signature=…", "width": 1024, "height": 427 }],
  "unreadFields": []
}
```

### Output fields

| Field | Description |
|---|---|
| `status` | `ok` (charged), or a free row: `noAssets`, `unreachable`, `notInDns`, `blocked`, `invalid`, `duplicate`. |
| `reason` | Why a free row has nothing; `null` on `ok` rows. |
| `input`, `source`, `datasetItemIndex` | The website exactly as given, whether it came from `websites` or the dataset, and the dataset item's position. |
| `website`, `domain`, `finalUrl` | The homepage asked for, its registrable domain, and the address the homepage ended on after redirects. |
| `brandName`, `pageTitle`, `description` | The name the site gives itself (share name, structured data, app name, title), its title and description. |
| `logoUrl`, `logoFormat`, `logoWidth`, `logoHeight`, `logoSource` | The best logo file and where it was found: `header-home-link`, `header`, `json-ld`, `microdata`, `home-link`, `logo-element`. |
| `logoSvg` | The logo as SVG markup (inline in the page or an SVG file), when there is one. |
| `logos` | Every logo candidate, best first, with format, size, alt text and whether it is inline. |
| `faviconUrl`, `svgIconUrl`, `appleTouchIconUrl`, `largestIconUrl`, `largestIconSize` | The icon to use for each purpose. |
| `icons`, `iconCount` | Every icon that answered as an image: URL, where it was declared, format, measured size, bytes, declared sizes, type and manifest purpose. |
| `manifestUrl` | The web app manifest. |
| `ogImageUrl`, `ogImageWidth`, `ogImageHeight`, `twitterImageUrl` | The share images. |
| `themeColor`, `primaryColor`, `brandColors` | Declared and drawn colors; `share` is the part of the logo or icon a color covers. |
| `fontFamilies`, `fonts` | Web font families and where each was found. |
| `socialLinks` | The company's profiles on LinkedIn, Facebook, Instagram, X, YouTube, TikTok and Pinterest. |
| `storedImages` | The PNG copies, when asked: kind, source file, public link, size. |
| `unreadFields` | `icons`, `logos` or `fonts` when a file feeding them got no answer: those lists may be incomplete. |
| `scrapedAt` | When the run read the website (UTC, ISO 8601). |

### Pricing

Pay per event, **no start fee**:

- **US$0.002 per domain** delivered with at least one icon or logo.
- **US$0.0005 per PNG copy** stored, only when `storePngCopies` is on.
- **Free**: websites without any icon or logo, unreachable, not in DNS, blocked, invalid and repeated inputs.

1,000 domains cost US$2. Set a spending limit on the run and it stops before a website it could not pay for.

### Limits

- The Actor reads the **homepage** of each website with plain HTTP, like a browser without JavaScript. A logo that only appears after scripts run is not seen; the declared icons, manifest and structured data still are.
- A **bot check** (Cloudflare "Just a moment", DataDome, PerimeterX…) is never solved: that website is a free `blocked` row. A refused request is asked once more from another IP.
- An inline SVG painted with `currentColor` takes its color from the page's CSS, so it gives no brand color, and it renders black on its own.
- Social networks, link-in-bio pages and directories (Facebook, Instagram, Yelp, Linktree…) are not company websites and are refused as input.
- Private, local and reserved network addresses are never connected to.

### Is it legal to extract favicons and logos?

The Actor reads only the public homepage of the websites you name and the files that page links to, at a visitor's pace, without logging in and without passing any bot check. Logos and brand assets are usually trademarks of their owners: use them to identify the company (in a CRM, a directory, a link preview), and check the brand's guidelines before any other use. You are responsible for how you use the data.

This Actor is not affiliated with, endorsed by or connected to the websites it reads, to Clearbit or HubSpot, or to
any brand whose logo it returns; every name and logo belongs to its owner.

### Related Actors

- **Website Tech Stack Detector** — the CMS, shop platform, pixels and email provider of the same websites.
- **Website Contact Scraper** — emails, phones and social profiles from a list of websites.
- **Google Maps Email Extractor** — businesses from Google Maps with their websites and emails, ready for this Actor's dataset input.

# Actor input Schema

## `websites` (type: `array`):

Company websites, one per line: a domain (<code>stripe.com</code>), any link into the site (<code>https://www.acme.com/shop</code>) or an email address (<code>info@acme.com</code> reads acme.com). Each website comes back as one row with its favicons, logo, brand colors, fonts, name and social links. Up to 25,000 per run, together with the dataset below. Social profiles and directory pages (Facebook, Yelp…) are not company websites: they come back as free rows that say so.

## `datasetId` (type: `string`):

Pick the dataset of another run (a Google Maps scrape, a lead list, a CRM import) and every item's website is read. Only the dataset you pick here can be read. Items without a website are skipped and counted in the status message.

## `datasetField` (type: `string`):

The field of each dataset item that holds its website, as a dotted path (<code>website</code>, <code>company.domain</code>). Leave empty to take the first field named like <code>website</code>, <code>homepage</code>, <code>domain</code> or <code>url</code> that holds a website.

## `storePngCopies` (type: `boolean`):

Also save the logo (up to 1024×512) and the largest icon (up to 512×512) as PNG files in this run's storage, each behind a link anyone can open: SVG logos and .ico favicons become PNGs a CRM, a mail tool or a spreadsheet can show. Each copy stored is charged on its own. Off: only the links on the website are returned.

## Actor input object example

```json
{
  "websites": [
    "stripe.com",
    "basecamp.com",
    "mymuesli.com"
  ],
  "storePngCopies": false
}
```

# Actor output Schema

## `rows` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "websites": [
        "stripe.com",
        "basecamp.com",
        "mymuesli.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/favicon-logo-extractor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "websites": [
        "stripe.com",
        "basecamp.com",
        "mymuesli.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("steadyscrape/favicon-logo-extractor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "websites": [
    "stripe.com",
    "basecamp.com",
    "mymuesli.com"
  ]
}' |
apify call steadyscrape/favicon-logo-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyscrape/favicon-logo-extractor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yAHEERCIPOR6IQz6g/builds/f0vBgsJ8caTknf37z/openapi.json
