Get Logos from a Domain - Context.dev

Context.dev

3 min read Original article ↗

Logo Link is a Context.dev service that provides fast, reliable logo delivery via a global CDN. Pass a publicClientId and a domain to the Logo Link URL and use it as your <img> source URL.

Integrate Context.dev's Logo Link in your app

Try it

Prerequisites

Build the URL

Replace publicClientId and domain in the Base URL and set it as the image source. You can also add a theme parameter to request the best logo for a light or dark themed application, and a type parameter to choose a square icon or a wordmark at least 1.5:1:

Parameters

Response

The body is the raw logo bytes; there is no JSON envelope. Point an <img> tag at the URL and the browser renders it. Fetch it with code and you get a binary blob.

Pricing

Logo Link usage is billed separately from the core Context.dev APIs. Logo Link requests do not consume API credits or the core API RPM budget. Paid plans include a recurring Logo Link pool; Free includes a one-time grant:

See pricing for details. Logo Link image delivery is separate from core API rate limits. Track the applicable Logo Link quota and current usage in the Logo Link dashboard; current service-level throttling or fair-use rules are governed by the Logo Link service terms. Browser/CDN caching directed by its response headers is expected and allowed. See Usage Restrictions for what is not.

Embed the image

Drop the URL into any place that accepts an image source: <img>, CSS background-image, an email template, a spreadsheet =IMAGE() cell.

Usage Restrictions

Logo Link is intentionally ephemeral, fast and image-only. You are not allowed to download and re-host logos retrieved from Logo Link, or persist the image files in your own storage. (Normal browser and CDN caching driven by the response’s Cache-Control headers is fine.) Use Context.dev’s Brand APIs if you:

  • Need to store brand-response metadata or media URLs under the Brand API terms
  • Get multiple logo variants (light / dark / opaque background, icon vs wordmark)
  • Or, pull logo colors and other brand details alongside the logo

Need the brand’s fonts too? Those come from the Styleguide and Fonts APIs.

Use cases

Logo Link is purpose-built for client-facing embeds where you’d otherwise have to host logo assets yourself:

  • CRM & Sales Platforms: Drop a Logo Link URL into every contact record.
  • Customer Logo Walls: Use users’ sign-up email domains to automatically generate “trusted by” strips on landing pages.
  • Financial & Banking Apps: Render merchant logos next to transaction descriptors.
  • Directories & Marketplaces: Populate listings with logos automatically, with no upload step in vendor onboarding.

Next steps