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.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.encodeURIComponent() to handle encoding automatically:
Parameters
The name endpoint supports all the same parameters as the standard logo endpoint:size- Resize logos (default: 128px)format- Choose png, jpg, or webptheme- Optimize for light or dark backgroundsgreyscale- Convert to greyscalefallback- Control fallback behavior
How name lookup works
When you request a logo by name, we:- Search our Brand Search index for the best match
- Return the logo for the top result’s domain
- Apply any parameters (size, format, etc.)
FAQ
When should I use name lookup vs domain lookup?
When should I use name lookup vs domain lookup?
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.
What happens if the name doesn't match any brand?
What happens if the name doesn't match any brand?
We return a generated monogram fallback, just like the standard logo endpoint. Use
fallback=404 to get a 404 response instead.How accurate is the name matching?
How accurate is the name matching?
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.
Can I customize the logo appearance?
Can I customize the logo appearance?
Yes. All parameters from the logo endpoint work with name lookup (size, format, theme, greyscale, and more).
Do I need to URL-encode single-word names?
Do I need to URL-encode single-word names?
No. Single words without special characters don’t need encoding. It’s safe to always encode though.
encodeURIComponent("shopify") still returns "shopify".What if I find a wrong match?
What if I find a wrong match?
Report issues at logo.dev/update or from the dashboard. We continuously improve our Brand Search index based on feedback.