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

# Troubleshoot logos: white box, monogram, blurry

> Fix common Logo.dev display issues: a white box behind a logo, a monogram instead of the real logo, blurry images, the wrong logo, or a logo that won't render.

Most logo problems are visual. The image loads with a `200` but doesn't look right. Find your symptom below. For status codes such as `401`, `403`, and `429`, see [errors and status codes](https://www.logo.dev/docs/platform/errors.md).

| Symptom | Cause |
| - | - |
| [White or colored box behind the logo](#white-or-colored-box-behind-the-logo) | The default `jpg` format is opaque |
| [A monogram instead of the real logo](#a-monogram-instead-of-the-real-logo) | Logo.dev has no logo for that identifier |
| [Blurry or low-resolution logo](#blurry-or-low-resolution-logo) | The size is larger than the source, or retina is off |
| [Wrong logo for the company](#wrong-logo-for-the-company) | A cached old logo, or a record that needs an update |
| [Logo doesn't render at all](#logo-doesnt-render-at-all) | Content Security Policy, or the key |
| [`next/image` errors about the hostname](#nextimage-errors-about-the-hostname) | The image goes through the Next.js optimizer |

## White or colored box behind the logo

The default format is `jpg`, which has no transparency. On a colored or dark surface, the logo sits on a white rectangle. Request `format=png` for a transparent background, and set `theme` to match your background:

```html theme={null}
<img src="https://img.logo.dev/stripe.com?token=LOGO_DEV_PUBLISHABLE_KEY&format=png&theme=dark" alt="Stripe logo" />
```

See the [Get a logo reference](https://www.logo.dev/docs/api-reference/logo-cdn/get-a-logo.md) for `format` and `theme`.

## A monogram instead of the real logo

A monogram means Logo.dev has no logo for that identifier. The request did not fail. If the company should have a logo, [request an update](https://www.logo.dev/update).

To show your own image instead of the monogram, see [fallback images](https://www.logo.dev/docs/logo-images/introduction.md#fallback-images).

## Blurry or low-resolution logo

Logos render up to 800 pixels, and a larger `size` is reduced to 800. A `size` larger than the source file upscales it, and the result looks soft. Request the size you display, and add `retina=true` to get a 2x image for high-density screens:

```html theme={null}
<img src="https://img.logo.dev/stripe.com?token=LOGO_DEV_PUBLISHABLE_KEY&size=128&retina=true" alt="Stripe logo" />
```

## Wrong logo for the company

If the company changed its logo recently, your browser can show the old one from its cache. See [refreshing a changed logo](https://www.logo.dev/docs/platform/caching.md#refreshing-a-changed-logo).

If the logo is outdated or belongs to another company, [request an update](https://www.logo.dev/update).

## Logo doesn't render at all

Open the browser console. A line such as `Refused to load the image ... because it violates the following Content Security Policy directive` means your `Content-Security-Policy` blocks the image. Add `img.logo.dev` to your `img-src` directive. See [CORS, canvas, and Content Security Policy](https://www.logo.dev/docs/platform/cors.md).

If the request returns `401`, check the key and its domain restrictions. See [authentication errors](https://www.logo.dev/docs/platform/errors.md#authentication-errors-401).

## next/image errors about the hostname

`next/image` sends an image through the Next.js optimizer by default, and the optimizer rejects a hostname that you have not allowed. Add the `unoptimized` prop so the browser loads the logo from the CDN. Don't add `img.logo.dev` to `images.remotePatterns`, because the optimizer then fetches the logo on your server. See [Use Logo.dev with Next.js](https://www.logo.dev/docs/integrations/nextjs.md).


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