Skip to main content

Overview

The LogoLink API allows you to fetch high-quality company logos by simply providing a domain. Logos are designed to be served quickly via a global CDN, ensuring optimal performance for your applications. If no brand logo is found, a generated monogram fallback is returned automatically. The LogoLink is simple to construct. The base URL is: https://logos.brand.dev/ with the following query parameters: publicClientId and domain. You can find your publicClientId in your account dashboard. See the example below for GitHub’s logo:
https://logos.brand.dev/?publicClientId=brandLL_xxx&domain=github.com

Request

publicClientId
string
required
Your API key. Must start with brandLL_.
domain
string
required
The domain of the company whose logo you want to retrieve (e.g., stripe.com, github.com).

Response

body
binary
The logo image bytes with the appropriate Content-Type header (e.g., image/png, image/svg+xml).

Usage Examples

<img 
  src="https://logos.brand.dev/?publicClientId=brandLL_xxx&domain=stripe.com" 
  alt="Stripe logo"
/>
const response = await fetch(
  'https://logos.brand.dev/?publicClientId=brandLL_xxx&domain=github.com'
);

if (response.ok) {
  const blob = await response.blob();
  const imageUrl = URL.createObjectURL(blob);
  document.getElementById('logo').src = imageUrl;
}
function CompanyLogo({ domain }) {
  const apiKey = process.env.NEXT_PUBLIC_LOGOLINK_KEY;
  
  return (
    <img
      src={`https://logos.brand.dev/?publicClientId=${apiKey}&domain=${domain}`}
      alt={`${domain} logo`}
      onError={(e) => {
        e.target.style.display = 'none';
      }}
    />
  );
}

Fallbacks

If no logo is found for the specified domain, LogoLink automatically returns a generated SVG monogram based on the domain name. This ensures that you always receive a valid image response. This also means that if you don’t have the domain name you can still use LogoLink to generate a monogram logo by passing any string as the domain parameter.

Error Responses

Since LogoLink is designed to be a direct hotlink service, we will always return a valid image response as long as the request parameters are valid. However, if there is an issue with the request, the following error codes may be returned:
StatusDescription
400Missing or invalid publicClientId or domain parameter
401Invalid API key
402Insufficient credits
405Method not allowed (only GET and HEAD supported)

Domain Restrictions

To prevent abuse, we recommend restricting LogoLink usage to specific domains in your dashboard. This supports absolute URLs and wildcards (e.g., *.yourdomain.com).