Use Case • Free Logo API

Sender Logos in Email

Show the sender's company logo next to each email, so that people recognize who writes to them.

stripe.com logo
airbnb.com logo
slack.com logo
linear.app logo

Try It

Enter a company's domain or LinkedIn slug to get its logo.

Settings

1.00
Logo preview
Logo URL
https://logos-api.apistemic.com/domain:stripe.com

How to Build It

  1. 1

    Take the domain from the sender's address, e.g. [email protected] -> stripe.com.

  2. 2

    Skip free mail providers like gmail.com, as their logo says nothing about the sender.

  3. 3

    Add format=png for logos inside emails: Outlook and other clients cannot show WebP.

Code Examples

Copy and adapt them, the logo URLs work as they are.

Sender logo URL
// Attribution required: link to https://logos.apistemic.com on your homepage
const FREE_MAIL_DOMAINS = new Set(["gmail.com", "outlook.com", "yahoo.com"]);

// [email protected] -> https://logos-api.apistemic.com/domain:stripe.com?format=png
function buildSenderLogoUrl(address) {
  const domain = address.split("@")[1].toLowerCase();
  if (FREE_MAIL_DOMAINS.has(domain)) return null;
  return `https://logos-api.apistemic.com/domain:${domain}?format=png`;
}

Prompt for Your Coding Agent

Paste it into Claude Code, Cursor, or a similar tool to build this in your codebase.

Prompt
Show the sender's company logo next to each email in our inbox view.
Use https://logos-api.apistemic.com/domain:<domain>?format=png with the domain of the sender's address, and show no logo for free mail providers like gmail.com.
Add a visible link to https://logos.apistemic.com on our homepage, as the API requires.

Free with Attribution

The logo API is free. Just add a visible attribution link.

  • ✓Add a backlink on your homepage
  • ✓Show attribution where logos appear
  • ✓Use a User-Agent with contact information for server-side requests

Add this link:

Logos by <a href="https://logos.apistemic.com">apistemic logos</a>

Server-side? Use a User-Agent with contact info and limit to 1 rps. We check homepage backlinks automatically. Don't use rel="nofollow". See full rules.

Related Use Cases

More ways to use company logos

See all use cases, or how to add logos in your framework.