Docs / CDN & images

Missing logos & fallbacks

Handle unknown companies and unreadable marks gracefully.

Unknown identifiers normally return HTTP 404 with a JSON error. To request a lettered placeholder instead:

https://brandmarks-api.brandmarks-web.workers.dev/v1/logo/UNKNOWN?token=YOUR_PUBLISHABLE_KEY&fallback=monogram

The placeholder is always SVG, even if you requested PNG. It carries X-Brandmarks-Fallback: monogram and a one-hour cache lifetime. It is only used when the company is unknown; a known company with missing artwork still returns 404.

For spreadsheets and email, use your own PNG placeholder or keep company text visible. Authentication failures, rate limits, and network errors also need application-level handling.

A mark.method of fallback is different: this is real company artwork fitted into a square. Choose variant=auto to let the API prefer the full logo for these companies.

Need a hand? Get help · Technical content reviewed October 2, 2026