# Website Brand Extractor: Logo, Favicon, Colors, Socials (`joesimo/website-brand-extractor`) Actor

Get the brand kit of any website from its homepage: company name, logo URL, best favicon and touch icons, brand colors from CSS and theme color, social profile links, description and Open Graph image. Bulk domains, fast HTTP, no browser, no login.

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

## Pricing

$1.50 / 1,000 website brands

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

## Website Brand Extractor: Logo, Favicon, Colors, Socials

Give it a list of domains and get one row per website with its **brand kit**: company name, logo URL, best favicon and touch icons, brand colors, social profile links, description and share image. It reads each homepage over plain HTTP, so it is fast and cheap. No browser, no login, no API key.

### What you get per website

| Field | What it is |
|---|---|
| `name` | Company or site name (schema.org Organization, og:site_name, web app manifest, then page title) |
| `logoUrl`, `logoWidth`, `logoHeight`, `logoFormat` | Best logo found (header logo image, schema.org logo, meta logo), checked to load, with pixel size |
| `logoCandidates` | Up to 5 ranked logo URLs if you want to pick another one |
| `faviconUrl`, `faviconWidth`, `faviconHeight` | Largest usable square icon (SVG and PNG preferred over ICO) |
| `icons` | Every declared icon: favicon, apple-touch-icon, mask icon, manifest icons, with sizes |
| `primaryColor` | Theme color, mask icon color or the top brand color from CSS |
| `brandColors` | Up to 6 ranked non-neutral colors from inline and same-site CSS, with the CSS variable name when one exists (for example `--brand-primary`) |
| `neutralColors`, `colorVariables`, `themeColor`, `backgroundColor` | Supporting colors |
| `socialProfiles` | The company's own pages: X/Twitter, LinkedIn company, Facebook, Instagram, YouTube, TikTok, GitHub, Pinterest, Threads, Bluesky, Discord, Telegram |
| `description`, `title`, `language`, `ogImage` | Meta description, page title, html lang and Open Graph share image |
| `manifest`, `organization` | Web app manifest names and colors; schema.org Organization name, legal name and founding date |

Example row (shortened):

```json
{
  "domain": "mozilla.org",
  "status": "ok",
  "name": "Mozilla",
  "logoUrl": "https://www.mozilla.org/media/img/logos/m24/lockup-black.f2ddba3f0724.svg",
  "faviconUrl": "https://www.mozilla.org/media/img/favicons/mozilla/favicon-196x196.e143075360ea.png",
  "primaryColor": "#0060df",
  "brandColors": [{ "hex": "#0060df", "weight": 14, "variable": null }],
  "socialProfiles": {
    "linkedin": "https://www.linkedin.com/company/mozilla-corporation",
    "instagram": "https://www.instagram.com/mozilla"
  }
}
```

### Use cases

- Add logos and favicons to a CRM, lead list or directory in bulk.
- Enrich company lists with social profile links and descriptions.
- Build partner pages, comparison tables and integration galleries with the right logo and colors.
- Pull brand colors for mockups, pitch decks and white-label onboarding.

### Input

- **Websites**: domains or URLs, one per line. Each site's homepage is read once (deep links are mapped to the homepage, duplicates are skipped).
- **Read brand colors from CSS** (on) and **Max stylesheets per site** (2).
- **Check logo and favicon** (on): confirms both images load and reads pixel size. Included in the price.
- **Max websites**, **Respect robots.txt** (on), **Parallel websites** (10), **Request timeout**.

Leave the input empty to try 5 demo sites.

### Pricing

Pay per event: **$0.0015 per website with brand data** ($1.50 per 1,000). A website counts when a logo or a favicon is found. Failed sites, sites blocked by robots.txt or by the server, invalid inputs and sites with no logo or icon are saved as free rows with a `status` and `error`.

You can cap spend with the run's maximum cost; the run stops cleanly when it is reached.

### Notes and limits

