> ## 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.

# Search: Company Name to Domain Lookup

> Company name to domain API: search brands by name with typeahead autocomplete or exact matching, and get each candidate's domain and logo URL.

Search, part of the Logo.dev API, turns a company name into candidate domains, best first. Each candidate has a logo URL you can show in a result list. Use it for a company autocomplete, or to find the domain behind a name someone typed.

Send your [secret key](https://www.logo.dev/docs/platform/api-keys.md) and a name to `GET /v2/search`:

```bash theme={null}
curl --header "Authorization: Bearer LOGO_DEV_SECRET_KEY" \
  "https://api.logo.dev/v2/search?q=sweetgreen&limit=5"
```

`data` is a list of candidates, inside the standard [response envelope](https://www.logo.dev/docs/platform/conventions.md#the-response-envelope):

```json theme={null}
{
  "data": [
    {
      "object": "search_result",
      "name": "Sweetgreen",
      "domain": "sweetgreen.com",
      "logo_url": "https://img.logo.dev/sweetgreen.com?token=LOGO_DEV_PUBLISHABLE_KEY"
    }
  ],
  "metadata": { "request_id": "request_01k6z8m2a4b5c6d7e8f9g0h1j2" }
}
```

`data` is an empty list when nothing matches. Search is not paginated. It returns the top `limit` candidates. [Search brands](https://www.logo.dev/docs/api-reference/search/search-brands.md) lists every parameter and status code.

## Pick match or typeahead

Set `method` to fit where the name comes from:

* `match`, the default, searches full names and aliases. Use it for a query someone submitted.
* `typeahead` matches prefixes only. Use it for suggestions while someone types.

```bash theme={null}
curl --header "Authorization: Bearer LOGO_DEV_SECRET_KEY" \
  "https://api.logo.dev/v2/search?q=sweet&method=typeahead"
```

## Results are candidates, not brands

A search result is a name and a domain. It is not a brand record, and it has no brand id. A domain can appear in search before Logo.dev indexes its brand. Search itself never returns `202`, but the brand lookup for that domain can. See [handle each status](https://www.logo.dev/docs/brand/introduction.md#handle-each-status).

`logo_url` is a [Logo.dev CDN](https://www.logo.dev/docs/logo-images/introduction.md) URL signed with your publishable key. Put it straight into an `<img>` tag in your results.

When someone picks a result, look up its domain with [Brand](https://www.logo.dev/docs/brand/introduction.md):

```bash theme={null}
curl --header "Authorization: Bearer LOGO_DEV_SECRET_KEY" \
  "https://api.logo.dev/v2/brands?domain=sweetgreen.com"
```

To skip the pick and take the best match, look the brand up by name with `GET /v2/brands?name=sweetgreen`.

Search never subscribes you to a brand's [webhooks](https://www.logo.dev/docs/webhooks.md#subscriptions). For what search costs, see [API credits](https://www.logo.dev/docs/platform/credits.md). Search has its own per-minute limit, and over it a search returns `429`. See [search rate limit](https://www.logo.dev/docs/platform/rate-limits.md#search-rate-limit).


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