Clearbit Logo API Shutdown: The Complete 2026 Migration Guide
Clearbit's logo API was shut down by HubSpot in late 2025. This step-by-step guide shows exactly how to migrate your application to LogoRouter in under 10 minutes — no code rewrite required.
If you landed here because your application suddenly started returning broken images where company logos used to be, you are not alone. In December 2025, HubSpot officially shut down the Clearbit public logo API — the logo.clearbit.com endpoint that millions of developers relied on for company logos.
This guide will get you back up and running in under 10 minutes using LogoRouter, the fastest drop-in replacement available.
What Exactly Happened to Clearbit
HubSpot acquired Clearbit in 2023. By mid-2025 they announced deprecation of all public-facing Clearbit APIs that were not tied to paid HubSpot seats. The https://logo.clearbit.com/{domain} endpoint — which was famously free and required no authentication — was among the first to be retired.
If you are still hitting logo.clearbit.com, you will receive either a 404 or a redirect to HubSpot's marketing page. Neither is a valid logo.
The good news: The LogoRouter API is URL-compatible with Clearbit. In most cases, you can migrate with a single find-and-replace in your codebase.
The 1-Line Migration
For the vast majority of use cases, migration is a single URL change:
// Clearbit (broken — returns 404)
const logoUrl = `https://logo.clearbit.com/${domain}`;
// LogoRouter (drop-in replacement)
const logoUrl = `https://img.logorouter.com/${domain}`;That is it. Same domain input. Similar URL structure. No authentication required on the free tier. Your existing tags, CSS background-image properties, and Next.js Image components will work without modification.
Getting Your Free API Key
While LogoRouter works without an API key on the Community tier (up to 500K requests/month), adding one unlocks higher resolution images, dark mode variants, and removes rate limiting:
// Authenticated request (recommended)
const logoUrl = `https://img.logorouter.com/${domain}?token=YOUR_API_KEY`;
// Or via header (for server-side usage)
const response = await fetch(`https://img.logorouter.com/${domain}`, {
headers: { 'x-api-key': process.env.LOGOROUTER_API_KEY }
});Get your free API key — takes 30 seconds
Full Feature Comparison: Clearbit vs LogoRouter
| Feature | Clearbit (EOL) | LogoRouter |
|---|---|---|
| Status | Shut down Dec 2025 | Active, maintained |
| Free tier | Unlimited (unauthenticated) | 500K req/mo |
| Logo database | ~20M companies | 30M+ companies |
| Response time | ~100ms | Sub-50ms |
| Formats | PNG only | PNG, WebP, SVG |
| Dark mode logos | No | Yes |
| Retina / 2x | No | Yes |
| Brand colors | No | Yes |
| SLA | None | 99.99% on paid plans |
Migrating at Scale: Find & Replace
If you have hundreds of references across a large codebase, use your IDE's global find-and-replace:
# Using sed on Unix/Mac
find . -type f -name "*.ts" -o -name "*.tsx" -o -name "*.js" | \
xargs sed -i 's|logo.clearbit.com|img.logorouter.com|g'
# Or with ripgrep + sd
rg -l 'logo.clearbit.com' | xargs sd 'logo.clearbit.com' 'img.logorouter.com'Handling Edge Cases
Custom Sizes
Clearbit supported a size parameter. LogoRouter uses the same parameter name:
// Clearbit
https://logo.clearbit.com/stripe.com?size=128
// LogoRouter (identical parameter)
https://img.logorouter.com/stripe.com?size=128Fallback Handling
If a company logo is not in our database, LogoRouter returns a smart fallback rather than a 404. You can customize the fallback behavior:
// Custom fallback to a colored initial block
https://img.logorouter.com/unknown-startup.com?fallback=initials
// Transparent 1x1 pixel (to hide broken images silently)
https://img.logorouter.com/unknown-startup.com?fallback=emptyDark Mode Support
Clearbit had no dark mode support. LogoRouter adds it with a single parameter:
// Force dark logo variant
https://img.logorouter.com/stripe.com?theme=dark
// Auto-detect based on prefers-color-scheme (CSS only)
// Use LogoRouter's CSS helper instead of <img>What to Do Next
Your migration is done. While you are here, there are a few things worth enabling that Clearbit never offered:
- Brand Colors API — extract primary, secondary, and background colors for any company
- Webhook notifications — get notified when a company rebrands
- Bulk prefetching — preload logos for your entire customer list
Start for free — no credit card required
500,000 requests per month on the Community plan. Upgrade when you need more.
Community — Free foreverCompany logos and brand data, ready in 60 seconds
500,000 requests per month, completely free. No credit card. No contracts. Upgrade to a paid plan when you are ready to scale.
- 500K requests / month free
- 30M+ company logos
- Sub-50ms global CDN
- PNG, WebP & SVG formats
- No credit card required
Topics covered