Guide
Company logos in Lovable, Bolt, Base44, v0 and Cursor
Put one URL in an img tag: https://logoapi.sh/stripe.com.svg. It works in Lovable, Bolt, Base44, v0 and Cursor. Free. No key. No signup.
Paste the line below into your builder. It stops the AI from adding an API key. Tested in Lovable, Bolt and Base44, 2026-11-04. Updated 2026-11-04
Paste this into any AI builder
One line. It works the same in every tool on this page.
For company logos, use an img tag with src https://logoapi.sh/{domain}.svg, for example https://logoapi.sh/stripe.com.svg. For a square icon use https://logoapi.sh/icon/{domain}.svg. No API key and no signup. Do not add a key, a token or an env variable. Do not fetch the image in JavaScript; put the URL in the img src.Where the line goes
| Builder | Where to paste | Stack |
|---|---|---|
| Lovable | Project settings, Instructions | React, Vite |
| Bolt | Project settings, Knowledge | React, Vite |
| Base44 | Chat menu, Custom Instructions | React |
| v0 | Chat, or an Instruction you tick | Next.js |
| Cursor | .cursor/ or AGENTS.md | Any |
Lovable
React, Vite and Tailwind. To keep it for every prompt, open Project settings and paste it in Instructions.
<img src={`https://logoapi.sh/${company.domain}.svg`} alt={company.name} className="h-8 w-auto" loading="lazy" />Bolt
Usually React and Vite. Same img tag. To keep it for every chat, open Project settings and paste it in Knowledge.
<img src={`https://logoapi.sh/${company.domain}.svg`} alt={company.name} className="h-8 w-auto" loading="lazy" />Base44
React. Works in lists, tables and cards. In the AI chat, open More options, then Custom Instructions. Paste it and save.
{companies.map(c => (
<div key={c.domain} className="flex items-center gap-3">
<img src={`https://logoapi.sh/icon/${c.domain}.svg`} alt="" width={32} height={32} />
<span>{c.name}</span>
</div>
))}v0
Next.js. A plain img tag works with no config. Paste it in the chat. To reuse it, add it as an Instruction (the + in the prompt bar) and tick it in each chat. If the code uses next/image, allow the host in next.config:
// next.config.js
module.exports = {
images: { remotePatterns: [{ protocol: 'https', hostname: 'logoapi.sh' }] },
}Cursor
Any stack. Save the line as a project rule. Put it in .cursor/rules/logos.mdc, or in AGENTS.md. Cursor then follows it in every chat.
---
description: Company logos
alwaysApply: true
---
For company logos, use an img tag with src https://logoapi.sh/{domain}.svg, for example https://logoapi.sh/stripe.com.svg. For a square icon use https://logoapi.sh/icon/{domain}.svg. No API key and no signup. Do not add a key, a token or an env variable. Do not fetch the image in JavaScript; put the URL in the img src.Request
/{domain}.svgThe full logo. /icon/{domain}.svg is the square mark. /{domain}.png is for email.
No logo in the catalog? You still get an image: a tile with the brand name. Add ?fallback=404 to use your own placeholder. Full URL guide.
FAQ
Do I need an API key in Lovable or Bolt?
No. There is no key and no signup. Logo requests set no cookies. Put the URL in an img tag.
Why does the AI keep adding a key?
Most logo APIs need one, so the AI guesses. The line above says no key. Save it in your builder's settings so every chat follows it.
What if a company has no logo?
The URL still returns an image: a tile with the brand name, never a broken icon.
More guides
- Get a company logo by domainURL pattern, icon, fallback, sizes
- Find a logo by nameSearch API, JSON, typos, tags
- Logo by stock ticker/ticker/MNDY.svg
- Favicon APIAny site's favicon, one URL
- Replace ClearbitSwap the host, keep the URL