Company logo redirect (Wikidata + DuckDuckGo fallback)
Changed onReturns 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).
Request
- Base URLhttps://sugra.ai
- AuthAPI key in header x-api-key
Path parameters
Ticker symbol. A share class takes a hyphen (BRK-B); a dot marks a venue (BP.L, OR.PA).
Query parameters
Optional pixel width for server-side scaling via Wikimedia Commons CDN. 16-2048 px. Ignored for the DuckDuckGo Icons fallback tier.
Changes
- breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
This list may be incomplete.
- breaking
- breaking
added
subschema #2to the response bodyoneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking