Clearbit Logo API alternatives: get a company logo from its domain
Checked on 2026-11-19.
The Clearbit Logo API, the free logo.clearbit.com address many apps used for company logos, has shut down: Clearbit's release notes say that after December 8, 2025 the public Logo API URL is no longer available. There are three kinds of replacement: a hosted logo service, the icon and image tags a company's own website publishes, and an API that reads the logo from that website when you ask.
What happened to logo.clearbit.com
Clearbit belongs to HubSpot now, and its release notes tell the story in four entries.
- February 13, 2025: "the Clearbit Logo API will sunset on December 1, 2025".
- June 10, 2025: the change "affects all users, including those with active subscriptions".
- October 22, 2025: a planned 24-hour outage on November 12, and a later date for the full sunset, December 8, 2025.
- November 24, 2025: "After December 8, 2025, the public Logo API URL will no longer be available for use."
As for what to use instead, the February entry says: "If you're looking for a logo service, you can explore alternatives like Logo.dev." For paying customers, the June entry points to the authenticated APIs of a Clearbit subscription: the logo attribute of the Company Enrichment API and the logo field of the Name to Domain API.
1. A hosted logo service
This is the closest to what you had: an image address with the domain in it, put straight into an <img> tag.
Logo.dev is the one Clearbit's notice names (its page for Clearbit users). The address is https://img.logo.dev/stripe.com?format=png&token=LOGO_DEV_PUBLISHABLE_KEY. Every request needs a key, a publishable one that may sit in client code. The free Community plan needs no credit card and includes 500K Logo CDN requests a month; a commercial project on it must show a visible link to Logo.dev. The default format is JPG, format=png gives a transparent background, and the CDN serves no SVG. A domain it has no logo for gets a generated monogram unless you add fallback=404.
Brandfetch has a Logo API of the same shape: https://cdn.brandfetch.io/domain/nike.com?c=BRANDFETCH_CLIENT_ID. Its documentation says it "is free for up to 1,000,000 requests a month and needs no attribution", that it needs a client ID, and that the address has to be embedded in your pages: "Programmatic access to logo images is not permitted".
Where it stops: you depend on someone else's free tier again, which is how the Clearbit integration broke. Both need an account, each has its own rules on attribution, embedding and storing files, and the service decides which image is the logo.
2. The tags a website publishes about itself
Free, and with no third party. Three standard places on a company's home page hold an image that stands for the site.
- The icon. In the HTML standard, a
linkelement withrel="icon"points to "an icon representing the page or site". A page can list several, each with asizesattribute (32x32, oranyfor a scalable icon). When a page declares none, the standard lets browsers try/favicon.icoat the root of the site. - The sharing image. The Open Graph protocol defines
og:imageas "An image URL which should represent your object within the graph". It is one of the protocol's four required properties, with optionalog:image:widthandog:image:height. - The stated logo. schema.org has a
logoproperty, "An associated logo", which sites put on their Organization in a JSON-LD block. Google's Organization markup guide asks for an image of at least 112x112px there.
With Requests and Beautiful Soup, reading all three takes one request:
# pip install requests beautifulsoup4
import json
from urllib.parse import urljoin
import requests
from bs4 import BeautifulSoup
def stated_logo(node):
"""The first "logo" in a JSON-LD value: an address, or an ImageObject with a url."""
if isinstance(node, dict):
logo = node.get("logo")
if isinstance(logo, dict):
logo = logo.get("url")
if isinstance(logo, str):
return logo
node = list(node.values())
if isinstance(node, list):
for item in node:
found = stated_logo(item)
if found:
return found
return None
res = requests.get("https://stripe.com", timeout=15)
res.raise_for_status()
soup = BeautifulSoup(res.text, "html.parser")
icons = [urljoin(res.url, link["href"]) for link in soup.select('link[rel~="icon"][href]')]
if not icons:
icons = [urljoin(res.url, "/favicon.ico")] # what browsers try when a page declares no icon
og = soup.select_one('meta[property="og:image"]')
image = urljoin(res.url, og["content"]) if og and og.get("content") else None
logo = None
for block in soup.select('script[type="application/ld+json"]'):
try:
logo = logo or stated_logo(json.loads(block.string or ""))
except json.JSONDecodeError:
pass
print("stated logo:", urljoin(res.url, logo) if logo else None)
print("icons:", icons)
print("sharing image:", image)Where it stops: the icon is made for a browser tab, so it is small. The sharing image is a picture for link previews, as often a banner or a photo as a logo. The stated logo is the best of the three, and not every site states one. Some sites refuse requests from scripts. And you download, store and refresh the files yourself.
3. An API that reads the logo from the site
The Pipefetch brand endpoint does that reading for you. You send a domain; it reads the company's home page at that moment and returns JSON.
import os
import requests
res = requests.get(
"https://pipefetch.com/v1/web/brand",
params={"url": "stripe.com"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
timeout=90,
)
if res.status_code == 404:
print("The website did not answer or refused the request") # not charged
else:
res.raise_for_status()
brand = res.json()["data"]
logo = brand["logo"] # None when the site has no logo image
print(logo["url"] if logo else brand["icon"])
print(brand["name"], brand["colors"]["primary"], brand["fonts"])The same from Node.js:
const url = new URL('https://pipefetch.com/v1/web/brand');
url.searchParams.set('url', 'stripe.com');
const res = await fetch(url, {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
if (res.status === 404) {
console.log('The website did not answer or refused the request'); // not charged
} else {
const { data } = await res.json();
console.log(data.logo ? data.logo.url : data.icon); // logo is null when the site has no logo image
console.log(data.name, data.colors.primary, data.fonts);
}logo is the logo the site states in its structured data, or else the image in its header or home link, and logo.source tells you which. A row of customer logos is never taken for it. A logo drawn as inline SVG comes back as a data: URI. Next to it are icon and icons, image (the sharing image), the primary and secondary colors, fonts, the company name, description and socials. The reference lists every field.
What it is not: a drop-in for an image address. The request carries your API key, so it belongs on your server, not in an <img> tag. There are no size or format parameters and no placeholder image: logo is null when a site draws its logo with CSS only, and icon is then the mark to use. You get the address of the file on the company's own site; keep your own copy, because Pipefetch does not host the files. And the site is read when you ask, which takes 2 to 9 seconds for most requests: call it once per company and store the answer.
A request costs 1 credit. A website that does not answer within 15 seconds, or that refuses automated requests, answers 404 and costs nothing. A new account has 100 free credits and needs no card. This is not an official API of the websites it reads, and Pipefetch is not affiliated with them.
Which one should you use?
| Situation | Use |
|---|---|
Logos in <img> tags across an interface, with the least code to change | A hosted logo service such as Logo.dev or Brandfetch, within its terms |
| A known set of companies, and no third party at all | The site's own tags, fetched and stored by you |
| Logo, colors, fonts and social profiles stored with each company record, from a server | An API such as Pipefetch |
May you show a company's logo?
A logo is usually a trademark of its company. Showing it to identify that company, as in a customer list or a CRM, is common practice; other uses can need permission. Every route here gives you the file, not the rights to it. This is not legal advice.
Try it with 100 free credits. No card needed. No scraper to build or maintain. Get an API key or read the docs.
APIs used in this guide
-
1 credit
Website Contacts API
The emails, phone numbers and social profiles a website publishes, with its contact page, address and company name.
GET /v1/web/contacts -
1 credit
Brand API
The logo, icon, brand colors, fonts, description and social profiles of a company, read from its website.
GET /v1/web/brand
More Websites guides
- How to extract email addresses from a website in Python
- How to turn a web page into Markdown in Python
- How to detect what a website is built with, in Python
- How to get the contact emails and phone numbers of websites in Google Sheets
- How to build a LangChain tool that reads web pages and searches Google
- How to turn a web page into Markdown in JavaScript for RAG
- How to extract social media links from a website in Python
- How to get a website's favicon in Python
- How to check robots.txt in Python before you fetch a page
Guides for other sources
Every source
YouTube
- How to get a YouTube transcript in Python
- How to get a YouTube transcript in Node.js
- YouTube API quota exceeded: what the error means and how to fix it
- How to find a YouTube channel ID from a handle or URL
- How to download YouTube subtitles as SRT or VTT
- youtube-transcript-api RequestBlocked or IpBlocked: why it happens and how to fix it
- How to get YouTube comments in Python
- How to search YouTube from Python
- How to list a YouTube channel's videos in Python
- How to summarize a YouTube video with an LLM in Python
- How to get YouTube transcripts and video stats in Google Sheets
- How to get YouTube video views and likes in Python
- How to get YouTube transcripts in n8n, Make and Zapier
- LangChain YoutubeLoader fails on a server: why, and a loader that works
- How to get a YouTube channel's subscriber count in Python
- How to give Claude or Cursor access to YouTube (MCP server)
- How to get YouTube comments in Node.js
- How to analyze YouTube comments with an LLM in Python
- How to list a YouTube channel's Shorts in Python
- How to search YouTube from JavaScript
- How to get an Instagram follower count in Python
- Instagram Basic Display API alternatives: what to use after the shutdown
- Instaloader 401 Unauthorized, 429 and "Login required": what to do
- How to calculate an Instagram engagement rate in Python
- How to get an Instagram follower count in Node.js
- How to get Instagram follower counts in Google Sheets
- How to get Instagram Reel views in Python
TikTok
- How to get a TikTok video's views and likes in Python
- How to get the comments of a TikTok video in Python
- How to get a TikTok follower count in Python
- TikTok Research API: who can get access, and what to do if you cannot
- How to get TikTok video views, likes and shares in Node.js
- How to get TikTok views, likes and follower counts in Google Sheets
- How to get a Facebook Page's posts without app review
- Is there a Facebook Marketplace API?
- Facebook Groups API alternatives after its removal in 2024
- How to get a Facebook Page's follower count and contact details in Python
- How to get Google search results in Python
- pytrends 429 TooManyRequestsError: what it means and what to do
- How to get Google Trends data in Python
- Why is Wyoming first in Google Trends?
- How to get Google search results in Node.js
- How to get Google search results into Google Sheets
- How to give an LLM live Google results with tool calling
Threads
- How to get LinkedIn company data in Python
- How to search LinkedIn jobs from Python
- How to get a LinkedIn company page's latest posts in Python