# Website Favicon and Logo Extractor (`nordic-data/website-favicon-logo-extractor`) Actor

Extract favicons, Apple touch icons, logos, theme colors and web manifest icons from any website in bulk. Reads HTML, the web manifest and /favicon.ico. $0.0017 per site.

- **URL**: https://apify.com/nordic-data/website-favicon-logo-extractor.md
- **Developed by:** [Niklas Bergström](https://apify.com/nordic-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.70 / 1,000 website checkeds

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

## Website Favicon and Logo Extractor

Pull the **favicon, Apple touch icon, brand logo and theme color** from any public website, in bulk. The Actor reads the page HTML, the web app manifest and `/favicon.ico` — no browser, no API key, no third-party lookup service.

**$0.0017 per website checked.** Invalid inputs, duplicates, unreachable or blocked sites, and (with *Only output sites with a favicon*) hidden rows are free.

### What you get

| Field | Meaning |
|---|---|
| `domain`, `finalUrl`, `title`, `siteName` | The page that was scanned |
| `faviconUrl`, `faviconWidth`, `faviconHeight`, `faviconMime`, `faviconSource` | The best favicon (HTML `rel=icon`, manifest icon or `/favicon.ico`) |
| `appleTouchIconUrl` | The largest Apple touch icon, when the site declares one |
| `logoUrl`, `logoSource`, `logoWidth`, `logoHeight`, `logoMime` | A brand logo from JSON-LD, Open Graph / Twitter image, a logo `<img>`, the manifest or the Apple touch icon |
| `themeColor`, `backgroundColor` | From `theme-color` / `msapplication-TileColor` or the web manifest |
| `manifestUrl`, `iconCount`, `icons` | The manifest URL and the full list of icon candidates (toggle with *Include the full icon list*) |

Icon files themselves are not stored; you get URLs plus measured type and pixel size.

### Use cases

- **Lead lists and CRMs:** attach a favicon or logo to every company domain before you import the list.
- **Brand-asset audits:** see which sites in a portfolio are missing a favicon, an Apple touch icon or a theme color.
- **Design and marketplace tools:** resolve icons for a directory, bookmark manager or tab list.
- **Automations:** feed results into Make, n8n, Zapier or your own app through the Apify API.

### Input example

```json
{
  "urls": ["apify.com", "github.com", "https://www.wikipedia.org/"],
  "findLogo": true,
  "enrichIcons": true,
  "includeIconList": true,
  "onlyWithFavicon": false,
  "maxConcurrency": 10
}
```

Paste domains or full page URLs in `urls`. Duplicates are skipped.

### Output example

```json
{
  "recordType": "site",
  "input": "github.com",
  "domain": "github.com",
  "finalUrl": "https://github.com/",
  "title": "GitHub · Plan · Track · Code",
  "siteName": "GitHub",
  "themeColor": "#1e2327",
  "faviconUrl": "https://github.githubassets.com/favicons/favicon.svg",
  "faviconMime": "image/svg+xml",
  "faviconSource": "html-link",
  "appleTouchIconUrl": "https://github.githubassets.com/favicons/apple-touch-icon.png",
  "logoUrl": "https://github.githubassets.com/images/modules/site/social-cards/github-social.png",
  "logoSource": "open-graph",
  "iconCount": 6,
  "checkedAt": "2026-11-10T09:30:00Z"
}
```

(Example values; live markup changes.)

### How it works

1. Fetch the page over HTTP (HTTPS first, HTTP fallback) and parse `link rel` icons, `apple-touch-icon`, mask icons, `theme-color`, Open Graph / Twitter images and JSON-LD `logo`.
2. If a web app manifest is linked, read its `icons`, `theme_color` and `name`.
3. Always consider `/favicon.ico` as a fallback.
4. Optionally download each candidate (capped at 512 KB, metadata only) to record width, height, MIME type and bytes.
5. Pick the best favicon (largest complete image, preferring SVG/PNG over ICO) and a logo candidate.

The Actor only requests public pages and public icon URLs. It does not log in, fill forms or bypass access controls. Up to 10,000 unique websites per run. Use `maxConcurrency` to stay polite.

### Related Actors

- [Website Tech Stack Detector](https://apify.com/nordic-data/website-tech-stack-detector): CMS, ecommerce, analytics and marketing tools on the same sites.
- [Website SEO Audit](https://apify.com/nordic-data/website-seo-audit): on-page SEO, issues and broken links.
- [Domain WHOIS & DNS Lookup](https://apify.com/nordic-data/domain-whois-dns-lookup)

# Changelog

This Actor's version history is a separate document: https://apify.com/nordic-data/website-favicon-logo-extractor/changelog.md

# Actor input Schema

## `urls` (type: `array`):

Domains or page URLs to scan, e.g. apify.com or https://www.example.com/. One result per unique website. Duplicates are skipped and never charged.

## `findLogo` (type: `boolean`):

Look for a brand logo in JSON-LD, Open Graph / Twitter images, Apple touch icons, the web manifest and <img> tags whose name, class or alt contains 'logo'.

## `enrichIcons` (type: `boolean`):

Download each candidate icon (capped, metadata only) to record width, height, MIME type and byte size. Turn off for a faster HTML-only pass.

## `includeIconList` (type: `boolean`):

Add an `icons` array with every favicon, Apple touch icon, mask icon and manifest icon found, not just the best one.

## `onlyWithFavicon` (type: `boolean`):

Hide websites where no favicon could be found. Hidden rows are not charged.

## `maxConcurrency` (type: `integer`):

How many websites are scanned in parallel (1-30).

## Actor input object example

```json
{
  "urls": [
    "apify.com",
    "github.com",
    "wikipedia.org"
  ],
  "findLogo": true,
  "enrichIcons": true,
  "includeIconList": true,
  "onlyWithFavicon": false,
  "maxConcurrency": 10
}
```

# Actor output Schema

## `sites` (type: `string`):

Favicon, logo and theme-color results (view: Overview).

## `runStats` (type: `string`):

Counts of checked, hidden, invalid, duplicate and failed websites, plus how many had a favicon or logo.

# 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 = {
    "urls": [
        "apify.com",
        "github.com",
        "wikipedia.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("nordic-data/website-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 = { "urls": [
        "apify.com",
        "github.com",
        "wikipedia.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("nordic-data/website-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 '{
  "urls": [
    "apify.com",
    "github.com",
    "wikipedia.org"
  ]
}' |
apify call nordic-data/website-favicon-logo-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nordic-data/website-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/uvdpPk0XNEdTjAAMI/builds/74LvHPE3vr0LWHZjx/openapi.json
