Skip to main content
GET
Extract a design system
Reads a site’s design system from the rendered page and exports it as CSS custom properties and a Tailwind theme. 10 credits. Failed requests are never charged.

Guide: Styleguide

How sites are read, the full response and examples.

Authorizations

X-API-Key
string
header
required

Your Prefetch API key. Obtain one from the dashboard.

Query Parameters

url
string
required

Target website URL. https:// is prepended automatically if the protocol is omitted.

Minimum string length: 1
Example:

"https://stripe.com"

dark_mode
string

Read the site's dark theme (prefers-color-scheme: dark) instead of its default one. Sites without one return their usual theme, with color_scheme saying which it is. Pass "true" to enable.

Response

The site's design system.

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