---
title: "Company logo redirect (Wikidata + DuckDuckGo fallback)"
method: GET
path: "/api/v2/quotes/{symbol}/logo.png"
tags: ["Finance"]
---

# Company logo redirect (Wikidata + DuckDuckGo fallback)

`GET /api/v2/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).

## Path parameters

- `symbol` string, required — Security ticker symbol.

## Query parameters

- `width` integer, nullable — Optional pixel width for server-side scaling via Wikimedia Commons CDN. 16-2048 px. Ignored for the DuckDuckGo Icons fallback tier.

## Response `200`

302 redirect to the best available logo image URL.

- unknown

## Other responses

- `302` — Redirect to image URL
- `400` — Invalid symbol format
- `401` — Missing or invalid `x-api-key` header.
- `404` — No logo available across all fallback tiers
- `422` — width param out of range (must be 16-2048)
- `429` — Daily rate limit exceeded. Check `X-RateLimit-Reset` for the next window.
- `502` — Wikidata SPARQL upstream error
- `503` — Upstream source is temporarily unavailable. Retry after a short delay.

---

[API](https://skmtc.net/sugra/apis/sugra-api.md) · [All operations](https://skmtc.net/sugra/apis/sugra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sugra/sugra-api/versions/4e2740743eb4/schema)
