# Website Logo & Favicon Extractor - Brand Assets & Previews (`bigdavidson/website-logo-favicon`) Actor

Unofficial. Give it website addresses and get one row each: logo, favicon and icon addresses, preview image, title, description, theme colour and web app manifest data. Addresses only, no image downloaded. No key; robots.txt respected.

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

## Pricing

from $1.40 / 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

## Website Logo & Favicon Extractor - Brand Assets & Previews

Give it a list of websites (domains or web addresses). It reads one page of each, normally the home page, and returns one row per website with the brand assets and link-preview data the page declares: logo address, favicon and other icon addresses, preview image, title, description, language, theme colour and the data in its web app manifest. Everything is returned as addresses; no image is downloaded or stored.

Use it to fill logo, icon and preview fields in a CRM or company directory, to build link cards for a list of sites, or to audit which brand assets a set of sites declares.

- **$2.00 per 1,000 websites.** Pay only for rows delivered. No subscription.
- **Nothing to set up.** No account, no API key, no proxies.
- **Addresses, not files.** It returns where the logo, icons and preview image are; it does not download or store any image.
- **Clean, consistent fields**, ready for CSV, Excel, JSON or a database.
- **Runs on a schedule** and connects to the Apify API, Make, Zapier, n8n and AI agents.

### Who uses it

- CRM and directory builders filling logo, icon and description fields for many company sites.
- Teams building link cards and previews from a list of web addresses.
- Brand and design teams checking which icons, colours and preview images a set of sites declares.

### What you get

One row per website whose page could be read. A real row from a default run:

```json
{
  "url": "https://go.dev/",
  "finalUrl": "https://go.dev/",
  "domain": "go.dev",
  "siteName": null,
  "title": "The Go Programming Language",
  "description": "Go is an open source programming language that makes it simple to build secure, scalable systems.",
  "language": "en",
  "logoUrl": "https://go.dev/images/go-logo-white.svg",
  "logoSource": "img",
  "faviconUrl": "https://go.dev/images/favicon-gopher.svg",
  "icons": [
    {
      "url": "https://go.dev/images/favicon-gopher.png",
      "rel": "icon",
      "sizes": "any",
      "type": null
    },
    {
      "url": "https://go.dev/images/favicon-gopher-plain.png",
      "rel": "apple-touch-icon",
      "sizes": null,
      "type": null
    },
    {
      "url": "https://go.dev/images/favicon-gopher.svg",
      "rel": "icon",
      "sizes": null,
      "type": "image/svg+xml"
    }
  ],
  "hasInlineIcon": false,
  "previewImage": "https://go.dev/doc/gopher/gopher5logo.jpg",
  "previewImageAlt": null,
  "themeColor": "#00add8",
  "backgroundColor": null,
  "manifestUrl": null,
  "appName": null,
  "canonical": "https://go.dev/",
  "scrapedAt": "2026-11-12T22:55:44Z"
}
```

- `url` is the address you gave (`https://` is added to a bare domain). `finalUrl` is where the redirects ended and `domain` is its host without a leading `www.`.
- `siteName` is `og:site_name`, else the name in the page's JSON-LD (a WebSite or an organisation), else `application-name`. `title` is the title element, else `og:title` or `twitter:title`. `description` is the meta description, else `og:description` or `twitter:description`. `language` is the `lang` attribute of the page, else `og:locale`. Texts are cut at 300 (title), 500 (description) and 200 (site name) characters.
- `logoUrl` is the best logo candidate, tried in this order, and `logoSource` says which rule found it: `json-ld` (the logo of an Organization, Brand or a kind of organisation in the page's JSON-LD, found in an object, a list or an `@graph`), `og:logo`, `img` (the first image, in page order, whose src, alt, class or id contains "logo" and which sits inside a header element or inside a link to the site's home page), or `apple-touch-icon` (the largest one). Both are empty when none of them applies. The Actor does not look at the image, so a logo is whatever the page says it is.
- `faviconUrl` is the best declared icon: an icon link element before an apple-touch-icon before a manifest icon; inside that group SVG first, then the largest declared size. `/favicon.ico` is used only when the page declares no icon at all, checkIconFiles is on, and the file answered 200 with an image content type. It is empty when there is nothing.
- `icons` lists at most 12 icons (`url`, `rel`, `sizes`, `type`) from link elements, then the manifest, then a checked `/favicon.ico`, without repeats. `sizes` and `type` are empty when the page does not state them. `hasInlineIcon` is true when an icon link, a logo image or a manifest icon is a `data:` address; such an address is never stored (a `data:` address in JSON-LD, `og:logo` or `og:image` is simply ignored).
- `previewImage` is `og:image`, else `twitter:image`; `previewImageAlt` is its alt text when the page gives one.
- `themeColor` is the `theme-color` meta tag, else the manifest's `theme_color`; `backgroundColor`, `appName` (name, else short_name) and `manifestUrl` come from the web app manifest. `manifestUrl` is filled whenever the page names a manifest; the other two are filled only when it was read.
- `canonical` is the canonical address the page declares. `scrapedAt` is the time in UTC.
- Every address is made absolute against the page (and its `<base href>`), is `http` or `https` only, carries no user name or password, has no `#fragment` and is at most 2,000 characters; a longer address is dropped, not cut. An address that holds contact data is dropped too: a WhatsApp-style chat link (wa.me, wa.link, api.whatsapp.com), an email address in its path or query (a file name such as `logo@2x.png` is fine), or a query parameter named email, mail, phone, tel, mobile or whatsapp. A phone number in some other part of an address is not recognised.

