> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brandfetch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stock ticker logos

> Show company logos in stock watchlists and portfolio cards using the Logo API's ticker route

Investing apps feel instantly familiar when every holding shows the company's real logo. The [Logo API](https://docs.brandfetch.com/logo-api/overview.md) resolves a logo directly from a **stock or ETF ticker**, no separate ticker-to-domain mapping to build or maintain.

## Ticker watchlist

A ticker watchlist with logo, symbol, name, and a color-coded daily change, the core of any brokerage or portfolio screen.

> [tab] Preview
>
> Preview

> [tab] Code
>
> ```tsx TickerWatchlist.tsx theme={null}
> const CLIENT_ID = "YOUR_CLIENT_ID"; // free client ID from developers.brandfetch.com/register
>
> const HOLDINGS = [
>   { symbol: "AAPL", name: "Apple Inc.", price: "227.52", change: "+1.24%", up: true },
>   { symbol: "NVDA", name: "NVIDIA Corp.", price: "138.07", change: "+3.45%", up: true },
>   { symbol: "TSLA", name: "Tesla, Inc.", price: "251.44", change: "-2.10%", up: false },
>   { symbol: "AMZN", name: "Amazon.com, Inc.", price: "201.16", change: "+0.62%", up: true },
> ];
>
> export function TickerWatchlist() {
>   return (
>     <div className="flex w-full max-w-[380px] flex-col gap-0.5">
>       {HOLDINGS.map((h) => (
>         <div
>           key={h.symbol}
>           className="flex cursor-pointer items-center gap-3 rounded-[10px] px-3 py-2.5 transition-colors duration-150 hover:bg-[#6363631f]"
>         >
>           <img
>             src={`https://cdn.brandfetch.io/ticker/${h.symbol}/w/80/h/80/fallback/lettermark?c=${CLIENT_ID}`}
>             alt={`${h.name} logo`}
>             className="h-10 w-10 shrink-0 rounded-lg"
>           />
>           <div className="min-w-0 flex-1">
>             <div className="text-[15px] font-semibold">{h.symbol}</div>
>             <div className="truncate text-[13px] text-[#6b7280]">{h.name}</div>
>           </div>
>           <div className="shrink-0 text-right">
>             <div className="text-[15px] font-semibold">${h.price}</div>
>             <div className={`text-[13px] font-medium ${h.up ? "text-[#16a34a]" : "text-[#dc2626]"}`}>
>               {h.change}
>             </div>
>           </div>
>         </div>
>       ))}
>     </div>
>   );
> }
> ```

Want a logo-branded stock watchlist in your app? This prompt gives your AI coding tool everything it needs to build it in your framework.

Build a stock watchlist: a vertical list of rows, each showing the company's logo, its ticker symbol, company name, current price, and a color-coded daily change (green when up, red when down).

Fetch each logo from Brandfetch's Logo API using the ticker route (get a free client ID at `https://developers.brandfetch.com/register`): `https://cdn.brandfetch.io/ticker/{SYMBOL}/w/40/h/40/fallback/lettermark?c=YOUR_CLIENT_ID`

The ticker route maps a stock or ETF symbol (e.g. `AAPL`, `TSLA`, `QQQ`) straight to the company's logo, so no domain lookup is needed. Use `fallback/lettermark` so a row never shows a broken image. Add a subtle background highlight on row hover.

Use the Logo API the intended way: hotlink the CDN URL directly in the image `src`, don't download, cache, or re-host the file. Requests are free with a client ID and always return the brand's current logo.

## Portfolio holding card

A single holding rendered as a card, with the logo, position value, and daily change, for a portfolio or position-detail view.

