Company logos

Logo image for a listed company

Returns the image itself, ready for an <img> tag. A listed company without a published logo gets an initials tile, marked with the X-Logo-Fallback: monogram header. Unknown symbols return 404 unless fallback=monogram is set.

get/v1/logos/{symbol}

Request

  • Base URL: https://api.dharun.dev
  • URL: https://api.dharun.dev/v1/logos/{symbol}
  • Auth: none declared

Path parameters

symbolstring required

Ticker, exchange-qualified ticker, Yahoo symbol, ISIN or earlier ticker. A .svg or .png suffix selects the format.

Query parameters

format'svg' | 'png'

Image format. Default svg.

sizeinteger

PNG width and height in pixels, 16 to 512. Default 128.

fallback'monogram'

Return an initials tile instead of 404 for unknown symbols.

exchange'nse' | 'bse'

Force an exchange.

Response

Success

Changes

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