Skip to content
Live

Logo API

Company logos, from one image URL.

Put a domain, a website URL or a company name in an image URL and get the brand’s logo back — square, resized, as PNG, WebP or JPG. Logos are cached after the first request, so repeats return in milliseconds. No logo on the site? You get its favicon, then a letter monogram.

Endpoints:GET /v1/logo/{domain}GET /v1/logo/name/{name}GET /v1/logo/search

Example

One request, one response.

A plain GET image URL with your publishable key in token — drop it into an <img> tag.

The response is the image itself; values in <angle brackets> stand for real data.

<img
  src="https://api.datafor.dev/v1/logo/stripe.com?token=pk_…&size=64"
  alt="Stripe logo" width="32" height="32">

Capabilities

What it does today.

  • Domain, URL or name

    Live

    stripe.com, docs.stripe.com and https://www.stripe.com/pricing return the same logo; /v1/logo/name/Stripe looks the company up first.

  • Size and format

    Live

    size from 16 to 512 px (retina doubles it), format png, webp or jpg, and greyscale.

  • Favicon and monogram fallbacks

    Live

    Brand icons first (web app manifest, apple-touch-icon, SVG icon), then the favicon, then a letter tile. Or set fallback=404 and handle it yourself.

  • Cached for speed

    Live

    After the first request a logo is served from cache in milliseconds. It is refreshed every 30 days in the background.

  • Safe in HTML

    Live

    Image URLs use a publishable key (pk_…) that only loads logos and never spends credits.

  • Brand search

    Live

    GET /v1/logo/search?q= returns matching companies with their domains and ready-to-use logo URLs.

  • Dark-mode logos and brand colors

    Coming soon

    Separate dark variants and color palettes are not extracted yet.

Credits

How credits work.

Free: logo images and brand search use no credits. Fair-use limits apply per account — 1,200 logo requests and 60 uncached lookups per minute.

See pricing

FAQ

Questions about Logo API.

Which key goes in the URL?

Your publishable key (pk_…) from API Keys in the dashboard. It only loads logos and cannot run scrapers or spend credits, so it is safe in HTML. Secret sk_ keys are rejected in URLs; send them in the x-api-key header from your server instead.

Where do the logos come from?

From the company’s own website: its web app manifest, apple-touch-icon, SVG and large icons, structured-data logo and, last, the favicon. Company names are matched to a website through Wikidata.

How fresh are the logos?

A logo is kept for 30 days, then refreshed in the background while the cached copy keeps being served. Domains without a logo are checked again after 3 days.

Does it go through POST /v1/run?

No. Logos are plain GET image URLs answered from cache, so they work in an img tag and never wait in the scraping queue.

Related

Live

URL Scraper

Any URL to Markdown, cleaned HTML, links, images or screenshots.
View product
Live

SERP API

Google organic results plus shopping cards, by country and language.
View product

Run your first Logo API call.

50 free credits to start, after email verification. No credit card.