> [tab] Preview
>
> Preview
>
> ![NVIDIA logo](https://cdn.brandfetch.io/ticker/NVDA/w/88/h/88/fallback/lettermark?c=1bfwsmEH20zzEfSNTed)
>
> NVDA
>
> NVIDIA Corp.
>
> \$4,142.10
>
> ▲ \$103.50 (2.56%) today
>
> 30 shares
> Avg \$130.24

> [tab] Code
>
> ```tsx TickerPortfolioCard.tsx theme={null}
> const CLIENT_ID = "YOUR_CLIENT_ID"; // free client ID from developers.brandfetch.com/register
>
> export function TickerPortfolioCard() {
>   return (
>     <div className="w-full max-w-[280px] rounded-xl border border-[#63636333] bg-white p-5 dark:bg-[#1c1d1f]">
>       <div className="flex items-center gap-3">
>         <img
>           src={`https://cdn.brandfetch.io/ticker/NVDA/w/88/h/88/fallback/lettermark?c=${CLIENT_ID}`}
>           alt="NVIDIA logo"
>           className="h-11 w-11 rounded-lg"
>         />
>         <div>
>           <div className="font-bold">NVDA</div>
>           <div className="text-[13px] text-[#6b7280]">NVIDIA Corp.</div>
>         </div>
>       </div>
>       <div className="mt-4 text-2xl font-bold">$4,142.10</div>
>       <div className="mt-1 text-sm font-medium text-[#16a34a]">▲ $103.50 (3.45%) today</div>
>       <div className="mt-3 flex justify-between border-t border-[#63636326] pt-3 text-[13px] text-[#6b7280]">
>         <span>30 shares</span>
>         <span>Avg $130.24</span>
>       </div>
>     </div>
>   );
> }
> ```

Want a portfolio holding card with the company's logo? This prompt gives your AI coding tool everything it needs to build it in your framework.

Build a portfolio holding card for a single position. Show the company's logo and ticker at the top, the current position value in large bold text, a color-coded daily change (green up / red down) with a directional arrow, and a footer row with shares held and average cost.

Fetch the logo from Brandfetch's Logo API ticker route (get a free client ID at `https://developers.brandfetch.com/register`): `https://cdn.brandfetch.io/ticker/{SYMBOL}/w/44/h/44/fallback/lettermark?c=YOUR_CLIENT_ID`

Use the Logo API the intended way: hotlink the CDN URL directly in the image `src`, don't download, cache, or re-host the file. Requests are free with a client ID and always return the brand's current logo.

## Implementation

**1. Get a free client ID**

Register on the [Developer Portal](https://developers.brandfetch.com/register), the Logo API is free and requires no attribution.

**2. Use the ticker route**

Swap the usual `domain` segment for `ticker`, the CDN resolves the symbol to the company for you. The same route also accepts `isin/{ISIN}` and `crypto/{SYMBOL}`.

```text theme={null}
https://cdn.brandfetch.io/ticker/{SYMBOL}/w/40/h/40/fallback/lettermark?c=YOUR_CLIENT_ID
```

**3. Guarantee a fallback**

Keep `fallback/lettermark` so delisted or unrecognized symbols still render a clean monogram instead of a broken image.

## Pricing

The Logo API is free, including the ticker, ISIN, and crypto routes. Create a client ID on the [Developer Portal](https://developers.brandfetch.com/register), no attribution required.

## Measuring impact

Logos on holdings are a recognition and trust signal, so watch for engagement lifts on list and detail screens: taps into holdings, watchlist adds, and time spent on portfolio views.

[GBM uses this pattern](https://brandfetch.com/developers/customers/gbm) across portfolios, watchlists, and trading screens, serving over 2.5 million logos a day.

## Going further

> [card] [Logo API parameters](https://docs.brandfetch.com/logo-api/parameters.md)
>
> All identifier routes and sizing, type, and theme options.

> [card] [Brand API by ticker](https://docs.brandfetch.com/reference/brand-api-ticker.md)
>
> Company name, exchange, and sector alongside the logo.

> [card] [Get started](https://developers.brandfetch.com/register)
>
> Create a free account and start building.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.