Product
Developers
Docs Pricing Blog Startups FREE Star on GitHub20

Migration

The free Clearbit Logo API alternative.

Clearbit shut its Logo API down in December 2025. Swap every URL form in one line.

Alon Harpaz
Alon Harpaz, Founder of LogoAPI.sh Published · Updated · 5 min read

The best free alternative to the Clearbit Logo API is LogoAPI.sh: swap logo.clearbit.com/{domain} for logoapi.sh/{domain}.svg. No key, no signup, no attribution, 2M requests a month per site.

Clearbit’s Logo API shut down in December 2025. LogoAPI.sh is a free Clearbit Logo API alternative with the same shape: one image URL, the company domain, no key, no signup. The file is SVG by default, and PNG is one extension away. Migrate in one line.

The one-line answer: replace logo.clearbit.com/<domain> with logoapi.sh/<domain>.svg.

Before
<img src="https://logo.clearbit.com/stripe.com">
After
<img src="https://logoapi.sh/stripe.com.svg">

See it work

Live files from logoapi.sh, unedited.

How it works

1. Take a domainstripe.com
2. Build one URLlogoapi.sh/stripe.com.svg
3. Get an SVG logosharp at any size, no key

URL mapping

Every Clearbit URL form, and what to use instead. Clearbit parameters are as documented by Clearbit before shutdown (archived copy of clearbit.com/docs).

ClearbitLogoAPI.shNote
logo.clearbit.com/stripe.comlogoapi.sh/stripe.com.svgThe bare form logoapi.sh/stripe.com gives the same answer, without the extension. Use .svg so the file type is clear.
?size=128 (any integer, default 128)Not supportedSVG has no pixel size. Set height or width on the <img> and it stays sharp.
?format=png or jpg (default png)Not supportedSVG has no pixel size. For a raster file add .png: logoapi.sh/stripe.com.png is PNG at 128 to 1024 px (?size=128|256|512|1024, ?bg=white for a white background). JPG and WebP are not available; WebP is listed as coming soon.
?greyscale=true (boolean)logoapi.sh/grey/stripe.com.svgGrey removes the colour. Also available: white, black and dark (for dark backgrounds), e.g. /white/stripe.com.svg.
Square logo in an avatarlogoapi.sh/icon/github.com.svgThe square mark, for avatars and lists. Here you choose the wordmark or the icon.
Company name to domainlogoapi.sh/search?q=stripeMatches an exact brand name, an exact domain or a close typo. Up to 8 JSON results with logo and icon URLs.
Notice before the free tier is reduced or removed: About 6 months, then ended Dec 202512 monthsClearbit: HubSpot’s sunset notice, June 2025. LogoAPI.sh: our terms.

The table maps Clearbit’s URL forms. LogoAPI.sh has more routes, such as favicons, colour variants, search and brand pages. All of them are on the docs page.

Copy-paste snippets

Plain HTML with a fallback

Every valid domain returns an image: the live favicon, then a wordmark tile with the brand name (.svg URLs skip the favicon and always return an SVG). To run your own onerror fallback, add ?fallback=404 and an unknown domain returns a 404. Without it, the bare URL always returns an image, so onerror never fires.

<img src="https://logoapi.sh/stripe.com.svg" alt="Stripe" height="24"
     onerror="this.onerror=null;this.src='/img/generic-company.svg'">

JavaScript fetch with a 404 fallback

Every response sends Access-Control-Allow-Origin: *, so this works from any site.

async function logoUrl(domain) {
  const url = `https://logoapi.sh/${domain}.svg?fallback=404`;
  const res = await fetch(url);
  return res.ok ? url : '/img/generic-company.svg'; // 404 = not in the catalog
}

logoUrl('stripe.com').then(src => { img.src = src; });

React component

import { useState } from 'react';

export function CompanyLogo({ domain, name, height = 24 }) {
  const [failed, setFailed] = useState(false);
  const src = failed
    ? '/img/generic-company.svg'
    : `https://logoapi.sh/${domain}.svg?fallback=404`;
  return (
    <img src={src} alt={name} height={height}
         onError={() => setFailed(true)} />
  );
}

