Skip to main content
Get brand logos when you only have a brand name, not a domain. Perfect for customer lists, spreadsheets, or user input where domains aren’t available.

Try it yourself

Enter any brand name below to see how the name lookup works. The API automatically finds the best match and returns the logo.

How to use name logos

Access any brand logo by name with your publishable key from the Logo.dev dashboard.
Shopify Logo

https://img.logo.dev/name/shopify?token=:publishable_key

Here’s how to display a brand logo by name:
<img src="https://img.logo.dev/name/shopify?token=:publishable_key" alt="Shopify logo" />
Use name logos anywhere you can use an image URL (spreadsheets, dashboards, or customer lists):
https://img.logo.dev/name/shopify?token=:publishable_key
The name lookup API is a convenient wrapper over our Brand Search API that returns the first result (like “I’m Feeling Lucky” for brand logos). It uses the same Brand Search index to find the best match for your query.

URL-encode brand names

Brand names with spaces or special characters must be URL-encoded.
sweet green → sweet%20green
https://img.logo.dev/name/sweet%20green?token=:publishable_key
In JavaScript, use encodeURIComponent() to handle encoding automatically:
const brandName = "sweet green";
const encodedName = encodeURIComponent(brandName);
const logoUrl = `https://img.logo.dev/name/${encodedName}?token=${apiKey}`;

Parameters

The name endpoint supports all the same parameters as the standard logo endpoint:
  • size - Resize logos (default: 128px)
  • format - Choose png, jpg, or webp
  • theme - Optimize for light or dark backgrounds
  • greyscale - Convert to greyscale
  • fallback - Control fallback behavior
<img src="https://img.logo.dev/name/shopify?token=:publishable_key&size=256" />

How name lookup works

When you request a logo by name, we:
  1. Search our Brand Search index for the best match
  2. Return the logo for the top result’s domain
  3. Apply any parameters (size, format, etc.)
This is equivalent to calling the Brand Search API and using the first result’s domain with the logo endpoint.

FAQ

Use name lookup when you only have brand names (customer lists, user input, spreadsheets). Use domain lookup when you have verified domains. Domain lookup is faster and more accurate.
We return a generated monogram fallback, just like the standard logo endpoint. Use fallback=404 to get a 404 response instead.
Name lookup uses the same Brand Search index that powers our search API. It returns the most popular match for your query. For ambiguous names, use the Brand Search API to see all matches and choose the right one.
Yes. All parameters from the logo endpoint work with name lookup (size, format, theme, greyscale, and more).
No. Single words without special characters don’t need encoding. It’s safe to always encode though. encodeURIComponent("shopify") still returns "shopify".
Report issues at logo.dev/update or from the dashboard. We continuously improve our Brand Search index based on feedback.