Skip to content

The Clearbit Logo API alternative for any URL

logo.clearbit.com stopped answering on December 8, 2025. Microlink reads the logo from the site itself and returns it with its brand colors, dimensions and page metadata in one call. Point an image tag at it to test, then resolve logos on your server or behind a key proxy in production.

The following examples show how to use the Microlink API with CLI, cURL, JavaScript, Python, Ruby, PHP & Golang, targeting 'https://www.cloudflare.com' URL with 'palette' API parameter:

CLI Microlink API example

microlink https://www.cloudflare.com&palette

cURL Microlink API example

curl -G "https://api.microlink.io" \
  -d "url=https://www.cloudflare.com" \
  -d "palette=true"

JavaScript Microlink API example

import createClient from 'microlink.io'

const microlink = createClient()

const data = await microlink.metadata('https://www.cloudflare.com', {
  palette: true
})

Python Microlink API example

import requests

url = "https://api.microlink.io/"

querystring = {
    "url": "https://www.cloudflare.com",
    "palette": "true"
}

response = requests.get(url, params=querystring)

print(response.json())

Ruby Microlink API example

require 'uri'
require 'net/http'

base_url = "https://api.microlink.io/"

params = {
  url: "https://www.cloudflare.com",
  palette: "true"
}

uri = URI(base_url)
uri.query = URI.encode_www_form(params)

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true

request = Net::HTTP::Get.new(uri)
response = http.request(request)

puts response.body

PHP Microlink API example

<?php

$baseUrl = "https://api.microlink.io/";

$params = [
    "url" => "https://www.cloudflare.com",
    "palette" => "true"
];

$query = http_build_query($params);
$url = $baseUrl . '?' . $query;

$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "GET"
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
    echo "cURL Error #: " . $err;
} else {
    echo $response;
}

Golang Microlink API example

package main

import (
    "fmt"
    "net/http"
    "net/url"
    "io"
)

func main() {
    baseURL := "https://api.microlink.io"

    u, err := url.Parse(baseURL)
    if err != nil {
        panic(err)
    }
    q := u.Query()
    q.Set("url", "https://www.cloudflare.com")
    q.Set("palette", "true")
    u.RawQuery = q.Encode()

    req, err := http.NewRequest("GET", u.String(), nil)
    if err != nil {
        panic(err)
    }

    client := &http.Client{}
    resp, err := client.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    body, err := io.ReadAll(resp.Body)
    if err != nil {
        panic(err)
    }

    fmt.Println(string(body))
}

Resolve it once, serve it from your side.

Clearbit served a logo from the domain in the path. Microlink takes the site URL as a query parameter, and embed=logo.url turns the response into the image itself, so an <img> tag works for a quick test. In production every logo on a page is one request, and without a key a visitor gets 5 a day, so a page with more logos than that breaks on its first view. Resolve the logo on your server with your key, store the file, and serve it yourself. For an image URL with no server, use unavatar.io/{domain}, built by the Microlink team, with a publishable key as ?token=pk_….
clearbit.html
<img src="https://logo.clearbit.com/cloudflare.com" alt="Cloudflare">
test-only.html
<img src="https://api.microlink.io/?url=https%3A%2F%2Fwww.cloudflare.com&embed=logo.url" alt="Cloudflare">
resolve-logo.js
import { mkdir, writeFile } from 'node:fs/promises'
import createClient from 'microlink.io'

const microlink = createClient({
  apiKey: process.env.MICROLINK_API_KEY
})

const logo = await microlink.logo('https://www.cloudflare.com')
if (!logo) throw new Error('No logo found')

const image = await fetch(logo.url)
if (!image.ok) throw new Error(`Logo download failed: ${image.status}`)

await mkdir('logos', { recursive: true })
await writeFile(
  `logos/cloudflare.com.${logo.type}`,
  Buffer.from(await image.arrayBuffer())
)
What you needClearbit Logo APIMicrolink
The logo as an image URLlogo.clearbit.com/{domain}Resolve on your server and store the file; embed=logo.url to test
What you look upA company domainAny URL: a domain, a subdomain, a single page
Where the logo comes fromClearbit company dataThe page markup, the DNS BIMI record, then the favicon, at request time
Brand colorsNot offeredpalette=true, same call
Width, height, format, file sizeNot in the responsedata.logo.width, height, type, size
Title, description, preview imageNot offeredSame response
Size and formatsize and format parametersNot offered: size in CSS, format as published
A greyscale logogreyscale=trueNot offered, apply a CSS filter
AccessNo key5 requests a day without a key, then a key in the x-api-key header
Clearbit values come from the Logo.dev migration guide and the Clearbit changelog. The Microlink column was checked against the live API: www.cloudflare.com returns a 200 by 91 SVG with a palette led by #FF5F08. Microlink returns the file the site publishes, so format and proportions vary by site; size it in CSS. A key travels in a header, so for a public page, resolve the logo on your server and store the image file, or put the key behind the authentication proxy.

Send the URL Get the logo back

2.0
secs
P95 cold response
99.9
%
SLA Guaranteed

Start free, scale when ready

One price per 1,000 requests on every tier, and one quota behind every product. A request returns the logo, its palette and the page metadata together, and a cached response costs nothing.

Pro

For production workloads.
$49/month
≈ $1.07 per 1,000 requests
46,000 requests / month
Cancel anytime · No setup fees

Business & Enterprise

Bought the way companies buy.
Enterprise adds

Microlink and Logo.dev, side by side.

