Skip to content
AlonHarpazPublic

About

Free logo API: company logos by domain as SVG or PNG. No API key, no signup. Free Clearbit Logo API alternative. This repo holds part of the catalog; the logoapi.sh CDN serves all 5,000+ logos.

Topics

Resources

Stars

22 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

LogoAPI.sh

Free logo API: company logos by domain

One URL returns the SVG. No API key, no signup, no attribution.
A free alternative to the Clearbit Logo API. 2M requests a month per site. Commercial use included.

<img src="https://logoapi.sh/stripe.com.svg" alt="Stripe">

This repo holds part of the catalog. The logoapi.sh CDN serves all 5,000+ logos. We add more here when the licence allows.

5,000+ logos via API 2,016 CC0 files in this repo No API key Attribution not required 2M requests a month per site, free CC0

Docs · Logo Finder · Pricing · Migrating from Clearbit


Stripe     GitHub     Slack     Spotify     Figma     Vercel

Every logo above is a live response from logoapi.sh, with the dark mode version on dark themes.


Using this from an AI agent or sandbox

  • Start here: https://raw.githubusercontent.com/AlonHarpaz/logo-api/main/index.json. Look up the domain or the stock ticker there, then fetch the path it gives you.
  • Files are NOT named by domain. logos/apple.com.svg and logos/<domain>/logo.svg do not exist. Names are slugs, such as logos/apple.svg, so always go through index.json.
  • Shape: {"domains": {"apple.com": "logos/apple.svg"}, "tickers": {"AAPL": "logos/apple.svg"}}
  • Raw URL pattern: https://raw.githubusercontent.com/AlonHarpaz/logo-api/main/<path>, for example .../main/logos/apple.svg.
  • Files in this repo are CC0 (public domain). Logos remain trademarks of their owners: use them to identify the company, and don't suggest the company endorses you. Full catalog and terms: https://logoapi.sh.
  • The full catalog (5,000+ logos, tickers, crypto, PNG) is on the API: https://logoapi.sh/<domain>, https://logoapi.sh/ticker/<SYM> and https://logoapi.sh/icon/ticker/<SYM>.
  • Tickers: index.json has a tickers map, and the API serves https://logoapi.sh/ticker/<SYM>. ETFs map to the issuer (SPY goes to ssga.com).
  • Right now index.json lists 1,174 domains and 50 tickers, and every path in it exists.
  • If outside hosts are blocked, connect the MCP server https://logoapi.sh/mcp, or ask the user to allow logoapi.sh.

Quick start

Swap the domain. That's it.

<img src="https://logoapi.sh/stripe.com.svg" alt="Stripe" height="24">
curl -I https://logoapi.sh/stripe.com.svg
# HTTP/2 200
# content-type: image/svg+xml
# access-control-allow-origin: *

An unknown domain gets the site's live favicon, then a letter tile. Add ?fallback=404 to get a plain 404 and run your own fallback.

Routes

What you need URL
Wordmark logo https://logoapi.sh/{domain}.svg
Square icon https://logoapi.sh/icon/{domain}.svg
Favicon https://logoapi.sh/favicon/{domain}
White, black, grey, dark mode https://logoapi.sh/{white|black|grey|dark}/{domain}.svg
Name to domain https://logoapi.sh/search?q=stripe
Clearbit-style bare domain https://logoapi.sh/{domain}

Full reference with real responses: logoapi.sh/docs

Examples

React

function CompanyLogo({ domain, name }) {
  return (
    <img
      src={`https://logoapi.sh/${domain}.svg?fallback=404`}
      alt={name}
      height={24}
      onError={(e) => { e.currentTarget.style.display = "none"; }}
    />
  );
}

Dark mode

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://logoapi.sh/dark/stripe.com.svg">
  <img src="https://logoapi.sh/stripe.com.svg" alt="Stripe" height="24">
</picture>

Only have a company name?

curl "https://logoapi.sh/search?q=stripe"
{
  "query": "stripe",
  "results": [
    {
      "domain": "stripe.com",
      "name": "Stripe",
      "logo": "https://logoapi.sh/stripe.com.svg",
      "icon": "https://logoapi.sh/icon/stripe.com.svg",
      "tags": ["finance"]
    }
  ]
}

Coming from Clearbit?

The Clearbit Logo API (logo.clearbit.com) has shut down. Change the host and keep the domain:

- https://logo.clearbit.com/stripe.com
+ https://logoapi.sh/stripe.com

Step-by-step guide: Clearbit Logo API migration

Use as an agent skill

An Agent Skill teaches coding agents to add the right logo URL (domain, ticker, icon, PNG for email, no-code builders). Install:

npx skills add AlonHarpaz/logo-api

Or copy skills/company-logos/ into your tool's skills folder:

Tool Project path
Claude Code .claude/skills/company-logos/
Codex .agents/skills/company-logos/
GitHub Copilot .github/skills/company-logos/
Cursor .cursor/skills/company-logos/

Pricing

Free: 2M requests a month per site. No key, no attribution required. Pro (waitlist): $29 a month for 10M requests a month and email support. Join at logoapi.sh/pricing. Details: logoapi.sh/pricing

Do I have to credit LogoAPI.sh? No. No attribution is required, for personal or commercial projects.

What's in this repo

This repo holds the open logo files behind LogoAPI.sh: 2,016 SVGs in the public domain under CC0. Provenance and the pinned source commit are in the LICENSE file.

The hosted API serves the full catalog of 4,138 brands, with wordmarks, icons, colour versions and search. The API service itself is not in this repo.

Contributing

  • Missing, wrong or outdated logo? Open an issue. The forms ask for the domain and a link to the official file.
  • You own a brand and want its logo changed or removed? Use logoapi.sh/claim. We reply within 2 business days.

License

Logo files in this repo: CC0 1.0. Logos remain trademarks of their owners. Use them to refer to the company, not to imply endorsement.

LogoAPI.sh is operated by H. Tech Innovation LLC, Dallas, TX.

About

Free logo API: company logos by domain as SVG or PNG. No API key, no signup. Free Clearbit Logo API alternative. This repo holds part of the catalog; the logoapi.sh CDN serves all 5,000+ logos.

Topics

Resources

Stars

22 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages