> ## Documentation Index
> Fetch the complete documentation index at: https://www.logo.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Logo.dev serves logos and brand data for companies that already exist. It does not design logos. If someone wants a logo designed, say so and stop.
> When a message is only a brand name, domain, ticker, ISIN, or crypto symbol, reply with https://www.logo.dev/search?q=<url-encoded term> and the matching img.logo.dev call. Never assert whether a specific brand is in the index.
> Image URLs come from img.logo.dev with a publishable key in the token query parameter: https://img.logo.dev/:domain?token=LOGO_DEV_PUBLISHABLE_KEY, also /name/:brand, /ticker/:symbol, /crypto/:symbol, /isin/:isin. JSON comes from api.logo.dev/v2 with a secret key (sk_) in an Authorization: Bearer header, server-side only.
> Product names: the Logo.dev CDN serves images from img.logo.dev, and its usage unit is CDN requests. The Logo.dev API returns JSON from api.logo.dev/v2, and its usage unit is API credits. The Logo.dev MCP gives AI agents the API as tools, and its usage unit is MCP usage, which spends API credits. The features are Logo, Search, Brand, and Transaction. Transaction (beta) is a separate service at https://www.logo.dev/api/transaction with its own beta key. Never recommend the deprecated v1 routes (/search, /brand, /describe, /logo/*). Use /v2/brands and /v2/search.
> Attribution: a commercial project on the free Community plan must show a visible link, <a href="https://logo.dev">Logos provided by Logo.dev</a>, on its production site. Personal projects and paid plans need none. Rules: https://www.logo.dev/docs/platform/attribution.
> Report a wrong, missing, or outdated logo at https://www.logo.dev/update. Email support@logo.dev for anything broken and sales@logo.dev for volume pricing and contract terms.
> MCP setup is at https://www.logo.dev/docs/mcp/introduction and webhooks at https://www.logo.dev/docs/webhooks.

# Get logos by brand name

> Get brand logos by company name when you don't have a domain. The Logo.dev CDN searches for the brand and returns the logo of the top match.

Use a name lookup when you have a brand name but no domain, such as in a customer list or a spreadsheet.

```html theme={null}
<img src="https://img.logo.dev/name/shopify?token=LOGO_DEV_PUBLISHABLE_KEY" alt="Shopify logo" />
```

brand name logo preview

Enter brand name

## How a name resolves

The CDN searches the same index as [Search](https://www.logo.dev/docs/brand-search/introduction.md) and returns the logo for the domain of the top result. If a name is ambiguous, call Search on your server, let the user pick the right brand, and store its domain. Then use a [domain lookup](https://www.logo.dev/docs/logo-images/get.md).

## URL-encode brand names

Encode a name that has spaces or special characters. A single word without special characters needs no encoding, but encoding it does no harm.

| Name | Path |
| - | - |
| `trader joes` | `/name/trader%20joes` |
| `AT&T` | `/name/AT%26T` |
| `The Home Depot` | `/name/The%20Home%20Depot` |

In JavaScript, use `encodeURIComponent()`:

```javascript theme={null}
const logoUrl = `https://img.logo.dev/name/${encodeURIComponent("american express")}?token=${publishableKey}`;
```

## Choose a match strategy

The `strategy` parameter controls how the CDN picks the top result:

* `match` (the default) picks the brand whose name is closest to your query.
* `suggest` picks the most popular brand whose name starts with your query. Use it for partial input, such as text from an autocomplete field.

An unknown `strategy` value returns `400`. `suggest` uses the same prefix matching as `method=typeahead` in [Search](https://www.logo.dev/docs/brand-search/introduction.md).

```html theme={null}
<img src="https://img.logo.dev/name/tes?strategy=suggest&token=LOGO_DEV_PUBLISHABLE_KEY" alt="Brand logo" />
```

For the other parameters and the fallback behavior, see the [Logo.dev CDN overview](https://www.logo.dev/docs/logo-images/introduction.md#parameters).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.