AMZN MKTP US*XX1234 means nothing to the person reading it. Banking, expense, and budgeting apps earn trust by showing a merchant logo and a clean name instead.
Your user opens their activity feed and recognizes every charge at a glance: the coffee, the ride, the payout. Each logo is a Logo API image URL built from the merchant’s domain, so there are no logo files to collect or host.
Demo
Here’s the feed rendering five sample transactions: The amounts are sample data, but every merchant logo loads live fromimg.logo.dev.
Build it with AI
Want merchant logos in your transaction feed? 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 image URL next to data you already have. PasteTransactionFeed.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
- Every merchant logo is one image URL.
img.logo.dev/:domainreturns the merchant’s logo, and query parameters handle the rest:sizefor dimensions,retinafor sharp rendering,format=webpfor weight. See all image parameters. - Unknown merchants still render. When Logo.dev doesn’t have a logo, it returns a generated monogram instead of a broken image, so a feed full of small or local merchants stays clean. See fallback images.
- The CDN keeps long feeds fast. Logos load like any other cached image, so scrolling months of history costs nothing beyond normal image requests.
- The layout is plain markup. Amounts line up in a steady column and logos load as rows scroll into view. The component above carries the details.
Make it your own
- Start from raw statement strings. Resolve processor text like
SBUX_STORE_321_NYCto a merchant with the Transaction API, currently in early access. - Look up logos by name. Have clean merchant names but no domains? Use name lookup or resolve names to domains with the Search API.
- Restyle the logos. Add
&greyscale=truefor a muted feed or&theme=darkfor dark backgrounds. See all image parameters.
Next steps
Transaction API
Identify merchants from raw card transaction strings.
Stock ticker logos
Build the same row pattern for trading and portfolio apps.