Logo.dev Demo

Parameters

NameTypeOptionalDefault
🔑  tokenstringfalsen/a
↔️ sizeintegertrue128
🖼️ formatstringtruejpg
⚫️ greyscalebooleantruefalse
⛓️‍💥 fallbackstringtruemonogram

Standard

<img src="https://img.logo.dev/shopify.com" />

Logos returned without any parameters will be 1:1 aspect ratio, 128px tall and wide, and jpg formatted.

https://img.logo.dev/shopify.com


Rate-limiting

In order to avoid the limits, you’ll need an API key or to upgrade your account.

Need an API key? Sign up for a free account

By signing up for a free account and registering your site, you’ll have enough requests to manage most projects.

Your API token is required when using the endpoint publicly.

<img src="https://img.logo.dev/shopify.com?token=YOUR-KEY-HERE" />

PNG instead of JPG

<img src="https://img.logo.dev/shopify.com?format=png" />

In some cases, PNGs with limited color palettes will result in smaller image files with less compression. Using PNGs allows for transparency, although not all logo images will be compatible.

https://img.logo.dev/shopify.com?format=png


Desaturated

<img src="https://img.logo.dev/shopify.com?greyscale=true&format=png" />

Desaturated logos are most useful for landing pages when you want to normalize colors across the set.

https://img.logo.dev/shopify.com?greyscale=true


Resizing images

<img src="https://img.logo.dev/shopify.com?size=80" />

Our image CDN will resize to any valid integer, but we recommend staying under 600px when using raster images like jpg and png.

https://img.logo.dev/shopify.com?size=80


Retina images

<img
  src="https://img.logo.dev/shopify.com?size=80&retina=true"
  width="80"
  height="80"
/>

The retina=true parameter doubles the source image resolution (160px) while displaying at the specified size (80px), creating sharp images on high-density displays. Without this parameter, logos may appear blurry.

Fallback images

In the case where no image is found for a given domain, the API will return a black and white monogram of the first letter of the domain with HTTP Status Code 200 OK.

https://img.logo.dev/shopify.com

If you want to suppress these monograms use the parameter fallback=404 to recieve an empty response and HTTP Status Code 404 Not Found.