### Input

| Field | What it does |
|---|---|
| Websites | Domains or web addresses, one per line, up to 1,000. Entries without `http://` or `https://` get `https://`. The page at that address is read, so give the home page unless you want another page. |
| Check icon files | Default on. Reads the web app manifest when the page names one and checks `/favicon.ico` when the page declares no icon at all. Off: only the page is read. |
| Maximum results | Stop after this many rows. Default 100. |

### Logos are trademarks

A logo is its owner's trademark, and an icon or preview image is usually protected by copyright. This Actor returns addresses only. Using a logo or image behind an address needs the owner's permission or another lawful basis, and that is your responsibility.

### What is not charged

A website whose page could not be read gets no row and costs nothing. The run log and the final status message count them per reason:

- the page is disallowed by the site's robots.txt, or the robots.txt could not be read because the site answered it with a server error;
- the site refused an automated request: HTTP 401 or 403, a login redirect, a CAPTCHA or bot-challenge page, or a rate limit that did not go away. That site is then **left alone for the rest of the run**. Nothing is worked around;
- the address is not a public web address (private, local and internal addresses, addresses with a user name or password, ports other than 80 and 443), or its name does not exist;
- the site did not answer (timeout or connection failure; after two failures in a row on one host it is not asked again), answered with an error status such as 404 or 500, answered with something that is not a web page (anything other than HTML or XHTML, for example an SVG, XML or JSON file), redirected more than five times, or sent a page larger than 3 MB;
- the entry is not a web address, or the run stopped early (see Limits).

### How to run it

1. Open the **Input** tab. The prefilled example (the home pages of go.dev, python.org, mozilla.org and kernel.org) works as it is; replace the addresses with yours.
2. Press **Start**. Rows appear in the **Output** tab as websites are read.
3. Download the results as JSON, CSV, Excel, XML or HTML, or read them through the Apify API.

Requests are made one at a time, and at least a second apart to the same site. Before the first request to a site the Actor reads that site's robots.txt, so a website costs a few seconds, more when the site is slow: the default run of four websites took about eleven seconds from start to finish. Expect on the scale of five minutes for 100 websites and close to an hour for 1,000 (an extrapolation from that run, not a measurement).

### How much does it cost?

**$2.00 per 1,000 websites** ($0.002 per website), plus Apify's standard start charge of $0.00005 per run. There is no subscription and no rental fee.

| Results | Cost |
|---|---|
| 100 | $0.20 |
| 1,000 | $2.00 |
| 10,000 | $20.00 |

You pay only for rows delivered (the `website` charge). Platform usage is included in that price, and a run stops at the spending limit you set. The Pricing tab always shows the current price.

### FAQ

**Do I need an account, an API key or a proxy?** No. The Actor reads public pages only and needs nothing from you besides the input.

**Can I run it on a schedule?** Yes. Put it on an Apify schedule and compare the runs.

**Why is a website missing from the results?** Probably its robots.txt disallows this Actor, it refused an automated request, or it did not answer; the log says which. The Actor identifies itself honestly and obeys robots.txt, so a site that bars all bots cannot be read.

**Is it safe to give it any address?** The Actor only fetches public web addresses on the standard ports; private, local, internal, multicast and reserved addresses are refused, also when a redirect leads there. Every download has a size limit, every request and every website a time limit, and pages are read with a one-pass HTML parser that stops once a tag or comment that never ends has held back more than 100 KB. In the tests, 2 MB pages of hostile markup (endless tags, quotes and comments, attribute and tag floods, an endless script) were each read well inside a 30-second bound. The memory of a whole run was not measured.

**Something looks wrong?** Open the **Issues** tab on this page and include the input you used.

### Limits

