Skip to main content
The Brand API turns one company identifier into a shared profile containing the data Context.dev found, such as names, logos, colors, descriptions, social profiles, website links, and EIC industry tags.

Choose a lookup

POST /brand/retrieve accepts exactly one lookup type: Every variant returns the same top-level Brand response shape. Fields can be absent when the source does not expose them, so downstream code should not assume a complete asset set.

Prerequisites

Create an API key in the dashboard and keep it in a server-side environment variable:
Install an SDK from the Quickstart, or call the HTTPS endpoint directly.

Get a brand by domain

A domain is the most direct lookup when your application already knows the company’s website.
The PHP tab uses the SDK’s low-level request method because the 2.14.0 Brand helper requires conflicting lookup fields. See the PHP guide for details.
The endpoint costs 10 credits. The connection remains open until the lookup completes; there is no job to poll.

Read the profile

A successful response uses the same envelope for every identifier:
The sample is intentionally partial. Use the Brand API reference for the complete schema. When rendering a profile:
  • Check whether brand is present before reading nested fields.
  • Treat logos, colors, socials, and industries.eic as possibly empty.
  • Select a logo using type, mode, and resolution; do not assume the first asset fits every UI.
  • Treat address, employee count, contact fields, stock data, and website links as discovered data, not verified legal records.
  • Store the canonical brand.domain returned by the resolver alongside the identifier you submitted.

Tune the lookup

Most lookup variants accept these shared options: by_direct_url accepts only its URL, timeoutOpts, and tags. It does not accept the shared cache, speed, or language controls because it reads one page directly.

Handle expected failures

See Troubleshooting for the current error-code catalog.

Next steps

Extract a design system

Retrieve detailed typography, spacing, and component tokens.

Display a company logo

Embed a hosted logo when an image URL fits better than a profile response.

Choose a classification system

Select EIC, NAICS, or SIC for your workflow.
Use timeouts and partial results to choose the deadline behavior. Partial Brand profiles omit fields that have not completed; retain partial: true instead of treating an incomplete profile as a complete cached record. For a profile assembled during the request, cache_metadata reflects contributing scrape caches: any miss makes the result a miss, while all hits use the oldest contributing age. A stored Brand-cache hit uses the stored profile age. See cache freshness.