- Plain HTTP only. Sites that build their header with JavaScript may return no logo (you still get favicons, colors and socials when present). Sites that answer bots with HTTP 403 get a free failed row.
- Logo ranking is a best guess from the page markup. `logoCandidates` lists the alternatives.
- Social links are the company pages linked from the homepage. Personal profiles (for example LinkedIn /in/ pages) and share buttons are ignored.
- Robots.txt is respected by default and every request uses a clear user agent.

### FAQ

**Can I use it as a logo extractor for a list of websites?** Yes. Paste domains or URLs, one per line, and you get one row per website with `logoUrl` (header logo image, schema.org logo or meta logo), its pixel size and format, and up to 5 ranked `logoCandidates`. You get the image URL, not a downloaded file. A logo drawn as inline SVG in the page markup has no URL, so it is not saved (you still get the favicon and colors).

**Does it work as a favicon extractor?** Yes. `faviconUrl` is the largest usable square icon (SVG and PNG preferred over ICO) and `icons` lists every declared icon: favicon, apple-touch-icon, mask icon and web app manifest icons, with sizes. When a site declares no icon, the Actor checks `/favicon.ico`.

**Can it get a website's brand colors or color palette?** Yes. `brandColors` gives up to 6 ranked non-neutral hex colors from inline styles and up to 6 same-site stylesheets (2 by default), with the CSS variable name when one exists. `primaryColor`, `themeColor`, `backgroundColor` and up to 4 `neutralColors` are included. Colors come from CSS and meta tags, not from the logo image.

**Can I use it as a company logo API?** Yes. Start the Actor from the Apify API or an integration with a list of company domains and read the dataset. Each domain returns a logo URL, favicon, name and brand colors at $1.50 per 1,000 websites with brand data. Rows without a logo or icon are free.

**Is it a full brand kit extractor?** It returns the brand kit that a homepage exposes: name, logo, favicon and icons, colors, social profile links, description and Open Graph share image. It does not return fonts or brand guideline documents.

**Does it return personal data?** No emails or phone numbers are collected. Social links are the company pages linked from the homepage; personal profiles such as LinkedIn /in/ pages and share buttons are ignored.

### Other Actors by joesimo

- [Contact Details Finder](https://apify.com/joesimo/contact-details-finder): emails, phones and socials from websites.
- [Website Tech Stack Detector](https://apify.com/joesimo/tech-stack-detector): CMS, hosting and email provider.
- [Website Image Extractor](https://apify.com/joesimo/website-image-extractor): every image on a page or site.

# Actor input Schema

## `websites` (type: `array`):

Domains or URLs, one per line (example.com, https://www.example.com/about). Each site's homepage is read once. Leave empty to try 5 demo sites.

## `extractColors` (type: `boolean`):

Reads inline styles and up to Max stylesheets per site to rank brand colors and CSS color variables.

## `maxStylesheets` (type: `integer`):

Same-site stylesheets read for colors. 0 = inline styles only (faster).

## `checkImages` (type: `boolean`):

Reads the first 128 KB of the chosen logo and favicon to confirm they load and get width, height and format. Included in the price.

## `maxSites` (type: `integer`):

0 = all. The run also stops at your max cost per run.

## `respectRobotsTxt` (type: `boolean`):

Sites whose robots.txt disallows the homepage for all bots are skipped (free row, status robots_blocked).

## `concurrency` (type: `integer`):

Websites processed at once.

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

Per request.

## Actor input object example

```json
{
  "websites": [
    "stripe.com",
    "mozilla.org",
    "go.dev"
  ],
  "extractColors": true,
  "maxStylesheets": 2,
  "checkImages": true,
  "maxSites": 0,
  "respectRobotsTxt": true,
  "concurrency": 10,
  "timeoutSecs": 20
}
```

# Actor output Schema

## `brands` (type: `string`):

No description

## `summary` (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 = {
    "websites": [
        "stripe.com",
        "mozilla.org",
        "go.dev"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("joesimo/website-brand-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 = { "websites": [
        "stripe.com",
        "mozilla.org",
        "go.dev",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("joesimo/website-brand-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 '{
  "websites": [
    "stripe.com",
    "mozilla.org",
    "go.dev"
  ]
}' |
apify call joesimo/website-brand-extractor --silent --output-dataset

```

## MCP server setup

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