Stock Logo API
Stock Logo API allows you to retrieve logos based on a stock exchange ticker, providing both high-quality images and fallback options when a logo is not available.
Basic Usage
Stock Logo API works through hotlinking stock ticker logos directly into your app or website. Simply use an image tag, and the logos will load directly from our global CDN. This approach ensures you always display the most current logo versions without managing logo files yourself. Since our service is designed for hotlinking, please note that caching or storing the logo images locally is not supported.
This snippet demonstrates how to retrieve a logo for stock ticker AAPL
:
Limitations
Our Free Logo API plan is limited to 64x64px logos and require an attribution link. Upgrade to a paid plan for high resolution logos, increased rate limits and no attribution.
Examples
Parameters
Path Parameters
The stock ticker symbol for which to retrieve the logo. For example, AAPL. We support all major stock exchanges worldwide, including NYSE, NASDAQ, TSE, LSE, SZSE, Euronext, Deutsche Boerse and more.
"AAPL"
Query Parameters
Publishable API token for authentication. You can find yours in account settings.
"<publishable-api-token>"
Fallback behavior if the logo is not available. 'monogram': Returns a monogram image from the first letter of the symbol (default). '404': Returns a 404 HTTP error.
monogram
, 404
Response
The response is of type file
.