Extract a website's design system by domain — CSS
branddev.brand.styleguideColors, type scale, spacing, shadows and component styles (button, card, input) lifted from a live site, each with ready-to-paste CSS
- Price
- $0.02534/successPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- 20 de ago. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/branddev.brand.styleguide?domain=stripe.comPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
the programmatic-theming call: enough to render an app in a customer's brand without a designer. Values are measured off the rendered page, so a heavily JS-themed site can report the pre-hydration palette
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
domain | string | Obrigatório | bare domain, no scheme | stripe.com |
maxAgeMs | inteiro | Opcional | maximum acceptable age of the cached styleguide in ms; lower forces a fresh render | |
timeoutMS | inteiro | Opcional | ||
- Parâmetros de consulta
domainstringObrigatóriobare domain, no scheme
Exemplo:
stripe.commaxAgeMsinteiroOpcionalmaximum acceptable age of the cached styleguide in ms; lower forces a fresh render
timeoutMSinteiroOpcional
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/branddev.brand.styleguide?domain=stripe.com' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/branddev.brand.styleguide?domain=stripe.com",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/branddev.brand.styleguide?domain=stripe.com", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.02534/success, incluindo a taxa de serviço.