HubSpot points Clearbit users to Logo.dev, and it is the closest match to the old URL. The Clearbit column is gone: logo.clearbit.com shut down on December 8, 2025. Every Logo.dev row comes from its image docs, migration guide and pricing page, the rows where it does more included.
CapabilityMicrolinkLogo.dev
Lookup input
Microlink renders the URL you pass, so a product page, a subdomain or a personal site resolves to the logo it publishes. Logo.dev looks brands up by domain or by identifier.
Any URLDomain, name, ticker, crypto, ISIN
Image URL for an img tagembed=logo.urlimg.logo.dev/{domain}
Key in the image URL
Microlink answers 5 requests a day without a key and reads keys from the x-api-key header. Logo.dev requires a token on every request, and its pk_ key is meant for client-side code.
✕Publishable pk_ token
Brand colors
Microlink adds palette, background_color, color and alternative_color to the logo it returns. Logo.dev lists colors in its brand profile at api.logo.dev/v2/brands, which needs a secret key.
palette=true, same callBrand API, secret key
Page metadata in the same call
Title, description, image, author, date and publisher come back with the logo.
✓✕
Screenshot, PDF or Markdown in the same call✓✕
Original file format
Logo.dev does not serve SVG. Microlink returns the file the site serves.
As published, SVG includedJPG, PNG, WebP
Resize, retina, greyscale, dark theme
Logo.dev takes size, width, height, retina, greyscale and theme as query parameters. Microlink returns the logo as the site publishes it.
✕✓
When no logo exists
Logo.dev generates a monogram by default, and fallback=404 turns that off.
Favicon, then nullMonogram, or 404
Free tier
The free Microlink API key covers 25 requests every day, 2 at a time, with no card. Logo.dev Community covers 500,000 logo CDN requests a month and needs a link back to Logo.dev on commercial projects.
25/day500,000 images a month
First paid plan
Microlink bills one request per call at $1.07 per 1,000, and a cache hit is free. Logo.dev Startup is $33 a month for 1,000,000 logo CDN requests.
$49 for 46,000$33 for 1,000,000
Last verified: November 2026. Check each product’s docs for the latest.

When a logo CDN is the better pick.

Microlink reads the logo off the live site. Logo.dev and Brandfetch serve logos from their own catalogs, and for these jobs that is the better shape.
  • A key that lives in the image URL

    Logo.dev puts a publishable pk_ token in the img src, safe in client code, and its free plan covers 500,000 images a month. Brandfetch takes a client ID in the URL. Microlink reads keys from a header, so a public page either stays within 5 keyless requests a day or resolves logos on a server.
  • Logos by name, ticker or ISIN

    Logo.dev resolves a brand name, a stock ticker, a crypto symbol or an ISIN. Brandfetch takes tickers, ISINs and crypto symbols too. Microlink needs a URL to render.
  • Uniform images in a grid

    Logo.dev resizes, adds retina, greyscale and a dark theme from query parameters. Brandfetch serves icon, symbol and logo variants with light and dark themes. Microlink returns whatever file the site publishes, in its own proportions.
  • Millions of impressions a month

    Logo.dev Startup is $33 a month for 1,000,000 images, and Brandfetch publishes a fair use limit of 1,000,000 requests a month on its free plan, for logos hotlinked from an img tag. Microlink starts at $49 for 46,000 requests, priced for work that reads the page.

Product Information

What happened to logo.clearbit.com, and what replaces the image tag that broke.

When did the Clearbit Logo API shut down?

On December 8, 2025. HubSpot, which owns Clearbit, deprecated the free logo.clearbit.com endpoint in 2025, ran a planned 24-hour outage on November 12, 2025, and turned it off for good on December 8, 2025, as the HubSpot developer changelog and the Clearbit changelog record. An earlier notice gave December 1, 2025; the later notice moved it to December 8. Requests to logo.clearbit.com no longer return logos.

What replaces logo.clearbit.com in an img tag?

For a public page, resolve the logo on your server with your API key, store the file and serve it yourself, or point the img at unavatar.io/{domain} with a publishable token. To test, point the src at api.microlink.io with the site URL encoded in url and embed=logo.url added, for example https://api.microlink.io/?url=https%3A%2F%2Fwww.cloudflare.com&embed=logo.url. That URL returns the logo file itself, but without a key it answers 5 requests a day per visitor.

Is Logo.dev the official Clearbit replacement?

HubSpot recommends it in its sunset notice, and Logo.dev says the team that built the Clearbit Logo API builds it. It keeps the closest URL shape: change the host to img.logo.dev and add a publishable token, as its migration guide shows. Clearbit itself pointed paying customers to its authenticated Company Enrichment and Name to Domain APIs, which return a logo field.
Yes. Add palette=true and the logo gains a palette array ordered from most dominant color to least, plus background_color, color and alternative_color picked for WCAG contrast. It is the same request, at the same price. See brand colors from any website.

Do I need an API key?

Not to try it: 5 requests a day need no key. The free API key covers 25 requests a day, 2 at a time, with no card. Keys go in the x-api-key header, so for a public page, resolve the logo on your server and store the image file, or put the key behind a proxy.
Microlink checks the page markup first, then the BIMI record in DNS, then the favicon, so nearly every site returns something. When none exists, data.logo is null and you render your own placeholder. Logo.dev generates a monogram instead unless fallback=404 is set.
unavatar.io, built by the Microlink team, resolves a domain such as unavatar.io/reddit.com to a logo from BIMI, DuckDuckGo, Google and Microlink, and takes a publishable pk_ token in img tags. Anonymous requests get a small daily allowance per IP, and free plans need an attribution link.

Start building

Paste the domain your logo.clearbit.com tag used to point at and see what comes back.
Get your free API key
25 requests/day · Every Pro feature · No credit card
Trusted with 100M+ requests every month

Clearbit, HubSpot, Logo.dev and Brandfetch are trademarks of their respective owners. Microlink is not affiliated with or endorsed by them. Competitor details come from their public pages and may have changed since they were checked.