Logo API for Next.js
Two approaches: direct loading (recommended for most cases) or server-side optimization. Direct loading lets users fetch logos from our global CDN with no rate limits on your server. Server-side optimization caches logos on your server—best for apps with few logos or when you pre-download them.
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.
// Users fetch logos directly from logos-api CDN
// ✓ No server storage needed
// ✓ No rate limits on your server
// ✓ Global CDN caching (24h)
import Image from 'next/image';
function CompanyLogo({ domain }: { domain: string }) {
return (
<Image
src={`https://logos-api.apistemic.com/domain:${domain}`}
alt={`${domain} logo`}
width={64}
height={64}
unoptimized // Bypasses Next.js optimization, loads directly from API
/>
);
}// Your Next.js server downloads and caches logos
// ✓ WebP/AVIF conversion, smaller file sizes
// ✗ Requires server storage for cached images
// ✗ Your server is rate-limited when fetching many logos
// Best for: Few logos, or pre-downloaded logo sets
import Image from 'next/image';
function CompanyLogo({ domain }: { domain: string }) {
return (
<Image
src={`https://logos-api.apistemic.com/domain:${domain}`}
alt={`${domain} logo`}
width={64}
height={64}
// No unoptimized prop - Next.js fetches and optimizes
/>
);
}// Only needed if NOT using unoptimized prop
module.exports = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'logos-api.apistemic.com',
},
],
},
};Free with Attribution
The logo API is completely free. Just add a visible attribution link.
- ✓Add a visible link on every page displaying logos
- ✓Link must be publicly accessible (not behind login)
- ✓Place it near logos, in the footer, or on your about page
Add this link:
Logos by <a href="https://logos.apistemic.com">apistemic logos</a>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.