Brandfetch Brand Assets Scraper avatar

Brandfetch Brand Assets Scraper

Pricing

from $2.00 / 1,000 brand resolveds

Go to Apify Store
Brandfetch Brand Assets Scraper

Brandfetch Brand Assets Scraper

Resolve any brand to its real logos, icons, and symbols. Returns every Brandfetch asset variant ranked by priority, flags placeholder and lettermark fallbacks so you never ship a fake logo, and can download the image files.

Pricing

from $2.00 / 1,000 brand resolveds

Rating

0.0

(0)

Developer

rainminer

rainminer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Categories

Features

Limited permissions

Share

Resolve any brand to its real logo, icon, and symbol, ranked by priority — and know for certain which assets are genuine and which are Brandfetch's generated placeholders.

What it returns

One dataset row per brand:

  • brandId, name, domain, qualityScore — the resolved Brandfetch brand
  • hasRealAssets — whether genuine brand artwork exists at all
  • best — the highest-priority asset
  • bestSquare — the asset closest to 1:1, the one you want for an avatar or app icon
  • assets[] — every variant, each with type, theme, url, format, width, height, aspectRatio, bytes, sha256, real, placeholder, lettermark, priority, and storedKey

With downloadAssets on, the image files are written to the run's key-value store under asset-<brandId>-<type>-<theme>-<sha>.ext, ready to hand to an upload step.

Why the verification matters

Brandfetch's asset CDN answers HTTP 200 with a placeholder image when it has no artwork for a brand — it never returns 404. There are five such placeholders, each byte-identical across every brand that lacks that asset. Meanwhile the search API returns a lettermark URL for every brand, including ones with full logo sets, so the obvious check ("is the URL a fallback?") rejects good brands and accepts bad ones.

This actor compares SHA-256 hashes: against a registry of the five known placeholders, against each brand's own lettermark, and against hashes it saw for other brands in the same run. That last part is self-learning — a placeholder the registry has not seen yet still gets caught the second time it appears.

Priority

Higher priority wins:

  1. Real artwork beats any fallback (worth 10,000 points).
  2. icon (30) → logo (25) → symbol (15) — an icon is the compact mark and suits avatars best.
  3. Dark theme preferred over light.
  4. Larger pixel area preferred.

Use bestSquare instead when you need a 1:1 image.

Input

FieldDefaultNotes
queries—Domains or names. A domain is exact: nike.com.
assetTypesalllogo, icon, symbol
maxWidth512Resolution hint for the generic icon endpoint
maxAssetsPerBrand12Cap on assets[]
includeFallbacktrueReturn lettermark tiles for brands with no artwork
downloadAssetstrueWrite image files to the key-value store
brandsApiKey—Optional official Brands API key, needs API credits

Brandfetch API key

The official Brands API returns the definitive asset list plus brand colors and fonts, and requires API credits on your Brandfetch account. Provide brandsApiKey to use it. Without a key (or without credits, which answers 403 no_api_credits) the actor uses the same public asset CDN that brandfetch.com itself serves, which needs no key.

Check your key's credit balance before relying on the API path.

Example

{
"queries": ["nike.com", "spotify.com", "sportograf.com"],
"assetTypes": ["logo", "icon"],
"downloadAssets": true
}

Notes

  • Brandfetch returns assets at their native size; maxWidth does not upscale.
  • A brand with hasRealAssets: false genuinely has no logo on Brandfetch — pick the lettermark or use the brand's own site assets.
  • Pay per brand resolved, not per asset.

Output example

{
"query": "nike.com",
"matched": true,
"brandId": "id_0dwKPKT",
"name": "Nike",
"domain": "nike.com",
"hasRealAssets": true,
"best": {
"type": "logo",
"theme": "dark",
"format": "webp",
"width": 800,
"height": 278,
"real": true,
"priority": 10655
}
}