Skip to content

Repository files navigation

Logo.dev

Every company logo, one API request

The highest-quality logo and brand API. Pass a domain, ticker, or crypto symbol β€” get back a clean, correctly-sized logo, served from a global CDN. No sourcing, no hosting, no broken images.

Website Documentation Get an API key License: MIT

50M+ companies Β· 30M+ requests/day Β· 55K+ developers Β· <50ms median Β· 150+ edge locations Β· 500K free/mo


One <img> tag, any logo

There's no SDK to install and no logo files to host. Get your free publishable key, then hotlink the CDN:

<img src="https://img.logo.dev/stripe.com?token=LOGO_DEV_PUBLISHABLE_KEY" alt="Stripe logo" />

That's the whole integration. Swap stripe.com for any domain and you get a crisp, correctly-sized logo back in milliseconds.


Why logo.dev

  • No infrastructure. No scraping, storing, resizing, or cache-busting. A URL is the integration.
  • One tag, every framework. It's just an image β€” drop it into HTML, React, Vue, iOS, Android, or a spreadsheet.
  • Built for production. A global CDN with a <50ms median response across 150+ edge locations.
  • Always current. 50M+ companies, updated daily β€” no stale or broken logos.
  • Flexible output. Size, retina, format (PNG/WebP), and light/dark theme variants via query params.
  • More than logos. Resolve companies by stock ticker or crypto symbol, search brands by name, or pull structured brand data.

Endpoints

Every logo is a GET against img.logo.dev. The REST endpoints return structured brand data.

Lookup Example Docs
By domain img.logo.dev/stripe.com Logo images β†’
By stock ticker img.logo.dev/ticker/AAPL Ticker β†’
By crypto symbol img.logo.dev/crypto/BTC Crypto β†’
By company name img.logo.dev/name/stripe Name β†’
Brand Search Find a company when you only have a name Brand Search β†’
Describe Colors, socials, and structured brand fields Describe β†’

Common parameters: token (required), size, retina, format, theme. Full reference at docs.logo.dev.


Quickstart

Lead with HTML, then reach for your stack. Every snippet uses the same CDN URL β€” only the wrapper changes.

<!-- HTML -->
<img src="https://img.logo.dev/stripe.com?token=LOGO_DEV_PUBLISHABLE_KEY" alt="Stripe logo" />
// React β€” works with any bundler; in Next.js, read the token from
// process.env.NEXT_PUBLIC_LOGO_DEV_PUBLISHABLE_KEY instead
const LOGO_DEV_TOKEN = "LOGO_DEV_PUBLISHABLE_KEY";

function CompanyLogo({ domain }) {
  return (
    <img
      src={`https://img.logo.dev/${domain}?token=${LOGO_DEV_TOKEN}`}
      alt={`${domain} logo`}
    />
  );
}
# cURL
curl "https://img.logo.dev/stripe.com?token=LOGO_DEV_PUBLISHABLE_KEY&size=128&format=png" --output stripe.png
# Python
import requests

def get_company_logo(domain: str) -> bytes:
    url = f"https://img.logo.dev/{domain}?token=LOGO_DEV_PUBLISHABLE_KEY"
    return requests.get(url).content
More languages β€” Next.js, Vue, Ruby, PHP, Swift (iOS), Kotlin (Android), Google Sheets & Excel

Full, copy-paste-ready snippets for every stack live in the docs: docs.logo.dev β†’

  • Next.js β€” next/image with img.logo.dev allowlisted in remotePatterns
  • Vue β€” bind the URL to :src
  • Ruby β€” Net::HTTP.get
  • PHP β€” file_get_contents
  • Swift (iOS) β€” AsyncImage
  • Android (Kotlin) β€” Coil or Picasso
  • Google Sheets / Excel β€” =IMAGE("https://img.logo.dev/" & A1 & "?token=LOGO_DEV_PUBLISHABLE_KEY")

React components (shadcn/ui)

For React apps, this repo is also the official Logo.dev shadcn/ui registry. It ships production-grade components for the logo patterns most apps end up rebuilding by hand: image fallbacks, dark mode, retina, and debounced company search.

Install a component with the shadcn CLI:

npx shadcn@latest add https://www.logo.dev/r/logo.json

You can also install straight from this repo, pinned to a branch, tag, or commit:

