# Favicon and Brand Asset Harvester (`wiry_kingdom/favicon-brand-harvester`) Actor

Extract every favicon, apple-touch-icon, manifest icon, Open Graph image, Twitter card, and theme color from any website. Returns absolute URLs with sizes and MIME types. Brand monitoring, design libraries, social previews, competitive analysis.

- **URL**: https://apify.com/wiry\_kingdom/favicon-brand-harvester.md
- **Developed by:** [Mohieldin Mohamed](https://apify.com/wiry_kingdom) (community)
- **Categories:** Developer tools, Marketing
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Favicon & Brand Asset Harvester

**Extract every icon, logo, and brand asset from any website in one request.**

This actor reads a page's `<head>`, finds every favicon variant, every apple-touch-icon size, every web manifest icon, the Open Graph and Twitter share images, the Microsoft tile image, and the theme color — then optionally HEAD-pings each one to verify it exists and capture its size and MIME type.

### What does Favicon & Brand Asset Harvester do?

Every modern website declares 5–20 different brand assets across `<link rel="icon">`, `<link rel="apple-touch-icon">`, `<link rel="manifest">`, `<meta property="og:image">`, and more. Finding them all by hand is tedious and error-prone. This actor does it in one HTTP request and returns every absolute URL, every declared size, and every MIME type as a clean structured row.

Try it: paste `https://apify.com` into the Start URLs field and you'll get back the full set of icons Apify uses, including the 32×32 favicon, the 180×180 apple-touch-icon, every web manifest icon, the OG share image, and the theme color.

Apify platform advantages: **schedule daily runs** to detect when a competitor changes their branding, **API access** for design asset libraries, **integrations** with Slack/Notion to alert on changes, and **proxy rotation** for sites that block server IPs.

### Why use Favicon & Brand Asset Harvester?

- **Brand monitoring** — get notified when a competitor refreshes their visual identity
- **Design asset libraries** — bulk-import every brand mark from a list of URLs
- **Social preview tools** — inspect OG and Twitter card images for any URL
- **Browser extension development** — get high-quality icons for any site you display
- **App icon collection** — Apple touch icons are often the highest-quality square logo a site publishes
- **Marketing intelligence** — track what theme colors and brand visuals competitors use
- **Audit your own site** — verify every icon variant you declared actually loads

### How to use

1. Click **Try for free** (or **Start**)
2. Paste website URLs into **Start URLs**
3. Optionally toggle **Verify assets** off for faster (but less complete) output
4. Click **Start**
5. Download the dataset as JSON / CSV / Excel

### Input

- **Start URLs** — websites to harvest assets from
- **Verify each asset** — HEAD-ping each discovered URL (default: yes)
- **Fetch web app manifest** — also parse `manifest.json` for declared icons (default: yes)
- **Include Open Graph and Twitter card images** — include social share images (default: yes)
- **Proxy configuration** — optional Apify Proxy

### Output

```json
{
    "sourceUrl": "https://apify.com",
    "finalUrl": "https://apify.com/",
    "siteName": "Apify",
    "themeColor": "#ffffff",
    "favicons": [
        {
            "url": "https://apify.com/favicon-32x32.png",
            "sizes": "32x32",
            "type": "image/png",
            "rel": "icon",
            "verified": true,
            "mimeType": "image/png",
            "byteSize": 1234
        }
    ],
    "appleTouchIcons": [
        {
            "url": "https://apify.com/apple-touch-icon.png",
            "sizes": "180x180",
            "rel": "apple-touch-icon",
            "verified": true,
            "mimeType": "image/png",
            "byteSize": 5678
        }
    ],
    "manifestIcons": [
        {
            "url": "https://apify.com/icons/icon-192x192.png",
            "sizes": "192x192",
            "type": "image/png",
            "purpose": "any",
            "verified": true,
            "mimeType": "image/png",
            "byteSize": 4321
        }
    ],
    "manifestUrl": "https://apify.com/manifest.json",
    "openGraphImage": "https://apify.com/og-default.png",
    "twitterImage": "https://apify.com/twitter-card.png",
    "msapplicationTileImage": null,
    "totalAssets": 8,
    "extractedAt": "2026-04-15T18:00:00.000Z"
}
````

### Data table

| Field | Type | Description |
|-------|------|-------------|
| `sourceUrl` | string | The URL you provided |
| `finalUrl` | string | The URL after following redirects |
| `siteName` | string | Site name from `og:site_name` or `<title>` |
| `themeColor` | string | The `theme-color` meta value (mobile browser chrome color) |
| `favicons` | array | Every `<link rel="icon">` and `rel="shortcut icon"` |
| `appleTouchIcons` | array | Every `<link rel="apple-touch-icon">` (and `-precomposed`) |
| `manifestIcons` | array | Icons declared in the web app manifest |
| `manifestUrl` | string | URL of the manifest file (if any) |
| `openGraphImage` | string | The Facebook share image |
| `twitterImage` | string | The Twitter card image |
| `msapplicationTileImage` | string | The Windows pinned-site tile image |
| `totalAssets` | number | Total count of unique assets discovered |
| `extractedAt` | string | ISO timestamp of extraction |

### Pricing

This actor uses Apify's **pay-per-event** pricing:

- **Actor start**: $0.01 per run
- **Per site harvested**: $0.002 per URL processed

**Example costs:**

- 1 site → $0.012
- 100 sites → $0.21
- 1,000 sites → $2.01

Free Apify tier members get $5/month in platform credits, which covers ~2,000 sites/month.

### Tips and advanced options

- **Disable `verifyAssets`** to skip HEAD requests — 5-10× faster but you don't get MIME type or byte size
- **Disable `fetchManifest`** if you only care about HTML-declared icons
- **Schedule daily runs** to detect brand updates on competitors
- **Combine with other Apify actors** to build a full brand intelligence pipeline (logo + colors + tagline + tech stack)
- **Pipe the output into Figma / Notion** via Apify integrations to auto-build a brand library

### FAQ and support

**What about images loaded via JavaScript?** This actor parses raw HTML, so JavaScript-injected icons aren't captured. For SPAs, switch to a browser-based actor — but 95% of sites declare their icons in static HTML.

**What about SVG favicons?** Fully supported — the actor returns SVG URLs the same as PNG/ICO.

**Does it follow redirects?** Yes. The `finalUrl` field shows the resolved URL.

**Will it work on sites behind Cloudflare?** Most of the time, yes. For sites that aggressively block server IPs, enable Apify Proxy.

**Found a bug?** Open an issue on the Issues tab.

# Actor input Schema

## `startUrls` (type: `array`):

URLs of websites to harvest brand assets from. Pass the homepage or any page — the actor reads <head> for icon and image references.

## `verifyAssets` (type: `boolean`):

Issue a HEAD request to each discovered asset URL to confirm it exists and capture content-type + content-length. Disable for faster but less complete output.

## `fetchManifest` (type: `boolean`):

If the page declares <link rel='manifest'>, fetch the manifest.json and include all declared icons.

## `includeOpenGraph` (type: `boolean`):

Include og:image and twitter:image (the social-share preview images), not just favicons.

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy. Some sites block direct server IPs.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://apify.com"
    }
  ],
  "verifyAssets": true,
  "fetchManifest": true,
  "includeOpenGraph": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "startUrls": [
        {
            "url": "https://apify.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wiry_kingdom/favicon-brand-harvester").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 = { "startUrls": [{ "url": "https://apify.com" }] }

# Run the Actor and wait for it to finish
run = client.actor("wiry_kingdom/favicon-brand-harvester").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://apify.com"
    }
  ]
}' |
apify call wiry_kingdom/favicon-brand-harvester --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=wiry_kingdom/favicon-brand-harvester",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Favicon and Brand Asset Harvester",
        "description": "Extract every favicon, apple-touch-icon, manifest icon, Open Graph image, Twitter card, and theme color from any website. Returns absolute URLs with sizes and MIME types. Brand monitoring, design libraries, social previews, competitive analysis.",
        "version": "0.1",
        "x-build-id": "BYchFYFYXBnQIrKbs"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/wiry_kingdom~favicon-brand-harvester/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-wiry_kingdom-favicon-brand-harvester",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/wiry_kingdom~favicon-brand-harvester/runs": {
            "post": {
                "operationId": "runs-sync-wiry_kingdom-favicon-brand-harvester",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/wiry_kingdom~favicon-brand-harvester/run-sync": {
            "post": {
                "operationId": "run-sync-wiry_kingdom-favicon-brand-harvester",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Website URLs",
                        "type": "array",
                        "description": "URLs of websites to harvest brand assets from. Pass the homepage or any page — the actor reads <head> for icon and image references.",
                        "default": [
                            {
                                "url": "https://apify.com"
                            }
                        ],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "verifyAssets": {
                        "title": "Verify each asset (HEAD request)",
                        "type": "boolean",
                        "description": "Issue a HEAD request to each discovered asset URL to confirm it exists and capture content-type + content-length. Disable for faster but less complete output.",
                        "default": true
                    },
                    "fetchManifest": {
                        "title": "Fetch web app manifest",
                        "type": "boolean",
                        "description": "If the page declares <link rel='manifest'>, fetch the manifest.json and include all declared icons.",
                        "default": true
                    },
                    "includeOpenGraph": {
                        "title": "Include Open Graph and Twitter card images",
                        "type": "boolean",
                        "description": "Include og:image and twitter:image (the social-share preview images), not just favicons.",
                        "default": true
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional Apify Proxy. Some sites block direct server IPs.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
