# Company Logo Scraper - Logos & Favicons from Domains (`goldstandardweb/company-logo-favicon`) Actor

Get the best logo and favicon for any company domain, read from its own homepage: real pixel size, format, every candidate, optional stored copy. Robots.txt respected. Pay only when a logo is found.

- **URL**: https://apify.com/goldstandardweb/company-logo-favicon.md
- **Developed by:** [Josh Zoerner](https://apify.com/goldstandardweb) (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

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/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

## Company Logo Scraper - Logos & Favicons from Domains

**Paste a list of company domains and get the best logo for each one, read from the company's own website.** Each row has a direct link, the measured pixel size, the file format and every other logo and icon the site offers. You pay only when a logo is found: 1,000 logos cost $2.50.

- **Tested on real sites:** on 20 well-known company websites (16 Nov 2026), 18 returned a logo and all 18 were the right company. 15 were a clean logo or app icon; 3 were a small favicon or the logo on a colored sharing banner, because that was the best the site allowed. The other 2 refused crawlers and were free.
- **Free when there is no logo:** some sites have no usable logo. Others are blocked, offline, closed to crawlers by robots.txt or not valid web addresses. These are still returned with the reason, **free**.
- **Try it:** click **Try for free**. The example input returns real logos for 5 companies in about 3 seconds.

### Who it's for

- **Sales and RevOps teams** adding company logos to a CRM, lead list or account dashboard (CRM enrichment).
- **Product teams** showing customer, partner or integration logos in an app, without a paid logo API. (The free Clearbit Logo API has been retired.)
- **Agencies and marketers** who make pitch decks, comparison pages or directories from a list of domains.
- **Developers** who need a steady step from domain to logo in a pipeline (API, Make, Zapier, n8n, MCP).

### What you get

One row per domain:

| Domain | Best logo | Format | Size (px) | Source |
|---|---|---|---|---|
| stripe.com | images.stripeassets.com/.../favicon.svg | svg | 512 x 512 | Organization logo in the site's structured data |
| github.com | github.githubassets.com/assets/app-icon-512-....png | png | 512 x 512 | web app manifest icon |
| mozilla.org | www.mozilla.org/media/img/logos/m24/lockup-black....svg | svg | 984 x 235 | header logo image |

Every size is **measured from the file itself**, not taken from what the page claims. Every format is read from the file's own bytes. So a `.png` link that really serves WebP is reported as `webp`.

Each row also has:

- the kind of image (`logo`, `icon` or `social image`)
- a simple dominant color and an optional stored copy
- a list of every image that was checked, with its size, format, file size and any problem
- a `status` and a `charged` flag
- a plain note in `error`: why a site was not read, or a note about a partial check

Some text could run as a formula in a spreadsheet (it starts with `=`, `+`, `-` or `@`). That text gets a leading apostrophe.

Full example item (real run, 16 Nov 2026; links and the candidate list shortened, 5 candidates were checked):

```json
{
  "domain": "stripe.com",
  "inputUrl": "stripe.com",
  "finalUrl": "https://stripe.com/",
  "status": "found",
  "bestLogoUrl": "https://images.stripeassets.com/fzn2n1nzq965/1hgcBNd12BfT9VLgbId7By/01d91920114b124fb4cf6d448f9f06eb/favicon.svg",
  "bestLogoType": "logo",
  "format": "svg",
  "width": 512,
  "height": 512,
  "source": "jsonld",
  "isSocialImage": false,
  "dominantColor": "#533afd",
  "storedImageUrl": null,
  "candidates": [
    { "url": "https://images.stripeassets.com/.../favicon.svg", "source": "jsonld", "rel": "organization", "declaredSize": null, "ok": true, "format": "svg", "width": 512, "height": 512, "bytes": 412, "problem": null },
    { "url": "https://images.stripeassets.com/.../favicon.png?w=180&h=180", "source": "apple-touch-icon", "rel": "apple-touch-icon", "declaredSize": 180, "ok": true, "format": "png", "width": 180, "height": 180, "bytes": 3143, "problem": null },
    { "url": "https://stripe.com/favicon.ico", "source": "favicon", "rel": null, "declaredSize": null, "ok": true, "format": "ico", "width": 48, "height": 48, "bytes": 15086, "problem": null }
  ],
  "error": null,
  "charged": true,
  "scrapedAt": "2026-11-16T05:47:47.212Z"
}
```

#### How the best logo is picked

The Actor collects every logo and icon the homepage declares. It downloads the most likely ones (6 by default) and measures them. It trusts them in this order:

1. The **Organization logo in the site's structured data** (JSON-LD).
2. The **apple-touch-icon** and **web app manifest icons**.
3. The **header logo image** (an image marked as the site's own logo).
4. The **icons** in the page head (including SVG).
5. The **mask icon**.
6. Last, **/favicon.ico**.

Within that, a vector (SVG) or a large image beats a small one. Wide banners lose points. Some images are shaped like a social sharing card (about 1200 x 630). Those lose to any SVG logo or app icon of 180 px or more. Logo strips of customers, partners, awards and payment methods are ignored. The **social sharing image** (og:image) is used only when nothing else works. It is then flagged with `isSocialImage: true`.

#### Statuses

| status | Meaning | Charged? |
|---|---|---|
| `found` | A usable logo or icon was found | Yes |
| `no_logo_found` | The homepage was read, but no logo, icon or favicon could be downloaded as a real image | **No** |
| `blocked` | The site refused access or showed a bot check. The Actor reports it and moves on; it never tries to get around blocks | **No** |
| `robots_disallowed` | The site's robots.txt does not allow reading the homepage | **No** |
| `unreachable` | The domain does not exist, the server is down or timed out, or the homepage is not a web page | **No** |
| `invalid_url` | The line is not a public web address. For example, an internal address, `ftp://`, or a name that cannot be a website | **No** |

### How to use it

1. **Paste your domains** into **Company websites**, one per line: `acme.com`, `www.acme.com` or any link on the site. Duplicates are removed automatically.
2. **Optionally:** turn on **Store a copy of each best logo** to keep the file in your Apify storage. You can also turn off the social-image fallback, or check more images per site.
3. **Run it** and download the results as CSV, Excel or JSON, or send them straight to Google Sheets. In the dataset's table view the logos show as pictures.

The websites need no login or API key. You only need your Apify account.

### Pricing

Pay per logo found.

- **1,000 logos found = $2.50** ($0.0025 per domain with a logo), plus Apify's small standard charge for starting a run. Send many domains per run rather than one run per domain, so you pay that start charge once.
- **Free:** domains with no usable logo, and blocked, offline, robots.txt-protected and invalid domains. They are still in your results with the reason.
- **Same price however many images are checked:** checking 15 images per site costs the same as checking 1.
- **Hard limits:** a maximum number of logos to pay for and a run time limit. Set a maximum cost per run in Apify, and the Actor stops cleanly when it is reached. Domains it did not get to are listed (not charged), so you can run them later.

### Scheduling & integrations

- **Schedules:** re-check your account list monthly to pick up rebrands.
- **API:** start runs and fetch results with the Apify API or the JavaScript and Python clients.
- **Make, Zapier, n8n:** when a new company lands in your CRM, send its domain to this Actor. Then write `bestLogoUrl` (or `storedImageUrl`) back to the record.
- **Google Sheets:** export each run straight to a sheet; use `=IMAGE()` on the logo column to see the logos.
- **MCP:** any tool that connects to Apify's MCP server can call this Actor to look up logos for a list of domains.

### Tested to the Gold Standard

Gold Standard Web built this Actor and tests it with [Gold Standard QA](https://goldstandardweb.com/qa), our three-layer quality process.

- Every change must pass the full test suite before it is saved.
- We plant bugs in the code on purpose, and the tests must catch at least 90% of them.
- A reviewer who did not write the code tries to break it before each release.

[See every check we run](https://goldstandardweb.com/qa).

### FAQ

**Is this legal to use?**
The Actor reads only each company's own public homepage and the image files it links to, the way a browser does. No login, no bot-check bypass, no proxies to get around blocks. It names itself honestly (`GoldStandardWeb-Apify/1.0`). It follows each site's robots.txt, including crawl-delay, for the homepage and for every image host. It does not use third-party logo services. **Logos are trademarks that belong to their owners.** Use them to identify the company, for example next to its name in your CRM, an account list or a directory. Do not use them to suggest endorsement or partnership. Follow each owner's brand guidelines.

**What if the best logo is a small favicon?**
Some sites offer nothing better. Sort or filter on `width` (for example 128 or more) to find those rows, and turn on **Store a copy of each best logo** if you need the file to stay the same.

**Why not just use a favicon service?**
Favicon services often return a 16 x 16 or 32 x 32 icon, or a generic globe when they have nothing. This Actor reads the site's own declarations, measures the real files, prefers SVG and large app icons, and tells you honestly when there is no logo (free).

**Are SVG files safe?**
The Actor never renders or runs any file. When you store a copy, SVG files are cleaned first: scripts, event handlers, embedded web content, entity declarations and links to anything outside the file are removed. If an SVG still has anything active or external after cleaning, no copy is stored and the row says so; use `bestLogoUrl` instead.

**What is the dominant color?**
The most used visible color of the chosen file, as `#rrggbb`, ignoring transparent and near-white pixels. It is read from PNG files (including PNG inside .ico) and SVG files. For JPEG, WebP, GIF and other formats it is `null`.

**Who can open a stored copy, and for how long?**
`storedImageUrl` is a signed link: it opens without an Apify login, even when your storage is set to restricted, so anyone you give it to can open it. The file lives in the run's key-value store and follows your Apify data retention settings; copy the files elsewhere if you need them for longer. Apify serves stored files with scripts switched off.

**What happens if the run hits my time limit or maximum cost?**
It stops starting new domains, finishes cleanly, and lists the domains it did not check in the log and in the run's key-value store (record `UNPROCESSED`). Those were not charged; run them again. If Apify moves the run to another server mid-run, it continues there and no domain is charged twice.

### Limitations

- HTML only, no browser: logos that appear only after JavaScript runs, inline SVG drawn in the page, and CSS background images are not found. The page's declared icons and favicon usually still are.
- Embedded `data:` images in the page are skipped (they have no link to return).
- Sites behind Cloudflare, Akamai or other bot checks come back as `blocked` (free). The Actor does not use proxies or other tricks to get around blocks.
- Image files over 2 MB are skipped. AVIF sizes are read when the file states them; the dominant color is only computed for PNG, PNG-in-ICO and SVG.
- The "header logo image" rule needs the image to be marked as a logo. It must also name the brand, or sit in the header or menu. Unusual markup can be missed.
- Up to 10,000 domains per run and up to 15 images checked per domain.

### Input reference

| Field | Type | Default | Description |
|---|---|---|---|
| `domains` | array | (required) | Domains or links, one per line (up to 10,000; duplicates removed). `startUrls` (`[{ "url": "..." }]`) is accepted too |
| `maxResults` | integer | `1000` | Stop after this many logos found (the rows you pay for; up to 10,000) |
| `maxCandidatesPerDomain` | integer | `6` | How many images are downloaded and measured per site (1-15) |
| `includeSocialImage` | boolean | `true` | Use og:image as a last resort, flagged with `isSocialImage` |
| `storeImages` | boolean | `false` | Store a copy of each best logo in the run's key-value store (`storedImageUrl`) |
| `maxRunMinutes` | integer | `30` | Hard run time limit (1-600) |

### Output fields

| Group | Fields |
|---|---|
| Input | `domain`, `inputUrl`, `finalUrl`, `status` |
| Best logo | `bestLogoUrl`, `bestLogoType`, `format`, `source` |
| Size | `width`, `height` |
| Extras | `isSocialImage`, `dominantColor`, `storedImageUrl` |
| `candidates` | `url`, `source`, `rel`, `declaredSize` |
| `candidates` (cont.) | `ok`, `format`, `width`, `height` |
| `candidates` (cont.) | `bytes`, `problem` |
| Run | `error`, `charged`, `scrapedAt` |

### How it works

For each domain: read robots.txt, read the homepage (following up to 5 redirects), collect the JSON-LD logo, header logo image, `<link rel="icon">`, `apple-touch-icon`, `mask-icon`, web app manifest icons, `og:image` and `/favicon.ico`, rank them, and download the best few (2 MB cap each). Each file's format is read from its first bytes and its pixel size from its header (PNG, JPEG, GIF, WebP, ICO, BMP, AVIF) or its SVG width, height or viewBox. HTML error pages served as images are rejected. A crawl-delay in robots.txt of up to 10 seconds is waited out between requests; a site asking for more gets its homepage read only. Addresses you enter without `https://` are also tried with `www.` and over plain http when the first try fails. Each domain gets at most 60 seconds. Up to 8 domains are checked at the same time, one request at a time per domain. Internal and private network addresses are refused, both as input and after redirects and DNS lookups.

# Actor input Schema

## `domains` (type: `array`):

Domains or links, one per line: acme.com or https://www.acme.com/en/. The logo is read from each site's homepage. Duplicates are removed, so each site is checked and charged once. Up to 10,000 per run.

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

Stop after this many sites with a logo found (the rows you pay for). Sites with no logo, and blocked, unreachable, robots.txt-protected or invalid sites, are returned free and do not count. Up to 10,000.

## `maxCandidatesPerDomain` (type: `integer`):

How many of the most promising logo and icon files to download and measure per site (the site's own logo first, then large icons, then the favicon). More means a better pick on sites with many icons and a slightly slower run. The price per site stays the same. 1 to 15.

## `includeSocialImage` (type: `boolean`):

When a site has no usable logo or icon at all, return its social sharing image (og:image) instead, flagged with isSocialImage = true. These are often banners or photos, not logos. Turn off to get only real logos and icons.

## `storeImages` (type: `boolean`):

Save the chosen logo file in this run's key-value store and return its link as storedImageUrl, so you do not depend on the company's site staying the same. SVG copies are cleaned first (scripts, event handlers and external links removed); an SVG that cannot be cleaned safely is not stored. The link is signed and opens without an Apify login, so anyone you share it with can open it. Copies follow your Apify data retention.

## `maxRunMinutes` (type: `integer`):

Hard limit for the whole run. When it is reached the run stops starting new sites and finishes cleanly; sites not checked are listed in the log and in the key-value store record UNPROCESSED, and are not charged. 1 to 600.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "www.python.org",
    "github.com",
    "www.mozilla.org",
    "basecamp.com"
  ],
  "maxResults": 1000,
  "maxCandidatesPerDomain": 6,
  "includeSocialImage": true,
  "storeImages": false,
  "maxRunMinutes": 30
}
```

# Actor output Schema

## `results` (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 = {
    "domains": [
        "stripe.com",
        "www.python.org",
        "github.com",
        "www.mozilla.org",
        "basecamp.com"
    ],
    "maxResults": 1000,
    "maxCandidatesPerDomain": 6
};

// Run the Actor and wait for it to finish
const run = await client.actor("goldstandardweb/company-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 = {
    "domains": [
        "stripe.com",
        "www.python.org",
        "github.com",
        "www.mozilla.org",
        "basecamp.com",
    ],
    "maxResults": 1000,
    "maxCandidatesPerDomain": 6,
}

# Run the Actor and wait for it to finish
run = client.actor("goldstandardweb/company-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 '{
  "domains": [
    "stripe.com",
    "www.python.org",
    "github.com",
    "www.mozilla.org",
    "basecamp.com"
  ],
  "maxResults": 1000,
  "maxCandidatesPerDomain": 6
}' |
apify call goldstandardweb/company-logo-favicon --silent --output-dataset

```

## MCP server setup

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