Docs / Get started

Quick start

Display your first logo, then add beta API lookup.

1. Preview a sample without a key

The public host serves a small sample set. This example uses Apple’s preview:

<img src="https://img.brandmarks.dev/logos/v1/mark/AAPL.svg"
     alt="Apple" width="64" height="64" style="object-fit:contain" />

Keep company text visible alongside logos. Use an empty alt attribute when the adjacent text already identifies the company.

2. Look up any supported company with the beta API

Request access and replace YOUR_PUBLISHABLE_KEY with your issued pk_ key. Placeholder keys do not authenticate.

<img src="https://brandmarks-api.brandmarks-web.workers.dev/v1/logo/AAPL?token=YOUR_PUBLISHABLE_KEY&amp;variant=auto"
     alt="Apple" width="64" height="64" style="object-fit:contain" />

A successful request returns image bytes. Try apple.com or the company ID apple in place of AAPL. Lookup rules explain the differences.

3. Retrieve company data on your server

Set BRANDMARKS_SECRET_KEY in your server environment, then run:

curl --fail-with-body \
  -H "Authorization: Bearer $BRANDMARKS_SECRET_KEY" \
  'https://brandmarks-api.brandmarks-web.workers.dev/v1/companies/AAPL'

Never put a secret key into browser code, a spreadsheet, or an image URL. JSON logo URLs do not include a key: append your publishable token before displaying them. See responses and errors.

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