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

# Search API: Company Name to Domain Lookup

> Company name to domain API: search company domains by brand name with typeahead autocomplete or exact matching. Coverage for tens of millions of companies.

The Search API matches a company name to its domain, with typeahead autocomplete or exact matching, across tens of millions of companies. It takes a [secret key](/docs/platform/api-keys) and works on every plan, including free.

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

The response is an array of matches, and each one includes a ready-to-use `logo_url`. The first two results for `sweetgreen`:

```json theme={null}
[
  {
    "name": "Sweetgreen",
    "domain": "sweetgreen.com",
    "logo_url": "https://img.logo.dev/sweetgreen.com?token=LOGO_DEV_PUBLISHABLE_KEY"
  },
  {
    "name": "Sweet Green Hotel",
    "domain": "sweetgreenhotel.com",
    "logo_url": "https://img.logo.dev/sweetgreenhotel.com?token=LOGO_DEV_PUBLISHABLE_KEY"
  }
]
```

## Parameters

Three query parameters shape a search:

* **`q` (required):** the brand name to search for.
* **`strategy`:** `suggest` (the default) favors popular prefix matches, best for typeahead. `match` favors exact name matches, with the closest result first.
* **`is_profane`:** set to `false` to drop brands flagged as potentially inappropriate.

To rank exact name matches ahead of autocomplete suggestions, set `strategy=match`:

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

See the full parameters and response in the [Search brands](/docs/api-reference/rest-api/search-brands-by-name) reference, and [errors and status codes](/docs/platform/errors) for handling failed calls. Choosing between the REST APIs? The [API reference introduction](/docs/api-reference/introduction#rest-apis) compares them.
