Logo CDN

Get a logo by stock exchange

Returns the logo for a stock exchange by its code, e.g. NYSE, NASDAQ, or LSE. See Get a logo for every lookup.

get/exchange/{exchange}

Request

  • Base URL: https://img.logo.dev
  • URL: https://img.logo.dev/exchange/{exchange}
  • Auth: API key in query parameter token

Path parameters

exchangestring required
Example:NYSE

Stock exchange code.

Query parameters

sizeinteger

Width and height in pixels. Aspect ratio is preserved. Max 800: a larger value is clipped to 800. retina=true doubles the result after the clip. Keep raster formats at or below 600.

heightinteger

Height in pixels (short form: h). Overrides the height taken from size when set; the image is fit within width × height with aspect ratio preserved. Max 800 (larger is clipped).

widthinteger

Width in pixels (short form: w). Overrides the width taken from size when set; the image is fit within width × height with aspect ratio preserved. Max 800 (larger is clipped).

format'jpg' | 'png' | 'webp'

Image format.

theme'auto' | 'light' | 'dark'

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.

greyscaleboolean

Return a black-and-white version of the logo. The American spelling grayscale is also accepted.

retinaboolean

Render at 2x the requested size for high-density displays.

fallback'monogram' | '404'

Behavior when no logo is found. monogram returns a generated monogram with HTTP 200; 404 returns HTTP 404 instead.

redirect'follow' | '404'

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.

Response

The logo image. When no logo exists and fallback is monogram (the default), a generated monogram is returned with this same 200 status.

Changes

No recorded changes to this operation across all 1 revision of this API.