# Prints the status code and image type. The logo itself is not saved.
curl --silent --output /dev/null \
--write-out "%{http_code} %{content_type}\n" \
"https://img.logo.dev/stripe.com?token=LOGO_DEV_PUBLISHABLE_KEY&size=128&format=png""<string>"Get a logo
Get a logo image by domain, brand name, stock ticker, ISIN, crypto symbol, stock exchange, or market index.
# Prints the status code and image type. The logo itself is not saved.
curl --silent --output /dev/null \
--write-out "%{http_code} %{content_type}\n" \
"https://img.logo.dev/stripe.com?token=LOGO_DEV_PUBLISHABLE_KEY&size=128&format=png""<string>"Get your API keys
| Lookup | Path |
|---|---|
| Domain | /stripe.com |
| Brand name | /name/Stripe |
| Stock ticker | /ticker/AAPL |
| ISIN | /isin/US0378331005 |
| Crypto symbol | /crypto/BTC |
| Stock exchange | /exchange/NYSE |
| Market index | /index/SPX |
- For a ticker outside the US, add the exchange suffix, such as
7203.T. - URL-encode a name that has spaces or special characters.
/namealso takesstrategy:match(the default) for the closest name, orsuggestfor the most popular prefix match. - A lookup with no logo returns a generated monogram, unless you set
fallback=404. A malformed ticker, crypto symbol, exchange, or index returns400.
Authorizations
Path Parameters
Query Parameters
Adjusts logo colors for a light or a dark background. auto is the same as light. Works on logos with transparency, so set format=png or format=webp with it. Do not send theme=dark with jpg, the default format: the request can return 404.
auto, light, dark What to return when the domain reaches a brand only through a redirect to another domain, such as an old domain that now points to a new company. follow returns the logo of the domain it redirects to. 404 returns 404 instead, whatever fallback is set to. See skip domains that redirect.
follow, 404 Response
The logo image. When no logo exists and fallback is monogram (the default), a generated monogram is returned with this same 200 status.
The response is of type file.
Was this page helpful?