# Favicon & Logo Extractor: Icons, Manifest, og:image, Sizes (`dottti/favicon-logo-extractor`) Actor

Bulk favicon and logo finder for a list of websites: every icon a site declares (favicon, apple-touch-icon, mask icon, web app manifest icons) with its real pixel size, the best one picked, og:image, schema.org logo, theme colour and a list of missing icons.

- **URL**: https://apify.com/dottti/favicon-logo-extractor.md
- **Developed by:** [Dottti](https://apify.com/dottti) (community)
- **Categories:** Developer tools, Marketing, 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 $0.84 / 1,000 website reads

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: Icons, Manifest, og:image, Sizes

Give a list of websites. For each one you get the best icon, every icon the site declares with its real format and pixel size, the web app manifest, the social share image, the schema.org logo, the theme colour, and a plain list of icons that are missing or broken.

### Who it is for

- **Product and growth teams** who show company logos next to leads, customers or integrations and need a clean square icon for each domain.
- **Developers** building link previews, bookmark tools and dashboards.
- **Agencies and SEO teams** checking that client sites have a full icon set: favicon, home screen icon, manifest icons and share image.

### What each row tells you

| Field | Meaning |
|---|---|
| `bestIcon` | The largest square raster icon that actually loads (address, format, width, height) |
| `bestSvgIcon` | The site's SVG icon, if it has one |
| `appleTouchIcon` | The largest home screen icon |
| `faviconIco` | Whether the root favicon.ico exists and the sizes inside it |
| `maskIcon` | Safari pinned tab icon and its colour |
| `manifestUrl`, `manifest` | Web app manifest: name, short name, theme and background colour, icon count, whether 192 and 512 pixel icons and a maskable icon exist |
| `themeColor`, `tileColor`, `tileImage` | Brand colours and the Windows tile image declared by the site |
| `ogImage`, `twitterImage` | Social share images (with real size when checking is on) |
| `schemaLogo`, `schemaLogoType` | The logo in the site's schema.org structured data |
| `icons` | Every icon found: where it was declared, rel, declared sizes, real format and size, bytes, HTTP status |
| `brokenIcons`, `issues` | Icons that do not load, and what is missing (no apple-touch-icon, no 512 pixel manifest icon, declared size differs from the real one, no og:image...) |

### Example (real run, addresses shortened)

```json
{
  "recordType": "site",
  "site": "(a programming language site)",
  "siteName": "The Go Programming Language",
  "bestIcon": { "url": "(icon address)", "rel": "icon", "format": "png", "width": 288, "height": 288 },
  "bestSvgIcon": { "url": "(svg icon address)", "rel": "icon", "format": "svg", "width": 32, "height": 32 },
  "appleTouchIcon": { "url": "(icon address)", "width": 288, "height": 288 },
  "faviconIco": { "found": true, "sizes": ["32x32", "16x16"], "httpStatus": 200 },
  "themeColor": "#00add8",
  "ogImage": { "url": "(share image address)", "format": "jpeg", "width": 1262, "height": 733, "ok": true },
  "iconCount": 4,
  "brokenIcons": 0,
  "issues": ["no web app manifest linked"],
  "charged": true
}
```

### How to use it

1. Put your domains in **Websites**, one per line.
2. Keep **Check each icon** on to get real sizes and find broken icons. Turn it off for the fastest run, with only what the markup declares.
3. Use `bestIcon.url` for a logo column, or the `icons` list to pick a specific size.

### Pricing

You pay per website read. Sites that cannot be read (robots.txt closes them to us, an access check, an error page, not HTML) give a free status row and are not charged.

Platform usage is included in the price.

### How it behaves

- Per site it reads the page you give (or the home page), the web app manifest if one is linked, and, with checking on, the first 64 KB of each icon, favicon.ico, the share image and the schema.org logo. About 3 to 15 requests per site.
- Before every request it reads that host's robots.txt and obeys it for its own name, `dottti-favicon-logo-extractor`. Requests to one host go out one at a time with a delay. No proxy, no cookies, no browser. Firewall or bot-check answers are reported, never bypassed.
- Image files are not downloaded or stored: you get their addresses and facts about them.

### Limits

- Icons added only by JavaScript after the page loads are not seen.
- Logos and icons belong to their owners. This actor tells you where a site publishes them; how you may use them is up to the owner's terms and trademark rules.
- Sizes inside SVG files come from their width, height or viewBox; SVGs scale to any size.
- Some sites answer automated tools with 403 or 429; those sites give a free `blocked` row.

# Actor input Schema

## `sites` (type: `array`):

One website or page per line (example.com or a full address). The page is read once; icons are taken from its markup and its web app manifest. Empty = a demo with three sites.

## `verifyIcons` (type: `boolean`):

Open the first bytes of each icon, favicon.ico, og:image and schema.org logo to read the real format and pixel size, and to find broken icons. Off = only what the markup declares (faster, fewer requests).

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

Cap on icons opened per site when checking is on (favicon.ico, og:image and the schema.org logo are always checked on top).

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

How many sites are read in parallel.

## `requestDelayMs` (type: `integer`):

Minimum gap between two requests to the same host.

## `timeoutSecs` (type: `integer`):

A page or icon that does not answer in this time is reported as not reachable.

## Actor input object example

```json
{
  "sites": [
    "www.python.org",
    "nodejs.org",
    "go.dev"
  ],
  "verifyIcons": true,
  "maxIconsPerSite": 12,
  "maxConcurrency": 4,
  "requestDelayMs": 300,
  "timeoutSecs": 20
}
```

# Actor output Schema

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

One row per site read, plus free status rows.

# 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 = {
    "sites": [
        "www.python.org",
        "nodejs.org",
        "go.dev"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dottti/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 = { "sites": [
        "www.python.org",
        "nodejs.org",
        "go.dev",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("dottti/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 '{
  "sites": [
    "www.python.org",
    "nodejs.org",
    "go.dev"
  ]
}' |
apify call dottti/favicon-logo-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dottti/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/RHB3okAhqc2UuR5ZA/builds/E3KA15hTW6zHkjJAa/openapi.json
