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

# Quickstart

> Display your first company logo with Logo.dev in under a minute. Get a publishable key and request a logo by domain from an image URL.

In this quickstart, you put a company's logo on a page with an image URL. You need a free [Logo.dev account](https://www.logo.dev/signup). No credit card is required.

**1. Copy your publishable key**

> [card] [Get your API keys](https://www.logo.dev/dashboard/api-keys)
>
> Your dashboard has a publishable key for the Logo.dev CDN and a secret key for the Logo.dev API. Every plan includes both.

Copy the key that starts with `pk_`. A [publishable key](https://www.logo.dev/docs/platform/api-keys.md) is safe to use in client-side code.

**2. Add the logo URL**

Put the key in the `token` parameter of an `img.logo.dev` URL. Replace `LOGO_DEV_PUBLISHABLE_KEY` with your key, and use the URL where you would use any image:

```html HTML theme={null}
<img
  src="https://img.logo.dev/nike.com?token=LOGO_DEV_PUBLISHABLE_KEY"
  alt="Nike logo"
/>
```

```jsx React theme={null}
function CompanyLogo({ domain }) {
  return (
    <img
      src={`https://img.logo.dev/${domain}?token=LOGO_DEV_PUBLISHABLE_KEY`}
      alt={`${domain} logo`}
    />
  );
}
```

```tsx Next.js theme={null}
import Image from "next/image";

// unoptimized makes the browser load the logo from the CDN, not your server.
// See https://www.logo.dev/docs/integrations/nextjs#skip-the-optimizer
function CompanyLogo({ domain }: { domain: string }) {
  return (
    <Image
      src={`https://img.logo.dev/${domain}?token=${process.env.NEXT_PUBLIC_LOGO_DEV_PUBLISHABLE_KEY}`}
      alt={`${domain} logo`}
      width={128}
      height={128}
      unoptimized
    />
  );
}
```

```vue Vue theme={null}
<template>
  <img
    :src="`https://img.logo.dev/${domain}?token=LOGO_DEV_PUBLISHABLE_KEY`"
    :alt="`${domain} logo`"
  />
</template>

<script>
export default {
  props: ["domain"],
};
</script>
```

```python Python theme={null}
logo_url = f"https://img.logo.dev/nike.com?token=LOGO_DEV_PUBLISHABLE_KEY"
```

```ruby Ruby theme={null}
logo_url = "https://img.logo.dev/nike.com?token=LOGO_DEV_PUBLISHABLE_KEY"
```

```php PHP theme={null}
$logoUrl = "https://img.logo.dev/nike.com?token=LOGO_DEV_PUBLISHABLE_KEY";
```

```java Android theme={null}
import android.widget.ImageView;
import com.squareup.picasso.Picasso;

public void loadCompanyLogo(String domain, ImageView imageView) {
    String url = "https://img.logo.dev/" + domain + "?token=LOGO_DEV_PUBLISHABLE_KEY";
    Picasso.get()
        .load(url)
        .placeholder(R.drawable.logo_placeholder)
        .error(R.drawable.logo_error)
        .into(imageView);
}
```

```swift iOS theme={null}
import SwiftUI

struct CompanyLogo: View {
    let domain: String

    var body: some View {
        AsyncImage(url: URL(string: "https://img.logo.dev/\(domain)?token=LOGO_DEV_PUBLISHABLE_KEY")) { image in
            image
                .resizable()
                .aspectRatio(contentMode: .fit)
        } placeholder: {
            ProgressView()
        }
        .frame(width: 128, height: 128)
    }
}
```

**3. Open the page**

Load the page in your browser. You see the Nike logo:

![Nike logo](https://img.logo.dev/nike.com?token=live_6a1a28fd-6420-4492-aeb0-b297461d9de2)

[https://img.logo.dev/nike.com?token=LOGO\_DEV\_PUBLISHABLE\_KEY](https://img.logo.dev/nike.com?token=LOGO_DEV_PUBLISHABLE_KEY)

Change `nike.com` to any other domain to show that company's logo.

## Next steps

> [card] [Logo.dev CDN](https://www.logo.dev/docs/logo-images/introduction.md)
>
> Look up logos by ticker, ISIN, crypto symbol, or name, and set the size, format, and theme.

> [card] [Use cases](https://www.logo.dev/docs/use-cases/logo-from-domain.md)
>
> Live demos with working code: logo walls, autocompletes, and transaction feeds.


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