# Brand Assets Extractor: Logo, Colors, Fonts, Favicon (`forgeloop/brand-assets-extractor`) Actor

Get the brand kit of any website from its home page: brand name, logo candidates, favicon, theme color, the most used colors, fonts and Google Fonts, company social profiles, description and language. Plain HTTP, no browser, max 4 requests per site. Pay per site.

- **URL**: https://apify.com/forgeloop/brand-assets-extractor.md
- **Developed by:** [Markus Heiß](https://apify.com/forgeloop) (community)
- **Categories:** Marketing, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 websites

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

## Brand Assets Extractor: Logo, Colors, Fonts, Favicon

Get the brand kit of a list of websites. For each domain or URL, the Actor reads the home page and returns one row with the brand name, logo candidates, favicon, theme color, the most used colors, the fonts, the company social profiles, the description and the language. All URLs in the output are absolute.

Built for enriching company lists in a CRM, building logo walls and link cards, onboarding flows that prefill a customer's brand, agency pitches and competitor overviews. The Actor sends plain HTTP requests, at most 4 per website. It does not run a browser and does not crawl.

Not affiliated with LinkedIn, X Corp., Meta, YouTube, GitHub, TikTok or Google. These names appear only as the platforms the social profile links point to and as the source of Google Fonts links.

### What it does

- **Brand name:** `og:site_name` first, then the `name` of the JSON-LD Organization (also nested, for example as `publisher`), then `application-name`, then the brand part of the `<title>` ("Stripe | Financial Infrastructure" gives "Stripe"). `nameSource` says which one was used.
- **Logo candidates** in order of trust: the JSON-LD Organization `logo`, `<img>` elements with "logo" in class, id, alt or src inside the header or navigation, `apple-touch-icon`, icons with `sizes` (largest first), an SVG icon, `og:image`, and as a last resort the first "logo" image outside the header. `logo` is the first candidate.
- **Favicon:** the linked icon (32x32 or 16x16 first, then `shortcut icon`, then the first icon). When the page links no icon, one HEAD request checks `/favicon.ico`.
- **Theme colors:** `theme-color` and `msapplication-TileColor` as written in the page.
- **Most used colors:** hex colors (`#abc`, `#aabbcc`, also with alpha) counted in the CSS of the home page (`<style>` blocks and `style` attributes) and in the first 2 stylesheets hosted on the same site. Normalized to lowercase `#rrggbb`, top 8 by count. Pure black and pure white are left out of the list and counted in `blackWhite`.
- **Fonts:** font families from `font-family`, the `font` shorthand and font custom properties like `--font-sans`, counted. `firstChoice` counts how often a family leads a font stack, so the brand font ranks above system fallbacks like Arial. Generic families, icon fonts and generated fallback names are left out. `webFonts` lists the families loaded with `@font-face` and from Google Fonts links.
- **Company social profiles:** links to LinkedIn company pages, X or Twitter, Facebook, Instagram, YouTube, GitHub and TikTok, from the page and from the JSON-LD `sameAs`. Share buttons, posts, videos and links back to the site itself are skipped. The first profile per platform is returned.
- **Description and language:** `og:description` or the meta description, and `<html lang>`, `og:locale` or the Content-Language header.
- **No personal data:** the Actor does not collect email addresses, phone numbers or personal LinkedIn profiles (`linkedin.com/in/`).
- **Polite:** at most 1 request per second per host and at most 4 requests per website, redirects included.
- **Safe:** private and local network targets like `192.168.0.1`, `10.0.0.1` or `localhost` are blocked, also when a redirect points there.

### Use cases

- **CRM and lead enrichment:** add the logo, brand colors and social profiles to a list of company domains.
- **Logo walls and link cards:** get a usable logo or icon for every customer, partner or tool in a list.
- **Onboarding and white label setup:** prefill a new customer's brand color, logo and font in your product from their domain.
- **Agency pitches and design audits:** see at a glance which colors and fonts a prospect uses today.
- **Competitor overviews:** compare the brand kits of a whole market in one table.

### Input

| Field | Description | Default |
|---|---|---|
| Websites | A list of domains or URLs. The home page is read, paths are dropped. Domains without a scheme get `https://` | |
| Websites as text | Optional text block, one website per line or separated by spaces, commas or semicolons. Used together with the list | |
| Read stylesheets | Read the first 2 same-site stylesheets for colors and fonts | on |
| Check /favicon.ico | HEAD request on `/favicon.ico` when the page links no icon | on |
| Timeout | Seconds before a single request is given up, 3 to 60 | 20 |
| Parallel websites | Websites read at the same time, 1 to 20 | 5 |

Example, three websites:

```json
{
  "urls": ["apify.com", "https://www.python.org", "https://www.mozilla.org"]
}
```

Example, a pasted column of domains, only the CSS inside the home page:

```json
{
  "urlsText": "stripe.com\nnotion.so\nvercel.com\nwww.ikea.com",
  "readStylesheets": false,
  "timeoutSecs": 30
}
```

### Output

One dataset item per unique website (shortened):

```json
{
  "inputUrl": "https://www.python.org",
  "url": "https://www.python.org/",
  "finalUrl": "https://www.python.org/",
  "statusCode": 200,
  "name": "Python.org",
  "nameSource": "og:site_name",
  "logo": "https://www.python.org/static/img/python-logo.png",
  "logoSource": "header-img",
  "favicon": "https://www.python.org/static/favicon.ico",
  "faviconSource": "link",
  "themeColor": null,
  "tileColor": "#3673a5",
  "colors": [
    { "hex": "#ffd343", "count": 54 },
    { "hex": "#3776ab", "count": 43 },
    { "hex": "#e6e8ea", "count": 37 }
  ],
  "blackWhite": { "black": 3, "white": 48, "usesPureBlack": true, "usesPureWhite": true },
  "fonts": [
    { "family": "SourceSansProBold", "count": 17, "firstChoice": 14 },
    { "family": "SourceSansProRegular", "count": 7, "firstChoice": 5 },
    { "family": "Arial", "count": 25, "firstChoice": 0 }
  ],
  "webFonts": ["Flux-Regular", "Flux-Bold", "SourceSansProRegular", "SourceSansProBold", "SourceSansProItalic"],
  "googleFonts": [],
  "socialProfiles": {
    "linkedin": "https://www.linkedin.com/company/python-software-foundation",
    "x": "https://twitter.com/ThePSF",
    "facebook": null,
    "instagram": null,
    "youtube": null,
    "github": null,
    "tiktok": null
  },
  "description": "The official home of the Python Programming Language",
  "language": "en",
  "logoCandidates": [
    { "url": "https://www.python.org/static/img/python-logo.png", "source": "header-img", "sizes": null, "type": null },
    { "url": "https://www.python.org/static/apple-touch-icon-144x144-precomposed.png", "source": "apple-touch-icon", "sizes": "144x144", "type": null },
    { "url": "https://www.python.org/static/opengraph-icon-200x200.png", "source": "og:image", "sizes": null, "type": null }
  ],
  "organizationName": null,
  "title": "Welcome to Python.org",
  "manifest": null,
  "stylesheetsRead": [
    { "url": "https://www.python.org/static/stylesheets/style.6cb9f297dd80.css", "statusCode": 200, "bytes": 349438, "error": null },
    { "url": "https://www.python.org/static/stylesheets/mq.ab4b4ea88926.css", "statusCode": 200, "bytes": 96242, "error": null }
  ],
  "redirectCount": 0,
  "requests": 3,
  "checkedAt": "2026-11-19T21:54:23.355Z",
  "error": null
}
```

- `nameSource` is `og:site_name`, `json-ld`, `application-name` or `title`. `organizationName` is the JSON-LD Organization name, also when another source won.
- `logoCandidates[].source` is `json-ld`, `header-img`, `apple-touch-icon`, `icon`, `og:image` or `img`. `og:image` is often a social banner, not a logo, so it ranks low.
- `faviconSource` is `link` or `favicon.ico`.
- `colors` counts how often each hex color appears in CSS declarations. It is a frequency signal, not a design spec. Colors written as `rgb()`, `hsl()` or named colors are not counted.
- `fonts[].count` counts every mention, `firstChoice` only the mentions as the first family of a stack.
- `socialProfiles` has one key per platform with the profile URL or `null`.
- `stylesheetsRead` lists the stylesheets that were requested, with status and size. Stylesheets on CDN domains are never read.
- `requests` is the number of HTTP requests the Actor sent for this website, at most 4.
- Invalid lines, blocked targets, unreachable hosts, timeouts, HTTP errors, bot check pages and pages without a name and a logo return an item with `error` set, for example `Home page returned HTTP 403. The site refuses automated requests. The Actor does not try to get around this.`

Export the dataset as JSON, CSV or Excel, or read it through the Apify API. The Overview view shows logo, name, favicon and colors side by side. The Social profiles view has one column per platform.

### Pricing

Pay per website: 0.002 USD per website with a brand name or a logo, so 2.00 USD per 1,000 websites. Invalid lines, duplicates, blocked private addresses, unreachable hosts, timeouts, HTTP errors, bot check pages and pages with neither a name nor a logo are free. Set the maximum charge in Apify to cap the cost of a run.

Each run also has a start fee of 0.00005 USD per GB of memory, which Apify shows as Actor Start.

### Limits

- The Actor reads the HTML the server sends. Sites that build the page with JavaScript after loading show only what is in the initial HTML. Name, icons and Open Graph tags are almost always there, colors and fonts sometimes are not.
- Only the first 2 stylesheets on the same site are read. Sites that serve CSS from a CDN domain (for example `cdn.example.net` for `example.com`) get colors and fonts only from the CSS inside the home page.
- Logo detection is a best guess from markup. Inline SVG logos have no URL and are not returned. Check `logoCandidates` when `logo` is not the right image.
- At most 4 requests per website, redirects included, and at most 3 redirects for the home page. At most 2 MB of HTML and 1.5 MB per stylesheet.
- Some sites block automated requests or answer them with a captcha page (HTTP 403 or 429, or a challenge page). The Actor reports this as a free error and does not try to get around it.
- At most 1 request per second per host.

### Data source, permitted use and legal

- **Data source:** the home page HTML and up to 2 stylesheets of the websites you enter. The Actor keeps only the brand fields in the results. It does not store page content.
- **Snapshot:** Results show the state at the time of the run. We do not guarantee that they are complete, current or correct.
- **For business use:** This Actor is offered to businesses only, not to consumers.
- **Permitted use:** Read only websites you have a legitimate reason to check. Logos, fonts and brand names are protected by trademark and copyright of their owners. The Actor returns links and facts, it does not grant any right to use the assets. Respect the terms of use of the sites you read.
- **Your responsibility:** You choose the websites and decide what happens with the results. If your input or the results contain personal data, you are the controller and need your own legal basis. The Actor skips email addresses, phone numbers and personal LinkedIn profiles, but a social profile link can still belong to a sole trader.
- **No circumvention:** The Actor sends plain HTTP requests without login. It does not bypass access restrictions, paywalls, CAPTCHAs or rate limits.
- **Request volume:** At most 1 request per second per host and at most 4 requests per website. Do not use it to put excessive load on a site.
- **Provider:** forgeloop, Markus Heiss, Austria. [Imprint](https://devhem.github.io/forgeloop-legal/imprint.html), [Privacy Notice](https://devhem.github.io/forgeloop-legal/privacy.html), [Terms of Use](https://devhem.github.io/forgeloop-legal/terms.html).

### Questions and issues

Open an issue on the Actor page.

# Actor input Schema

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

Websites to read, as a domain or a URL, one per entry. The Actor always reads the home page, so https://apify.com/pricing becomes https://apify.com/. Domains without a scheme get https://. Duplicates are removed. Format: a list of strings like \["apify.com", "https://www.python.org"].

## `urlsText` (type: `string`):

Optional. Paste a whole column of domains or URLs here instead, one per line or separated by spaces, commas or semicolons. Used together with the list above.

## `readStylesheets` (type: `boolean`):

Also read the first 2 stylesheets that are hosted on the same site for colors and fonts. Off means only the CSS inside the home page is used. Stylesheets on other domains (CDNs) are never read.

## `checkFavicon` (type: `boolean`):

When the home page links no icon, send one HEAD request to /favicon.ico and report it when it exists.

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

Give up on a single request after this many seconds. A website that times out gets a free error item.

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

How many websites are read at the same time. Requests to one host are limited to 1 per second anyway.

## Actor input object example

```json
{
  "urls": [
    "apify.com",
    "https://www.python.org",
    "https://www.mozilla.org"
  ],
  "readStylesheets": true,
  "checkFavicon": true,
  "timeoutSecs": 20,
  "maxConcurrency": 5
}
```

# 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 = {
    "urls": [
        "apify.com",
        "https://www.python.org",
        "https://www.mozilla.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("forgeloop/brand-assets-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 = { "urls": [
        "apify.com",
        "https://www.python.org",
        "https://www.mozilla.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("forgeloop/brand-assets-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 '{
  "urls": [
    "apify.com",
    "https://www.python.org",
    "https://www.mozilla.org"
  ]
}' |
apify call forgeloop/brand-assets-extractor --silent --output-dataset

```

## MCP server setup

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