# Company Logo API — Clearbit Logo Alternative (`nexgendata/company-logo-api`) Actor

Drop-in Clearbit Logo API replacement (sunset Dec 2025). Bulk-fetch company logos by domain via 5-source fallback. 10x cheaper than logo.dev or Brandfetch. Built for CRMs, ABM, autocomplete, B2B landing pages. $0.001/logo, no monthly fee. No API key. Pay per record.

- **URL**: https://apify.com/nexgendata/company-logo-api.md
- **Developed by:** [NexGenData](https://apify.com/nexgendata) (community)
- **Categories:** Lead generation, Developer tools
- **Stats:** 48 total users, 5 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 logo returneds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Company Logo API

Fetch a company logo from any domain — a drop-in replacement for the retired Clearbit Logo API, for enriching your CRM and lead records.

> Output is a prospect list for your sales team, assembled from public web and business sources. Use it in line with applicable outreach and privacy law.

### How it resolves a logo

Per domain, in order, stopping at the first image that actually answers:

1. the site's own `<link rel="apple-touch-icon">` (branded, highest quality)
2. the site's own `<link rel="icon" sizes="…">` (larger sizes first)
3. the site's `og:image` (banner-style; disable with `includeOgImage: false`)
4. Google's s2 favicon endpoint at your preferred size
5. DuckDuckGo's icon endpoint

Every candidate is probed with a HEAD request before it is returned, so `logo_url` is a URL that responded — not a guess.

### 📊 What you get

Clean JSON, **one row per domain that resolved to a logo**:

- `domain` — normalised domain
- `logo_url` — the verified image URL
- `source` — which tier answered (`apple-touch-icon`, `link-icon`, `og-image`, `google-favicon`, `duckduckgo-icon`)
- `content_type` — image MIME type reported by the host
- `size_bytes` — content length when the host reports one
- `size_hint` — declared icon size in px, when known
- `candidates_tried` — how many candidates were probed
- `success` — always `true` on a delivered row

Domains that produce no logo (invalid input, or nothing reachable) are **not** written to the dataset and **not** charged; they are listed in the run's `OUTPUT` record and summarised in the run status message.

**Pricing:** $0.020 per logo returned (Pay-Per-Event) — about **50 logos per $1** — plus $0.00005 per Actor start per GB of memory. Rows and charges are 1:1; duplicate domains in one input are billed once. If none of the logo sources answer at all, the run **fails** with a message naming the cause instead of finishing green and empty.

### 🤖 Use with AI agents

Point Claude, the OpenAI Agents SDK, an n8n flow or any MCP-aware client at it and enrich records on demand.

**Agentic payments (x402):** Supports agentic payment via x402 — agents can call this actor with USDC, no API key required.

### 🔗 Related lead-gen actors

**The lead-gen workflow chain** — found leads? verify → enrich → push to CRM:

1. **Find:** [B2B Leads Finder](https://apify.com/nexgendata/b2b-leads-finder) · [Company Email Finder](https://apify.com/nexgendata/company-email-finder) · [Person Email Finder](https://apify.com/nexgendata/person-business-email-finder) · [Website Contact Scraper](https://apify.com/nexgendata/contact-info-scraper) · [Yellow Pages](https://apify.com/nexgendata/yellow-pages-scraper)
2. **Enrich:** [Company Enrichment](https://apify.com/nexgendata/company-enrichment-tool) · [B2B Contact Enricher](https://apify.com/nexgendata/b2b-contact-enricher) · [Lead List Enricher](https://apify.com/nexgendata/lead-list-enricher) · [Website Tech & Contact Audit](https://apify.com/nexgendata/local-business-tech-contact-audit)
3. **Verify & clean:** [Email Verification](https://apify.com/nexgendata/email-verification-tool) · [Bulk Email Validator](https://apify.com/nexgendata/email-validator) · [Lead List Cleaner](https://apify.com/nexgendata/b2b-lead-list-cleaner)
4. **Deliver:** [Leads to Notion CRM](https://apify.com/nexgendata/leads-to-notion-crm)

**Front door — Sales Intelligence MCP:** the sales-intelligence agent that fronts this whole cluster → [Sales Intelligence MCP](https://apify.com/nexgendata/sales-intelligence-mcp)

***

*Public web & business-source data, assembled as sales-team prospect lists.*

# Actor input Schema

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

List of domains to fetch logos for. Example: \["stripe.com", "shopify.com", "openai.com"]. Can also be a single comma/newline separated string.

## `includeOgImage` (type: `boolean`):

Use the site's og:image meta tag as a fallback when favicons aren't available. Produces larger banner-style images.

## `sizePreference` (type: `integer`):

Preferred logo size in pixels (16, 32, 64, 128, 256). Affects Google favicon fallback resolution.

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

Number of domains to fetch in parallel. Higher = faster but uses more compute. Range 1-20.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "shopify.com",
    "openai.com",
    "vercel.com"
  ],
  "includeOgImage": true,
  "sizePreference": 128,
  "concurrency": 10
}
```

# 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",
        "shopify.com",
        "openai.com",
        "vercel.com"
    ],
    "includeOgImage": true,
    "sizePreference": 128,
    "concurrency": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexgendata/company-logo-api").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",
        "shopify.com",
        "openai.com",
        "vercel.com",
    ],
    "includeOgImage": True,
    "sizePreference": 128,
    "concurrency": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("nexgendata/company-logo-api").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",
    "shopify.com",
    "openai.com",
    "vercel.com"
  ],
  "includeOgImage": true,
  "sizePreference": 128,
  "concurrency": 10
}' |
apify call nexgendata/company-logo-api --silent --output-dataset

```

## MCP server setup

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

```

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/Y0IFq0dLjMMSKMZ44/builds/0JkCk1aNrhKZoterY/openapi.json
