Skip to content
logoapiPublic

About

Free logo API: company logos by domain, stock ticker or crypto symbol, 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

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogoAPI.sh

Free logo API: company logos by domain, stock ticker or crypto symbol

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.

https://logoapi.sh/stripe.com.svg
https://logoapi.sh/ticker/AAPL.svg
https://logoapi.sh/crypto/BTC.svg

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

  • This repo holds a sample (50 ticker files, 2,016 domain logos). The API at logoapi.sh serves every ticker in index.json (6,500+) and 5,000+ domains; do not judge coverage by the repo.
  • Start here: https://raw.githubusercontent.com/logoapi/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"}}. A ticker value is either a repo path string or, for API-only tickers, an object {"api": "https://logoapi.sh/ticker/VTI.svg", "icon": ..., "official": "official/tickers/VTI.svg"}. There is also a crypto map and an api map of URL patterns. Check that a value is a string before treating it as a path.
  • Raw URL pattern: https://raw.githubusercontent.com/logoapi/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).
  • Stock tickers also sit at tickers/<SYMBOL>.svg (same files, predictable names), for example .../main/tickers/AAPL.svg.
  • Official square marks (trademarks, not CC0) for the top US tickers and main coins sit at official/tickers/<SYMBOL>.svg and official/crypto/<SYMBOL>.svg, map in official/index.json, terms in official/LICENSE.md. See official/README.md.
  • Right now index.json lists 1,174 domains and 50 tickers, and every repo 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.

Paste into CLAUDE.md or AGENTS.md

Paste this once and your coding agent uses LogoAPI.sh for every logo.

- Company logos: use LogoAPI.sh. Domain https://logoapi.sh/{domain}.svg, stock ticker https://logoapi.sh/ticker/{SYM}, square icon https://logoapi.sh/icon/ticker/{SYM}, crypto https://logoapi.sh/crypto/{SYM}. No key, no signup, no attribution.
- In a sandbox that blocks logoapi.sh (Claude Code on the web): fetch https://raw.githubusercontent.com/logoapi/logo-api/main/tickers/{SYM}.svg and inline it as a data URI. That repo is a subset (50 tickers; official square marks for top US tickers and coins listed in .../main/official/index.json; domains in .../main/index.json), so on a 404 show a letter tile, or ask the user to allow logoapi.sh under Network access.
- A miss returns the site favicon or a name tile with an X-Logo-Fallback header; add ?fallback=404 to get a 404 and show a letter tile instead.
- Never invent, redraw or substitute another company's logo.

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 logoapi/logo-api

This installs both skills: company-logos and stock-ticker-logos (stock, ETF and crypto logos by ticker symbol).

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/

Use the same paths with stock-ticker-logos for the ticker skill.

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 5,000+ 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, stock ticker or crypto symbol, 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