Last modified:2026-05-10 09:22:39
Maintainer:Not configured
OperationId:quotes_symbol_logo_png
Returns a 302 redirect to the best logo image URL for the given ticker. Resolution order: Wikidata P154 (company logo) -> Wikidata P18 (image) -> DuckDuckGo Icons favicon (via Wikidata P856 official website). Returns 404 when none of the three tiers has data, 502/504 when the SPARQL upstream fails. Designed for direct browser embed via <img src='.../logo.png'>. For raw metadata in JSON, use the companion /{symbol}/logo endpoint. Sprint 9C.x: optional ?width=<n> query param (16-2048) scales the image server-side via the Wikimedia Commons CDN. Has no effect on the DuckDuckGo Icons fallback (favicon-sized images only).