Retrieve a company logo
Return a company logo as raw image bytes. You can select the output size, encoding, and greyscale treatment, then use the endpoint URL directly as an image source.
/v3.0.0/company/logo/{identifier}Plan Access
Free
(Your plan)
Individual
$29/mo
Professional
$89/mo
Parameters
Path parameters
identifierstringrequiredA company-profile ID (cmp_…), ticker ID (tkr_…), an exchange and symbol separated by a colon (e.g. NASDAQ:AAPL), or a FIGI.
NASDAQ:AAPLcmp_mN971Tvggqaf82BBG000B9XRY4Query parameters
sizeintegeroptionalSquare image size in pixels.
128Min: 16Max: 800greyscalebooleanoptionalRemove color from the logo. Accepts only true or false.
falseValues: truefalseformatstringoptionalImage encoding. The endpoint defaults to WebP.
webpValues: webppngRequest example
This request returns a 128-pixel WebP logo. Query authentication is useful when the URL must work as an image source.
curl "https://api.roic.ai/v3.0.0/company/logo/AAPL?size=128&format=webp&apikey=$ROIC_API_KEY" \
--output apple.webpTry it yourself
Select a ticker to preview its logo. The demo renders the same image bytes this endpoint returns.
Response
A successful request returns image/webp or image/png, not JSON. The logo
keeps its aspect ratio, and the service doesn't upscale a smaller original.
| Header | Meaning |
|---|---|
Content-Type | Matches the requested webp or png format. |
ETag | Identifies the exact source, size, format, and greyscale variant. |
Cache-Control | Marks the response private for one day with seven days of stale revalidation. |
Request-Id | Correlates this request with server traces. |
Conditional requests
Send the previous ETag in If-None-Match. If the selected variant hasn't
changed, the API returns 304 Not Modified with an empty body.
Error responses
Logo failures use the same JSON error envelope as every other v3 route. An
unknown company or missing source logo returns 404 Not Found.
Read handle API responses for the complete failure contract.