# Brand Kit Extractor (logo, colors, fonts, socials) (`rawtojson/brand-kit-extractor`) Actor

Give it a website and get its brand kit: name, logo, favicon, theme and palette colors, fonts, og:image and social profile links, in one call. Public home page only.

- **URL**: https://apify.com/rawtojson/brand-kit-extractor.md
- **Developed by:** [Juan Francisco](https://apify.com/rawtojson) (community)
- **Categories:** Developer tools, Lead generation, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.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/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 Kit Extractor: logo, colors, fonts and social links of any website

Enter a website and get its brand kit in one call: **name, logo, favicon, apple-touch icon, og:image, theme color, palette colors, fonts and official social profiles**. It reads only the website's own public home page and its linked stylesheets, with plain HTTP requests (no browser, no proxy).

### What you can do with it

- Agencies: drop the client's logo and colors straight into proposals and reports.
- CRM and sales tools: show the logo and brand color of each company.
- Designers and developers: audit competitors' palettes and typography.

### How it works

1. Fetches the home page and up to 3 linked stylesheets (optional).
2. Logo: JSON-LD `Organization.logo`, then `og:logo`, then the logo image in the header.
3. Colors: `theme-color` meta, brand-named CSS variables (`--primary`, `--brand`...) and the most used saturated colors. White, black and grays are ignored.
4. Fonts: `font-family` and `@font-face` declarations plus Google Fonts links; generic and system fonts are ignored.
5. Social links: only company pages (no personal profiles, no share buttons).

Only URLs are returned. Logos and images are the property of their owners and are never downloaded or redistributed.

### Input

| Field | Description |
|---|---|
| `websites` | Domains or URLs, e.g. `stripe.com`. |
| `maxColors` | Palette size (default 6). |
| `includeCss` | Read linked stylesheets for colors and fonts (default on). |

```json
{ "websites": ["stripe.com", "github.com"] }
```

### Output

`domain`, `website`, `name`, `title`, `description`, `logo`, `favicon`, `appleTouchIcon`, `ogImage`, `themeColor`, `colors[]`, `fonts[]`, `socials{}`, `status`, `checkedAt`.

### Pricing

Pay per event: a small start fee plus **$0.003 per brand extracted**. Unreachable or empty sites are free.

### Limits

Sites protected by Cloudflare or other bot filters, and pages that build everything with JavaScript, may return little or nothing; those are reported in `status` and not charged. Colors from stylesheets are a best-effort estimate of the visual identity.

# Actor input Schema

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

Domains or URLs of the websites to extract the brand from, for example stripe.com.

## `maxColors` (type: `integer`):

How many palette colors to return per site.

## `includeCss` (type: `boolean`):

Also read up to 3 linked stylesheets to find colors and fonts. Turn off for faster, lighter runs (only meta and inline styles are used).

## Actor input object example

```json
{
  "websites": [
    "stripe.com",
    "github.com"
  ],
  "maxColors": 6,
  "includeCss": true
}
```

# Actor output Schema

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

One brand kit per website.

# 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",
        "github.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rawtojson/brand-kit-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",
        "github.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("rawtojson/brand-kit-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",
    "github.com"
  ]
}' |
apify call rawtojson/brand-kit-extractor --silent --output-dataset

```

## MCP server setup

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