GET /brand
Extract brand colors, logos, fonts, images, and social media links from any website. Costs 10 credits.
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
| Parameter | What it extracts |
|---|---|
| (default) | Logo colors (brand_colors) only |
screenshotColors=6 | + N dominant colors from the page screenshot |
css=true | + Colors defined in CSS stylesheets |
html=true | + Colors defined in HTML attributes |
javascript=true | + Colors defined in JavaScript source |
filterAchromatic=true | Exclude near-white, near-black, and greyscale results |
Example requests
Example response
Authorizations
Your Prefetch API key. Obtain one from the dashboard.
Query Parameters
The website URL to process. https:// is prepended automatically if no protocol is provided.
"https://stripe.com"
Extract N dominant colors from the page screenshot. Range: 2–12. Omit to skip screenshot color extraction.
2 <= x <= 12Extract colors from linked CSS files. Pass true to enable.
Extract colors from inline HTML. Pass true to enable.
Extract colors from linked JS files. Pass true to enable.
Viewport width in pixels. Range: 320–3000. Default: 1440.
320 <= x <= 3000Viewport height in pixels. Range: 320–3000. Default: 900.
320 <= x <= 3000Screenshot format. Default: jpeg.
jpeg, png, pdf Capture the full scrollable page. Pass true to enable.
Disable the built-in adblocker. Pass true to enable (useful for sites that detect ad blockers).
Exclude near-white, near-black, and greyscale colors from results. Pass true to enable.