Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Quota: one credit per Brand API, Brand Context API or Transaction API request; a 404 also uses a credit, 400 and 204 do not. Logo and image fetches from the returned CDN URLs are free. 429 quota_exceeded when the month’s quota is used up.
  • Brand search authenticates with a client id (c query parameter) instead of the API key.
  • Pass cachedOnly=true to avoid a live index (and a charge) for brands Brandfetch has not seen.

Endpoints

Get a brand

Get a brand by domain

Get a brand by ticker

Get up to 100 brands

  • A read over POST.
  • Needs BRANDFETCH_CLIENT_ID (sent as c); the API key is not used.

Get brand context

Identify a merchant from a transaction

  • A read over POST; one credit.