Demo
Here’s the watchlist rendering five sample quotes: The prices are sample data, but every logo loads live from the ticker endpoint.Build it with AI
Want logos in your stock watchlist? This prompt gives your AI coding tool everything it needs to build it in your framework.
Code
This example is in React, but you can get the same result in any frontend framework: each row is one ticker-keyed image URL next to your quote data. PasteWatchlist.tsx, then render it as the Usage tab shows. Logos render at 40px from an 80px source, so they stay sharp on retina screens.
Your publishable key is built for client-side code, so
you can ship it in the browser as-is.
How it works
- Lookup is by ticker symbol, not domain.
img.logo.dev/ticker/AAPLresolves the symbol to the company and serves its logo, so each row needs only the ticker you already have. See the ticker endpoint. - Query parameters handle the rendering.
sizesets dimensions,retinakeeps marks sharp, andformat=webpkeeps files light. See all image parameters. - The CDN keeps refreshes cheap. Logos load like any other cached image, so re-rendering the list as prices move costs nothing beyond normal image requests.
- The layout is plain markup. Prices stay aligned as values change and logos load as rows scroll into view. The component above carries the details.
Make it your own
- Use other identifiers. Swap
/ticker/for ISIN (/isin/US0378331005) or crypto symbols (/crypto/BTC) and keep the same component. - Handle symbols outside coverage. Fall back to the company’s website with the logo from a domain pattern.
- Restyle the logos. Add
&greyscale=truefor a muted list or&theme=darkfor dark backgrounds. See all image parameters.
Next steps
Ticker lookup
Read the full reference for logos by stock ticker.
Transaction logos
Build the same row pattern for banking and expense apps.