Keep your own fallback image. The snippets use /img/generic-company.svg as in the docs example; point it at a file you host.

SVG stays sharp

An SVG is drawn from shapes, so it stays crisp when you zoom in or set a larger height. A raster file has a fixed grid of pixels.

LogoAPI.sh SVG, shown at 4x
The same SVG drawn onto a 32px canvas, scaled 4x

Illustration: any 32px raster scaled up. Both images come from the same LogoAPI.sh file.

Clearbit Logo API alternatives compared

This covers the Logo API only. It does not replace Clearbit’s enrichment products. Rival terms come from each service’s own pricing and docs pages, checked on the best free logo API comparison.

APIFree tierKey neededAttributionSVG
LogoAPI.sh2M requests a month per site. Free.No key. No signup.NoneYes
Logo.dev500K Logo CDN requests a month, plus $5 in API creditsPublishable key (pk_) in the token parameterLink back for commercial projects on the free planNo. “The CDN does not serve SVG.”
Brandfetch1,000,000 requests a month, fair use (soft limit)Client ID on every requestNot requiredLogo and symbol types only
LogoKit5,000 requests a day, 64x64API key, sign upRequired on the Free planNo

More APIs, sources and when another one wins: best free logo API.

What is different

SVG first

Files are vector and sharp at any size. There is no format parameter, and SVG needs no size. For a raster file add .png (128 to 1024 px). WebP is listed as coming soon.

Limits

2M requests a month per site. Free, no key, no attribution. Logo updates go live everywhere within a day.

Coverage

LogoAPI.sh serves a curated catalog of 5,031 brands, not every domain on the web. If you looked up long-tail domains with Clearbit, some will return a name tile (or the site's favicon on the bare URL) instead of a logo. Add ?fallback=404 to get a 404. The Logo Finder shows what is covered.

Missing logos

A domain we do not have returns the site's live favicon, then a wordmark tile with the brand name (.svg URLs skip the favicon and always return an SVG). Add ?fallback=404 for a plain-text 404 and your own fallback. Missing a brand? Email hello@logoapi.sh.

Claim and remove

Trademark owners can claim or correct a logo on the Claim page. Takedown requests go through Remove. Contacts: claim@logoapi.sh and takedown@logoapi.sh.

Many lookups

Looking up lots of unknown domains in a loop? Cache the result in your app. Need bulk? Email hello@logoapi.sh.

FAQ

What is the best alternative to the Clearbit Logo API?

The best free alternative to the Clearbit Logo API is LogoAPI.sh: swap logo.clearbit.com/{domain} for logoapi.sh/{domain}.svg. No key, no signup, no attribution, 2M requests a month per site.

What is the best free Clearbit Logo API alternative?

LogoAPI.sh works the same way Clearbit did: one image URL with the company domain, https://logoapi.sh/<domain>.svg. No API key, no account, no attribution link. It is free: 2M requests a month per site. The trade-off: files are SVG, and the catalog is curated, not every domain. Comparing other services? See LogoAPI.sh as a free Logo.dev alternative.

Is logo.clearbit.com still working?

No. Clearbit shut its Logo API down in December 2025, so logo.clearbit.com URLs no longer serve logos. Replace the host and add .svg: logoapi.sh/<domain>.svg.

Can I still get PNG files?

Yes. Add .png to a logo URL, for example https://logoapi.sh/stripe.com.png: a transparent PNG at 128 to 1024 px (?size=128|256|512|1024, ?bg=white for a white background). Use it for email, where Gmail and Outlook block SVG, and for older tools. WebP is listed as coming soon. Most <img> tags and CSS backgrounds accept SVG.

What happens when a company is not in the catalog?

You get the site's live favicon, then a wordmark tile with the brand name (.svg URLs skip the favicon and always return an SVG). Add ?fallback=404 to get a 404, so your onerror or fetch fallback runs. Search by name to see if the brand lives on another domain; some brands answer on several domains.