> ## Documentation Index
> Fetch the complete documentation index at: https://www.logo.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Logo.dev serves logos and brand data for companies that already exist. It does not design logos. If someone wants a logo designed, say so and stop.
> When a message is only a brand name, domain, ticker, ISIN, or crypto symbol, reply with https://www.logo.dev/search?q=<url-encoded term> and the matching img.logo.dev call. Never assert whether a specific brand is in the index.
> Image URLs come from img.logo.dev with a publishable key in the token query parameter: https://img.logo.dev/:domain?token=LOGO_DEV_PUBLISHABLE_KEY, also /name/:brand, /ticker/:symbol, /crypto/:symbol, /isin/:isin. JSON comes from api.logo.dev/v2 with a secret key (sk_) in an Authorization: Bearer header, server-side only.
> Product names: the Logo.dev CDN serves images from img.logo.dev, and its usage unit is CDN requests. The Logo.dev API returns JSON from api.logo.dev/v2, and its usage unit is API credits. The Logo.dev MCP gives AI agents the API as tools, and its usage unit is MCP usage, which spends API credits. The features are Logo, Search, Brand, and Transaction. Transaction (beta) is a separate service at https://www.logo.dev/api/transaction with its own beta key. Never recommend the deprecated v1 routes (/search, /brand, /describe, /logo/*). Use /v2/brands and /v2/search.
> Attribution: a commercial project on the free Community plan must show a visible link, <a href="https://logo.dev">Logos provided by Logo.dev</a>, on its production site. Personal projects and paid plans need none. Rules: https://www.logo.dev/docs/platform/attribution.
> Report a wrong, missing, or outdated logo at https://www.logo.dev/update. Email support@logo.dev for anything broken and sales@logo.dev for volume pricing and contract terms.
> MCP setup is at https://www.logo.dev/docs/mcp/introduction and webhooks at https://www.logo.dev/docs/webhooks.

# Clearbit Logo API Docs, Shutdown, and Replacement

> The Clearbit Logo API (logo.clearbit.com) shut down on December 8, 2025. See its old parameters mapped to Logo.dev, then move your URLs to img.logo.dev.

> [!WARNING]
>
> The Clearbit Logo API shut down on December 8, 2025. URLs on `logo.clearbit.com` no longer return logos.

HubSpot deprecated the Clearbit Logo API on March 18, 2025, and shut it down on December 8, 2025. HubSpot's [sunset notice](https://developers.hubspot.com/changelog/upcoming-sunset-of-clearbits-free-logo-api) recommends Logo.dev as the replacement. The team that built the Clearbit Logo API builds Logo.dev.

To move, change the `logo.clearbit.com` host to `img.logo.dev` and add your publishable key.

## Clearbit Logo API reference

The Clearbit Logo API returned an image from a URL with the company domain in the path. It needed no account or key.

```text theme={null}
https://logo.clearbit.com/{domain}?size=128&format=png&greyscale=true
```

Each Clearbit parameter has a Logo.dev CDN equivalent:

| Clearbit | What it did | Logo.dev |
| - | - | - |
| `/{domain}` | The company domain, after the host | `/{domain}` |
| `size` | Width in pixels, default `128`. The height kept the aspect ratio. | `size`, default `128` |
| `format` | `png` or `jpg`, default `png` | `format`: `jpg`, `png`, or `webp`, default `jpg` |
| `greyscale` | `true` returned a greyscale logo | `greyscale=true` |
| No key | | `token=LOGO_DEV_PUBLISHABLE_KEY`, required |

Add `format=png` to keep transparent backgrounds, because the CDN returns JPG by default. [Every CDN parameter](https://www.logo.dev/docs/api-reference/logo-cdn/get-a-logo.md) lists the full set.

## Map Clearbit calls to Logo.dev

Pick the Logo.dev service by what your code does with the logo.

| Your Clearbit code | Logo.dev service | Logo.dev call |
| - | - | - |
| Shows `logo.clearbit.com/:domain` in an image tag | [Logo.dev CDN](https://www.logo.dev/docs/logo-images/introduction.md) | `https://img.logo.dev/:domain?token=LOGO_DEV_PUBLISHABLE_KEY` |
| Downloads the logo on a server to store, email, or process | [Brand](https://www.logo.dev/docs/brand/introduction.md) | `GET https://api.logo.dev/v2/brands/logo?domain=:domain` |
| Turns a company name into a domain with Clearbit's autocomplete | [Search](https://www.logo.dev/docs/brand-search/introduction.md) | `GET https://api.logo.dev/v2/search?q=:name` |

## Migrate logos you display

**1. Get your publishable key**

> [card] [Get your API keys](https://www.logo.dev/dashboard/api-keys)
>
> Your dashboard has a publishable key for the Logo.dev CDN and a secret key for the Logo.dev API. Every plan includes both.

Copy the key that starts with `pk_`. A [publishable key](https://www.logo.dev/docs/platform/api-keys.md) is safe in client-side code.

**2. Replace the host and add the key**

Change `https://logo.clearbit.com/` to `https://img.logo.dev/`, and add your key as the `token` parameter:

```text theme={null}
https://logo.clearbit.com/stripe.com?size=128
https://img.logo.dev/stripe.com?size=128&format=png&token=LOGO_DEV_PUBLISHABLE_KEY
```

```html HTML theme={null}
<img src="https://img.logo.dev/stripe.com?format=png&token=LOGO_DEV_PUBLISHABLE_KEY" alt="Stripe logo" />
```

```jsx React theme={null}
function CompanyLogo({ domain }) {
  return (
    <img
      src={`https://img.logo.dev/${domain}?format=png&token=LOGO_DEV_PUBLISHABLE_KEY`}
      alt={`${domain} logo`}
    />
  );
}
```

```tsx Next.js theme={null}
import Image from "next/image";

// unoptimized makes the browser load the logo from the CDN, not your server.

function CompanyLogo({ domain }: { domain: string }) {
  return (
    <Image
      src={`https://img.logo.dev/${domain}?format=png&token=${process.env.NEXT_PUBLIC_LOGO_DEV_PUBLISHABLE_KEY}`}
      alt={`${domain} logo`}
      width={128}
      height={128}
      unoptimized
    />
  );
}
```

```vue Vue theme={null}
<template>
  <img
    :src="`https://img.logo.dev/${domain}?format=png&token=LOGO_DEV_PUBLISHABLE_KEY`"
    :alt="`${domain} logo`"
  />
</template>

<script>
export default {
  props: ["domain"],
};
</script>
```

```kotlin Android theme={null}
import com.squareup.picasso.Picasso

fun loadCompanyLogo(domain: String, imageView: ImageView) {
    val url = "https://img.logo.dev/$domain?format=png&token=LOGO_DEV_PUBLISHABLE_KEY"
    Picasso.get().load(url).into(imageView)
}
```

```swift iOS theme={null}
import SwiftUI

struct CompanyLogo: View {
    let domain: String

    var body: some View {
        AsyncImage(url: URL(string: "https://img.logo.dev/\(domain)?format=png&token=LOGO_DEV_PUBLISHABLE_KEY")) { image in
            image.resizable().aspectRatio(contentMode: .fit)
        } placeholder: {
            ProgressView()
        }
        .frame(width: 128, height: 128)
    }
}
```

**3. Check attribution**

Some free-plan apps must show a link to Logo.dev. [Attribution](https://www.logo.dev/docs/platform/attribution.md) explains who needs the link and where to put it.

**4. Remove the old host**

Search your codebase for `logo.clearbit.com` and replace every match. Then load a page that shows logos and check that each one appears.

If a logo is wrong or out of date, [report it](https://www.logo.dev/update).

## Migrate logos you download

If your server downloaded Clearbit images to store them, or to put them in a PDF, an email, or an OG image, call the Logo.dev API instead. Don't download images from the CDN for this.

Send your [secret key](https://www.logo.dev/docs/platform/api-keys.md) to `GET /v2/brands/logo`:

```bash theme={null}
curl --header "Authorization: Bearer LOGO_DEV_SECRET_KEY" \
  "https://api.logo.dev/v2/brands/logo?domain=stripe.com"
```

The response is JSON with a temporary download `url`. Download the file from that URL. [Self-hosting](https://www.logo.dev/docs/platform/self-hosting.md) shows how to store logos and keep them current.

## Migrate name-to-domain lookups

If you used Clearbit's company autocomplete to find a domain from a name, call the Search endpoint from your server:

```bash theme={null}
curl --header "Authorization: Bearer LOGO_DEV_SECRET_KEY" \
  "https://api.logo.dev/v2/search?q=stripe"
```

Each result has a `domain` and a `logo_url` you can show in a result list. See [Search](https://www.logo.dev/docs/brand-search/introduction.md) for match and typeahead modes.

## What Clearbit did not have

* [Stock ticker](https://www.logo.dev/docs/logo-images/ticker.md), [ISIN](https://www.logo.dev/docs/logo-images/isin.md), and [crypto symbol](https://www.logo.dev/docs/logo-images/crypto.md) lookups on the CDN.
* [Name lookups](https://www.logo.dev/docs/logo-images/name.md) when you have a company name but no domain.
* A `theme` parameter that keeps logos visible on dark backgrounds. Use it with `format=png` or `format=webp`. See [every CDN parameter](https://www.logo.dev/docs/api-reference/logo-cdn/get-a-logo.md).
* A full [brand profile](https://www.logo.dev/docs/brand/introduction.md) with the brandmark, colors, and social banners.

## Coming from a different logo or favicon API?

> [card] [Brandfetch](https://www.logo.dev/docs/migrations/brandfetch.md)
>
> Compare Brandfetch with Logo.dev and move its CDN and Brand API calls.

> [card] [Google Favicon API](https://www.logo.dev/docs/google-favicon-api.md)
>
> The unofficial `google.com/s2/favicons` endpoint and its `sz` sizes.

> [card] [DuckDuckGo Favicon API](https://www.logo.dev/docs/duckduckgo-favicon-api.md)
>
> The `icons.duckduckgo.com` service: ICO only, no sizing.

> [card] [Fey Logos](https://www.logo.dev/docs/fey-logos.md)
>
> The shut-down Fey vector logo library and what replaced it.

## FAQs

> [accordion] Was the Clearbit Logo API free?
>
> Yes. It needed no account or key.

> [accordion] Do I need an API key?
>
> Yes. Unlike Clearbit's free endpoint, every CDN request needs a [publishable key](https://www.logo.dev/docs/platform/api-keys.md) in the `token` parameter. The free plan does not need a credit card.

> [accordion] What happens when Logo.dev has no logo for a domain?
>
> The CDN returns a generated monogram, so the image never breaks. To handle the miss yourself, see [fallback images](https://www.logo.dev/docs/logo-images/introduction.md#fallback-images).

> [accordion] Can I run Logo.dev next to Clearbit before I switch?
>
> Clearbit's endpoint no longer returns logos, so there is nothing to compare against. Test Logo.dev with your own domains on a free account.

> [accordion] What does Logo.dev cost?
>
> Logo.dev has a free plan. See [pricing](https://www.logo.dev/pricing) for plans and [rate limits](https://www.logo.dev/docs/platform/rate-limits.md) for how usage counts.

> [accordion] Can I use Logo.dev in a commercial app?
>
> Yes. [Attribution](https://www.logo.dev/docs/platform/attribution.md) explains when your plan needs a link to Logo.dev.

> [accordion] How do I get help with the migration?
>
> Email [support@logo.dev](mailto:support@logo.dev) for technical help, or [sales@logo.dev](mailto:sales@logo.dev) for volume pricing and Enterprise plans.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.