- **Up to three requests per website:** the page, the manifest (only when the page names one and Check icon files is on) and `/favicon.ico` (only when no icon is declared and Check icon files is on). On top of that the Actor reads a host's robots.txt before the first request to it, and each of the three requests can be redirected up to 5 times, each step being one more request. The Actor stays on the site you gave: a manifest that the page places on another site (`www.` and the bare domain count as one site) is not requested, and a manifest or `/favicon.ico` that the site itself redirects to another site is not used. The page itself may redirect anywhere public, as the address you gave then points there; `finalUrl` shows where it ended, and the manifest and `/favicon.ico` are taken from that site. A redirect step is requested before its target is known, so a request to the other site that a redirect leads to is still made (checked against the address rules and that site's robots.txt).
- **robots.txt is obeyed.** A page that the site's robots.txt disallows for this Actor is not read, and neither are the manifest or `/favicon.ico` when it disallows them (the row then has no manifest data). A redirect is followed one step at a time, at most 5, and every step is checked against robots.txt and the address rules.
- **No image is downloaded or looked at.** The Actor does not check that an address leads to a working image, nor its size, format or colours. `/favicon.ico` counts only when its answer is 200 with an image content type; a file larger than 256 KB is not counted.
- **Only the page you give is read,** not the rest of the site. No script is run, so a logo that a script adds, an image set only through `srcset`, `data-src` or CSS, an inline `<svg>` logo, and a logo that only exists in a style sheet are not found. A logo that is not marked with "logo" in its src, alt, class or id is not found by the image rule.
- **Manifest limits:** at most 256 KB, JSON nested at most 20 levels deep, at most 50 icons looked at. A manifest over those limits, or not JSON, is ignored and the row has no manifest data.
- **Other caps:** 3 MB of a page, 3,000,000 characters of markup, 10 JSON-LD blocks of 300,000 characters each, 2,000 JSON-LD nodes, 60 icon link elements and 30 logo candidate images per page; the row holds at most 12 icons. A site name, title or description can be longer than the cut and is then cut.
- **Time limits.** The page gets 60 seconds (robots.txt, download and redirects together), the manifest and `/favicon.ico` 30 seconds each, and reading the markup 20 more; a page whose markup takes longer is read in part and the row is still delivered. A run stops early once websites that gave no row, and manifest or `/favicon.ico` requests that got no answer, have together taken more than 15 minutes; the websites after that point are not tried, and the log says how many. Rows already delivered are kept. The run fails only when no website at all could be read, and then it lists the reasons.
- **Compared with what you may expect:** this is not a company-name-to-domain lookup, not a screenshot service, and it does not rank or verify logos. The logo is the first rule that applies, which is sometimes a favicon-sized apple-touch-icon or a white-on-transparent logo meant for a dark header. A site that serves a different page to an automated client than to a browser gives different data.
- Uses ordinary web requests, one at a time and at least a second apart, and keeps no cookies. It does not log in, solve CAPTCHAs or work around blocks.
- Organisation-level data only. Titles, descriptions and names are returned as the site publishes them and can contain a person's name. Email addresses in these texts are replaced with `[email removed]` before the text is cut, and phone numbers in longer texts (80 characters or more with several words) with `[phone removed]`. Addresses are delivered as they are, except for the contact data described above; a person's name or handle inside an address path cannot be recognised.
- Unofficial. Not affiliated with, endorsed by or sponsored by any of the websites it reads. Check each site's terms before using the data commercially.

# Actor input Schema

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

Websites to read, one per line, up to 1,000: a domain such as example.com (https:// is added) or a full web address. The page at that address is read, normally the home page. A website that cannot be read (robots.txt disallows it, it refuses an automated request, it is not a public address, it does not answer) gets no row and is not charged; the run fails only when no website at all could be read.

## `checkIconFiles` (type: `boolean`):

When on, the web app manifest is read if the page names one (one extra request, at most 256 KB) and /favicon.ico is checked when the page declares no icon at all (one extra request; it counts only if it answers 200 with an image content type). That makes up to three requests per website. When off, only the page is read. No image is ever downloaded.

## `maxResults` (type: `integer`):

Stop after this many rows (one row is one website whose page could be read). Websites that could not be read give no row and are not charged.

## Actor input object example

```json
{
  "urls": [
    "https://go.dev/",
    "https://www.python.org/",
    "https://www.mozilla.org/",
    "https://www.kernel.org/"
  ],
  "checkIconFiles": true,
  "maxResults": 100
}
```

# Actor output Schema

## `results` (type: `string`):

All result rows from the run's default dataset, as JSON.

# 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://go.dev/",
        "https://www.python.org/",
        "https://www.mozilla.org/",
        "https://www.kernel.org/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigdavidson/website-logo-favicon").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://go.dev/",
        "https://www.python.org/",
        "https://www.mozilla.org/",
        "https://www.kernel.org/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bigdavidson/website-logo-favicon").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://go.dev/",
    "https://www.python.org/",
    "https://www.mozilla.org/",
    "https://www.kernel.org/"
  ]
}' |
apify call bigdavidson/website-logo-favicon --silent --output-dataset

```

## MCP server setup

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

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/xOAcuj9tZjCMhJThe/builds/TPuYl2tdCeOkOwt3W/openapi.json
