Skip to main content
GET
Extract brand assets

Overview

/brand uses headless Chrome to visit a page and extract a comprehensive set of brand assets:
  • Colors — extracted from the logo, optionally from the screenshot and source code
  • Logos — primary logo URL with dimensions, plus secondary candidates and favicon
  • Fonts — font family names detected on the page
  • Images — OG image, Twitter card image, screenshot URL
  • Social links — keyed by platform (twitter, linkedin, github, etc.)

Color extraction options

You can combine any of these.

Example requests

Example response

Authorizations

X-API-Key
string
header
required

Your Prefetch API key. Obtain one from the dashboard.

Query Parameters

url
string
required

The website URL to process. https:// is prepended automatically if no protocol is provided.

Example:

"https://stripe.com"

screenshotColors
integer

Extract N dominant colors from the page screenshot. Range: 2–12. Omit to skip screenshot color extraction.

Required range: 2 <= x <= 12
css
boolean
default:false

Extract colors from linked CSS files. Pass true to enable.

html
boolean
default:false

Extract colors from inline HTML. Pass true to enable.

javascript
boolean
default:false

Extract colors from linked JS files. Pass true to enable.

screenshotWidth
integer
default:1440

Viewport width in pixels. Range: 320–3000. Default: 1440.

Required range: 320 <= x <= 3000
screenshotHeight
integer
default:900

Viewport height in pixels. Range: 320–3000. Default: 900.

Required range: 320 <= x <= 3000
screenshotFormat
enum<string>
default:jpeg

Screenshot format. Default: jpeg.

Available options:
jpeg,
png,
pdf
screenshotFullPage
boolean
default:false

Capture the full scrollable page. Pass true to enable.

disableAdblocker
boolean
default:false

Disable the built-in adblocker. Pass true to enable (useful for sites that detect ad blockers).

filterAchromatic
boolean
default:false

Exclude near-white, near-black, and greyscale colors from results. Pass true to enable.

Response

Brand extraction result.

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required