Logo API for React
Ready-to-use React components for displaying company logos with optional error handling.
What is apistemic logos?
A free logo API that returns company logos by domain or LinkedIn slug.
Any Company
Fetch logos for any domain — from Fortune 500 to startups. Just pass the domain and get a logo.
No API Keys
No registration, no authentication, no rate limits for reasonable usage. Just HTTP requests.
WebP Format
All logos served in WebP format — 25-35% smaller than PNG with full transparency support.
Code Examples
Production-ready code you can copy and paste into your project.
import { useState } from 'react';
// Simple component (shows monogram on missing logos)
function CompanyLogo({ domain, alt }: { domain: string; alt: string }) {
return (
<img
src={`https://logos-api.apistemic.com/domain:${domain}`}
alt={alt}
className="h-8 w-8"
loading="lazy"
/>
);
}// With custom fallback UI (use ?fallback=404 to trigger onerror)
function CompanyLogoWithFallback({ domain, alt }: { domain: string; alt: string }) {
const [hasError, setHasError] = useState(false);
if (hasError) {
return <div className="h-8 w-8 bg-gray-200 rounded" />;
}
return (
<img
src={`https://logos-api.apistemic.com/domain:${domain}?fallback=404`}
alt={alt}
className="h-8 w-8"
loading="lazy"
onError={() => setHasError(true)}
/>
);
}Free with Attribution
The logo API is completely free. Just add a visible attribution link.
- ✓Add a backlink on your homepage and on pages displaying logos
- ✓Use a User-Agent with contact information for server-side requests
Add this link:
Logos by <a href="https://logos.apistemic.com">apistemic logos</a>Server-side? Use a User-Agent with contact info and limit to 1 rps. We verify attribution. Don't use rel="nofollow". See full rules.
Can't add attribution? Let's talk.
Related Integrations
Explore more ways to integrate the Logo API.
Ready to integrate?
Try the API live or explore all available integrations.