Implementation guide
The Logo API is a free product. Before you deploy your application to a live environment, be sure to consult our rate limits and review our usage guidelines to ensure a smooth launch.1
Embed your logo
To embed a logo, simply use an
img tag with the following src attribute:2
Register an account and get your Client ID
Each request must include your unique client ID. This ensures your usage stays within fair limits and logos render reliably.To get your client ID, register for free from our Developer Portal.
3
Implement additional features
Beyond simply swapping out the base URL, Brandfetch’s Logo API offers powerful features to enhance your logo fetching experience:
- Logo types: Access not just logo icons, but also brand symbols and main logos.
- Theme variants: Access dark or light logos, display them on any background.
- Customizable sizing: Adjust the logo’s height and width to fit your needs.
- Smart fallbacks: Even when a logo isn’t available, you’ll get fallbacks.
-
Search by Stock ticker: Query directly by Stock Ticker (e.g.,
NKE). -
Search by ISIN: Query directly by ISIN (e.g.,
US6541061031).
Default icon
Get the brand’s default logo icon.PNG or JPG instead of WEBP
By default Logo API serves logos in the modern and highly efficient WebP format. You can use others formats by specifying the file extension in the URL.logo, symbol type variants support an additional svg format.
Logo sizing / Retina
Customize the logo’s dimensions by addingw (width) and h (height) query parameters to the URL. The ratio of the logo is always respected.
For Retina displays, double the size values for optimal display. e.g., for a 64x64 icon display, set h=128 and w=128.
Type variants
Request different types of logos by using thetype path parameter.
Available variants are: icon, symbol, and logo.