# Favicon & Logo Extractor — Brand Assets, Icons, Theme Color (`northbell/website-brand-assets-scraper`) Actor

Get a website's favicon, logo icons, theme color, og:image, site name and web app manifest in one row per site. Each icon is fetched to confirm its HTTP status, format and real pixel size. robots.txt respected, no browser. $2 per 1,000 sites.

- **URL**: https://apify.com/northbell/website-brand-assets-scraper.md
- **Developed by:** [Northbell](https://apify.com/northbell) (community)
- **Categories:** SEO tools, Developer tools, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 sites

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 — Brand Assets, Icons, Theme Color

Give it websites and get **one row per site** with its favicon and other icons, each one fetched to confirm its **HTTP status, format and real pixel size**, plus the **theme color**, **og:image**, site name and **web app manifest**. $2 per 1,000 sites. No browser, no login.

**Try it now. The input is already filled in.** Press **Start**. In a local test on 19 Nov 2026, gov.uk, Wikipedia and stripe.com gave **3 rows with 10 icons checked in 8.7 seconds**, which is $0.016 at the prices below. The gov.uk row (long addresses shortened here):

```json
{
  "type": "site",
  "inputUrl": "https://www.gov.uk",
  "finalUrl": "https://www.gov.uk/",
  "status": 200,
  "title": "Welcome to GOV.UK",
  "themeColor": "#1d70b8",
  "ogImage": "https://www.gov.uk/assets/frontend/govuk-opengraph-image-4196a4….png",
  "icons": [
    { "rel": "icon", "href": "…/favicon-24f9fb….ico", "sizes": "48x48", "httpStatus": 200, "format": "ico", "width": 48, "height": 48, "bytes": 6318 },
    { "rel": "icon", "href": "…/favicon-d962d2….svg", "sizes": "any", "httpStatus": 200, "format": "svg", "width": 32, "height": 32, "bytes": 1846 },
    { "rel": "mask-icon", "href": "…/govuk-icon-mask-cdf426….svg", "color": "#1d70b8", "httpStatus": 200, "format": "svg", "width": 512, "height": 512, "bytes": 2979 },
    { "rel": "apple-touch-icon", "href": "…/govuk-icon-180-d45a30….png", "httpStatus": 200, "format": "png", "width": 180, "height": 180, "bytes": 7524 }
  ],
  "manifestUrl": null,
  "primaryIcon": { "href": "…/govuk-icon-180-d45a30….png", "format": "png", "width": 180, "height": 180, "bytes": 7524, "confirmed": true }
}
```

The same test on two sites with a web app manifest (web.dev, github.com) read the manifest and checked up to 10 of its icons each; the largest icon found was 512 x 512 on both.

### Input

```json
{ "urls": ["stripe.com", "https://www.gov.uk"], "checkIcons": true, "maxIconsPerSite": 10, "saveIcons": false }
```

| Field | Default | What it does |
|---|---|---|
| `urls` | required | Websites or bare domains. A path is ignored: the homepage `https://host/` is read. |
| `checkIcons` | on | Fetch each icon to confirm status, format and pixel size, and try `/favicon.ico` when the page declares no icon. Off: only what the HTML and manifest declare, with far fewer requests. |
| `maxIconsPerSite` | 10 | Icons fetched per site (1 to 30). Apple-touch icons and the largest sizes go first; the rest are listed without a check. |
| `saveIcons` | off | Store each site's primary icon in the run's key-value store and put its public link in `savedIconUrl`. |

### What you get

One row per site (`type: "site"`):

| Field | Meaning |
|---|---|
| `inputUrl`, `finalUrl`, `status` | What you gave, where the homepage ended up after redirects, its HTTP status |
| `siteName` | `og:site_name`, else `application-name`, else the manifest `name` |
| `title`, `ogTitle` | The page title and `og:title` |
| `themeColor`, `themeColors` | The `theme-color` meta without a media query (else the first one, else the manifest `theme_color`); `themeColors` lists all variants with their `media` |
| `backgroundColor` | The manifest `background_color` |
| `ogImage`, `twitterImage` | `og:image` and `twitter:image`, as full addresses |
| `applicationName`, `tileColor`, `tileImage` | `application-name`, `msapplication-TileColor`, `msapplication-TileImage` |
| `icons[]` | Every `icon`, `shortcut icon`, `apple-touch-icon`, `apple-touch-icon-precomposed` and `mask-icon` link: `rel`, `href`, `sizes`, `type`, `color`, and (with `checkIcons`) `httpStatus`, `format`, `width`, `height`, `bytes`, and a `note` when the file is not an image or could not be fetched |
| `manifestUrl`, `manifestName`, `manifestShortName` | The linked web app manifest and its names |
| `manifestIcons[]` | The manifest `icons`: `href`, `sizes`, `type`, `purpose`, and the same check fields |
| `primaryIcon` | The best icon: the largest confirmed square PNG (or other raster) of at least 180 px, else a square SVG, else the largest square raster or ICO. A `maskable`-only icon is passed over. `confirmed: false` when `checkIcons` is off (then chosen by declared size) |
| `savedIconUrl` | Public link to the stored primary icon (with `saveIcons`) |
| `observedAt` | When the site was read |

Width and height come from the file itself, not from the `sizes` attribute: an ICO reports its largest entry, an SVG its `width` and `height` or its `viewBox`.

Error rows (`type: "error"`, free) have `url` and a `message` that says what to do.

### Pricing

**$2 per 1,000 sites** ($0.002 each), plus **$0.01 per run**, charged together with the first site row. Error rows are free, and a run where no site could be read costs nothing. Put all your sites in one run and you pay the start fee once.

### Questions

**What does a run cost?**
$0.002 per site and $0.01 once per run, so 1,000 sites cost $2.01. Icon checks, the manifest and `saveIcons` are included. The start fee is charged with the first site row, so a run that returns no site row costs nothing.

**Why did I get 0 results, or a missing icon?**
A free error row says why: the site's `robots.txt` does not allow reading its homepage, the homepage answered an error (some sites refuse automated requests with HTTP 403), the address could not be reached, or it is a private or local address. Missing icons: `icons` is empty when the page declares none and `checkIcons` is off; with `checkIcons` on, `/favicon.ico` is tried and its `httpStatus` shows whether it exists. An icon with `format: null` and a `note` was fetched but is not an image (often an HTML error page returned with status 200). Icons that a page adds with JavaScript are not seen.

**How do I run it on a list or on a schedule?**
Paste the whole list into `urls` (one run, one start fee) or send it through the API as `{"urls": [...]}`. Up to 5 sites are read at the same time, each host one request at a time, so a site takes roughly 5 to 15 seconds with `checkIcons` on (two sites with a manifest took 17 seconds together) and 100 sites take a few minutes. To watch a list for changes, save the input as a task and add a Schedule; each run returns the current state of every site.

**Which fields do I get?**
`siteName`, `title`, `themeColor`, `backgroundColor`, `ogImage`, `twitterImage`, `icons[]`, `manifestIcons[]`, `primaryIcon` and `savedIconUrl`, plus the others in "What you get".

### Notes

- Every host's **robots.txt is read first** (the rules for all robots and those addressed to Claude crawlers), also for icon and manifest hosts and after redirects. An icon or manifest it does not allow is listed with `note: "not fetched: robots.txt"`. Links to private or local networks are not read.
- Only the **homepage and the files it links** are read: the manifest and the icons. No login, no proxy, no browser, no JavaScript.
- Requests are polite: one at a time per host, at least 1 second apart, with the User-Agent `Mozilla/5.0 (compatible; northbell-brand-assets/1.0; +https://apify.com/northbell)`.
- The page you get is what the server sends to a datacenter address. Sites that choose a language or country from the address may redirect the homepage to another version (`finalUrl` shows it), and a few block automated requests.
- Large files are skipped: icons over 2 MB, homepages are read up to their first 2 MB.

# Actor input Schema

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

Websites or bare domains, one per line (stripe.com or https://stripe.com/pricing). Each site's homepage is read; a path is ignored. The site's robots.txt is checked first.

## `checkIcons` (type: `boolean`):

On: each icon is fetched to confirm its HTTP status, format and real pixel size, and /favicon.ico is tried when the page declares no icon. Off: only what the HTML and manifest declare (faster, fewer requests).

## `maxIconsPerSite` (type: `integer`):

Icons fetched per site, apple-touch icons and the largest first. The rest are listed without a check.

## `saveIcons` (type: `boolean`):

Store each site's primary icon in the run's key-value store and put its public link in the row (savedIconUrl).

## Actor input object example

```json
{
  "urls": [
    "https://www.gov.uk",
    "https://en.wikipedia.org"
  ],
  "checkIcons": true,
  "maxIconsPerSite": 10,
  "saveIcons": false
}
```

# Actor output Schema

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

Site name, theme color, og:image, primary icon and the number of icons of every site.

# 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": [
        "https://www.gov.uk",
        "https://en.wikipedia.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("northbell/website-brand-assets-scraper").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": [
        "https://www.gov.uk",
        "https://en.wikipedia.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("northbell/website-brand-assets-scraper").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": [
    "https://www.gov.uk",
    "https://en.wikipedia.org"
  ]
}' |
apify call northbell/website-brand-assets-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,northbell/website-brand-assets-scraper"
        }
    }
}
```

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/d5ggy6Jh8hVGdANiB/builds/MuYwdNfogq2r1qSYz/openapi.json
