How to Get Stock Logos by ISIN

Looking for a reliable way to get stock logos using ISIN codes? This guide shows you how to use the Elbstream Logo API to fetch high-quality logos for any stock, ETF, or fund using their International Securities Identification Number (ISIN).

What is an ISIN?

An ISIN (International Securities Identification Number) is a 12-character alphanumeric code that uniquely identifies a specific securities issue. It's the global standard for identifying stocks, bonds, ETFs, and other financial instruments.

ISIN Structure:

  • First 2 characters: Country code (e.g., US, DE, IE)
  • Next 9 characters: National securities identifier
  • Last character: Check digit

Examples:

  • US0378331005 - Apple Inc.
  • DE0007164600 - SAP SE
  • IE00B4L5Y983 - iShares Core MSCI World ETF

Quick Start: Get a Logo by ISIN

Getting a stock logo by ISIN is as simple as constructing a URL:

<img src="https://api.elbstream.com/logos/isin/US0378331005" alt="Apple logo" />

This returns the Apple Inc. logo because US0378331005 is Apple's ISIN.

Apple stock logo Apple Inc. (ISIN: US0378331005)

Supported Formats

The Logo API supports multiple image formats to fit your needs:

FormatUse CaseExample
SVG (default)Responsive designs, vector graphics/logos/isin/US0378331005
PNGFixed-size implementations/logos/isin/US0378331005?format=png
JPGBackgrounds, thumbnails/logos/isin/US0378331005?format=jpg
WebPModern browsers, best compression/logos/isin/US0378331005?format=webp

Custom Sizes

For PNG, JPG, and WebP formats, you can specify the size in pixels:

<img src="https://api.elbstream.com/logos/isin/US0378331005?format=png&size=200" alt="Apple logo" />

Common Use Cases

1. Portfolio Dashboards

Display logos next to each holding in a user's portfolio:

<div class="portfolio-item">
  <img src="https://api.elbstream.com/logos/isin/US0378331005" alt="Apple" />
  <span>Apple Inc.</span>
  <span>150 shares</span>
</div>

2. Watchlists

Enhance stock watchlists with visual recognition:

const watchlist = ['US0378331005', 'US88160R1014', 'DE0007164600'];

watchlist.forEach(isin => {
  const img = document.createElement('img');
  img.src = `https://api.elbstream.com/logos/isin/${isin}`;
  img.alt = `Stock logo for ${isin}`;
  container.appendChild(img);
});

3. Trading Apps

Show logos in order confirmations and trade history:

<div class="trade-confirmation">
  <img src="https://api.elbstream.com/logos/isin/US88160R1014" alt="Tesla" />
  <p>You bought 10 shares of Tesla (TSLA)</p>
</div>

Coverage

The Elbstream Logo API covers over 400,000 assets including:

  • Stocks from major exchanges worldwide
  • ETFs from all major issuers (iShares, Vanguard, etc.)
  • Funds and mutual funds
  • Crypto currencies (via symbol)

Error Handling

If an ISIN is not found, the API returns a placeholder image. You can detect this and handle it gracefully:

const img = new Image();
img.onload = () => {
  // Logo loaded successfully
  container.appendChild(img);
};
img.onerror = () => {
  // ISIN not found, use fallback
  img.src = '/fallback-logo.png';
};
img.src = `https://api.elbstream.com/logos/isin/${isin}`;

Attribution

The Logo API is free to use with attribution. Add a visible link back to Elbstream on any page displaying logos:

<a href="https://elbstream.com">Logos provided by Elbstream</a>

For usage without attribution, check out the Enterprise plan.

Next Steps