1. Use the Client ID
Always include your Client ID using the?c= query parameter in every Logo API request.
This helps track your usage accurately and ensures your requests are handled reliably without unnecessary throttling.
Correct
2. Set Alt Text
For accessibility and SEO, always provide meaningful alt text for logo images. In most cases, the alt text should identify the brand name clearly. If the logo is purely decorative, you can use an emptyalt="".
3. Specify Dimensions
Always define the image width and height to prevent layout shifts and improve page experience. You can use Logo API sizing parameters to request the exact logo size you need from the CDN.4. Implement Smart Fallbacks
Logo API supports millions of brands, but some logos may occasionally be unavailable. Use built-in fallback options to keep your UI clean even when a logo cannot be found.Built-in Fallback
5. Use Modern Image Formats
By default, Logo API serves images in WebP format. WebP provides strong image quality with smaller file sizes compared to PNG or JPEG, helping logos load faster across your website or application. Use the default WebP format unless your project has specific compatibility requirements.6. Prefer SVG for Full Logos
When using thelogo type, which usually represents the full company wordmark, SVG is often the best format.
SVG keeps logos crisp at different screen sizes, zoom levels, and resolutions.