npx shadcn@latest add logo-dev/logo-api/logo
Component What you get
logo A logo that never breaks: domain/name/ticker/crypto/ISIN lookup, retina srcSet, automatic dark-mode variants, monogram/initials/custom fallbacks
logo-avatar A logo in a shadcn Avatar shell with initials fallback β€” CRM rows, transaction feeds
brand-search Company autocomplete combobox backed by the Search API, with a Next.js route that keeps your secret key server-side
logo-wall Customer/integration logo grid from a list of domains, grayscale-to-color hover
attribution The attribution link free plans require in production
logo-lib The typed URL builder underneath all of the above, useful on its own

Components read your publishable key from NEXT_PUBLIC_LOGO_DEV_TOKEN; brand-search also needs LOGO_DEV_SECRET_KEY on the server. Both are added to .env.local on install. Full guide: shadcn/ui components β†’

Developing the registry
pnpm install
pnpm test        # URL builder unit tests
pnpm typecheck
pnpm build       # shadcn build β†’ r/*.json (committed; CI checks it's in sync)

Component sources live in registry/new-york/. components/ui/ holds vendored shadcn primitives used only for typechecking β€” consumers get those from ui.shadcn.com.


Migrating from Clearbit

Clearbit's Logo API shut down on December 8, 2025. If your app still points at logo.clearbit.com, the logos are broken.

We're the same team that originally built the Clearbit Logo API, and logo.dev is the migration path recommended by Clearbit / HubSpot. It's a drop-in replacement β€” swap the base URL and add a token. Your existing parameters keep working.

- https://logo.clearbit.com/stripe.com
+ https://img.logo.dev/stripe.com?token=LOGO_DEV_PUBLISHABLE_KEY

Most migrations take a few minutes. Full guide: Migrating from Clearbit β†’

"We built logo enrichment at Clearbit because developers needed it. Logo.dev is what I wish we could have built. Comprehensive, fast, and they actually keep the logos updated. Clear upgrade."

β€” Alex MacCaw, Founder, Clearbit


Trusted by developers

55K+ developers build on logo.dev β€” from CRMs and fintech dashboards to AI products.


Use logo.dev logos in your own README or site

Because every logo is just an <img> URL, you can render any company's logo directly in your Markdown, docs, or app:

<img src="https://img.logo.dev/github.com?token=LOGO_DEV_PUBLISHABLE_KEY" alt="GitHub" />

On the free plan, commercial use requires a visible link back; personal projects don't. Add this wherever you display logos:

<a href="https://logo.dev">Logos provided by Logo.dev</a>

Prefer a badge? Drop in assets/powered-by-logo-dev.svg:

Powered by Logo.dev

<!-- Hotlink from your own site or README (URL resolves once this repo's default branch carries the asset): -->
<a href="https://logo.dev"><img src="https://raw.githubusercontent.com/logo-dev/logo-api/main/assets/powered-by-logo-dev.svg" alt="Powered by Logo.dev" /></a>

Full rules and placement guidance: Attribution β†’


FAQ

Is it really free? Yes β€” 500K requests/month on the free tier. Commercial use on the free plan needs attribution; paid plans remove it. See pricing.

Do I need attribution? Only for commercial use on the free plan. Personal projects don't. Details and edge cases: Attribution.

I'm coming from Clearbit β€” what changes? Swap the base URL and add a token. Your parameters carry over. See the Clearbit migration guide.

What formats and sizes are supported? PNG and WebP, with size, retina, and light/dark theme options. See the logo image docs.

What happens when a logo isn't found? You get a monogram fallback by default, or request a 404 to handle fallbacks yourself.


Resources

  • πŸ“š Documentation β€” full API reference and guides
  • πŸ”‘ Get an API key β€” free, no credit card
  • πŸ’³ Pricing β€” free tier and paid plans
  • πŸ–₯️ Dashboard β€” manage keys and usage
  • πŸ› Report an issue β€” bugs, incorrect logos, or feature requests

Contributing

Found an incorrect logo, hit a problem, or have a feature request? Open an issue β€” we triage them actively, and most logo corrections ship within 24 hours.

License

MIT Β© Logo.dev

About

Free company logo and brand API πŸ–ΌοΈ

Topics

Resources

Stars

25 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages