Parameters
Name | Type | Optional | Default |
---|---|---|---|
🔑 token | string | false | n/a |
↔️ size | integer | true | 128 |
🖼️ format | string | true | jpg |
💡 theme | string | true | auto |
⚫️ greyscale | boolean | true | false |
⛓️💥 fallback | string | true | monogram |
Standard
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. Learn more about our rate limiting policies.
Need an API key? Sign up for a free account
By signing up for a free account you’ll have enough requests to manage most
projects.
PNG instead of JPG
https://img.logo.dev/shopify.com?format=png
Desaturated
https://img.logo.dev/shopify.com?greyscale=true
Light and dark modes
theme
parameter adjusts logo colors for visibility on your background.
theme=dark
: Use when displaying logos on dark backgrounds. Inverts light-colored logos (e.g., white logos become black).theme=light
: Use when displaying logos on light backgrounds. Inverts dark-colored logos (e.g., black logos become white).
https://img.logo.dev/apple.com?theme=dark&format=png
https://img.logo.dev/apple.com?theme=light&format=png
Resizing images
jpg
and png
.
https://img.logo.dev/shopify.com?size=80
Retina images
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 Code200 OK
.
https://img.logo.dev/example.com
fallback=404
to recieve an empty response and HTTP Status Code 404 Not Found
.