Transparent Background
Request logos with transparent backgrounds using ?variant=transparent.
Transparent
Use variant=transparent to request a logo with a transparent background.
Quick take: add ?variant=transparent for UI overlays, badges, and mixed backgrounds.
variantstring
Use transparent to request a transparent background.
Transparency is not supported in jpg. Use png, webp, or avif.
curl "https://api.brandql.com/logo/stripe.com?variant=transparent"
curl "https://api.brandql.com/logo/stripe.com?variant=transparent&fallback=false"
curl "https://api.brandql.com/logo/stripe.com?variant=transparent&size=128"
curl "https://api.brandql.com/logo/stripe.com?variant=transparent&format=png"
How it works
We look for assets that are already transparent. If a transparent variant exists, you’ll get it. If it doesn’t, we return the default logo unless you opt out of fallback.
Strict mode
If you only want a result when a transparent variant actually exists, set fallback=false. If no transparent variant is available, the response is a 404.
See Fallback Parameter.
Notes
- Not every domain has a transparent variant.
- If you need dark or light adjustments instead of transparency, use
variant=darkorvariant=light.
Related
Was this page helpful?