Skip to content

Brand kit

POST /brand reads a company site's homepage, manifest and stylesheets after robots.txt and returns its logo, icons, colors, fonts, socials and description.

POSThttps://api.qelka.com/v1/brand

Get the brand kit of a company from its domain: name, description, logo, icons, favicon, brand colors, fonts and social profiles. Each lookup costs 1 credit when the homepage could be read; sites that cannot be read, errors and test keys are never billed.

Request

domainstringRequired
A company domain (example.com) or a URL of its site, 1 to 2,048 characters. Only the host is used.
freshbooleanDefault false
true skips the 7-day result cache and reads the site again.

The same host rules as the website endpoint apply. A lookup reads robots.txt, the homepage, the web app manifest and up to 2 stylesheets, each with a 6-second limit, so every snippet sets a 60-second client timeout.

curl https://api.qelka.com/v1/brand \
  --max-time 60 \
  -H "Authorization: Bearer $QELKA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "stripe.com"}'
const response = await fetch('https://api.qelka.com/v1/brand', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.QELKA_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ domain: 'stripe.com' }),
  signal: AbortSignal.timeout(60_000),
})
const result = await response.json()
console.log(result)
import os

import requests

api_key = os.environ["QELKA_API_KEY"]
response = requests.post(
    "https://api.qelka.com/v1/brand",
    headers={"Authorization": f"Bearer {api_key}"},
    json={"domain": "stripe.com"},
    timeout=60,
)
result = response.json()
print(result)
<?php
$ch = curl_init('https://api.qelka.com/v1/brand');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('QELKA_API_KEY'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => json_encode(['domain' => 'stripe.com']),
    CURLOPT_TIMEOUT => 60,
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"net/http"
	"os"
	"time"
)

func main() {
	payload, _ := json.Marshal(map[string]any{"domain": "stripe.com"})
	request, _ := http.NewRequest(http.MethodPost, "https://api.qelka.com/v1/brand", bytes.NewReader(payload))
	request.Header.Set("Authorization", "Bearer "+os.Getenv("QELKA_API_KEY"))
	request.Header.Set("Content-Type", "application/json")

	client := &http.Client{Timeout: 60 * time.Second}
	response, err := client.Do(request)
	if err != nil {
		panic(err)
	}
	defer response.Body.Close()

	var result map[string]any
	if err := json.NewDecoder(response.Body).Decode(&result); err != nil {
		panic(err)
	}
	fmt.Println(result)
}
require 'json'
require 'net/http'

uri = URI('https://api.qelka.com/v1/brand')
request = Net::HTTP::Post.new(uri)
request['Authorization'] = "Bearer #{ENV.fetch('QELKA_API_KEY')}"
request['Content-Type'] = 'application/json'
request.body = JSON.generate({ domain: 'stripe.com' })

response = Net::HTTP.start(uri.host, uri.port, use_ssl: true, read_timeout: 60) do |http|
  http.request(request)
end
result = JSON.parse(response.body)
puts result

Response

idstring
Identifier of this lookup.
objectstring
Always brand.
inputstring
The domain you sent, without surrounding spaces.
domainstring
Host of the final URL, or of the requested one when nothing was read.
urlstring
The homepage that was requested.
final_urlstring or null
The homepage after redirects.
statusstring
ok, robots_disallowed, unreachable, http_error or not_html.
http_statusinteger or null
HTTP status of the homepage.
namestring or null
Company or site name, from Organization structured data, og:site_name, application-name, the manifest or the title.
descriptionstring or null
Description from the structured data or the meta description.
logostring or null
Best logo: structured data first, then an image of the page header marked as the logo, then an SVG icon.
iconstring or null
Best square icon: the largest manifest or touch icon, then the favicon.
faviconstring or null
The favicon the homepage declares.
logosarray of objects
Every logo and icon declared, best first, at most 8: url, kind (logo, icon or social_image), source (structured_data, img, link, manifest or meta), format and width and height when declared.
colorsarray of objects
Up to 8 brand colors: hex (#rrggbb), source (theme_color, tile_color, mask_icon, manifest_theme, manifest_background or css_variable) and name, the CSS custom property when there is one.
fontsarray of objects
Up to 6 typefaces: family and source (google_fonts, bunny_fonts, font_face or css).
socialsarray of objects
Profiles of the company itself: network, url and handle.
languagestring or null
Language of the homepage, BCP 47.
manifeststring or null
URL of the web app manifest, when the homepage links one.
credits_usedinteger
Credits debited for this call: 1 with a live key when the result is billed, else 0.
cachedboolean
true when the answer came from the 7-day cache.
Response
{
  "id": "lkp_01M8CGWTAGS9TXC3YXFPW31692",
  "object": "brand",
  "input": "stripe.com",
  "domain": "stripe.com",
  "url": "https://stripe.com/",
  "final_url": "https://stripe.com/en-ca",
  "status": "ok",
  "http_status": 200,
  "name": "Stripe",
  "description": "Stripe is a financial services platform that helps all types of businesses accept payments, build flexible billing models and manage money movement.",
  "logo": "https://images.stripeassets.com/fzn2n1nzq965/1hgcBNd12BfT9VLgbId7By/01d91920114b124fb4cf6d448f9f06eb/favicon.svg",
  "icon": "https://images.stripeassets.com/fzn2n1nzq965/4vVgZi0ZMoEzOhkcv7EVwK/8cce6fdcf2733b2ec8e99548908847ed/favicon.png?w=180&h=180",
  "favicon": "https://images.stripeassets.com/fzn2n1nzq965/1hgcBNd12BfT9VLgbId7By/01d91920114b124fb4cf6d448f9f06eb/favicon.svg",
  "logos": [
    {
      "url": "https://images.stripeassets.com/fzn2n1nzq965/1hgcBNd12BfT9VLgbId7By/01d91920114b124fb4cf6d448f9f06eb/favicon.svg",
      "kind": "logo",
      "source": "structured_data",
      "format": "svg",
      "width": null,
      "height": null
    },
    {
      "url": "https://images.stripeassets.com/fzn2n1nzq965/4vVgZi0ZMoEzOhkcv7EVwK/8cce6fdcf2733b2ec8e99548908847ed/favicon.png?w=180&h=180",
      "kind": "icon",
      "source": "link",
      "format": "png",
      "width": 180,
      "height": 180
    },
    {
      "url": "https://images.stripeassets.com/fzn2n1nzq965/4vVgZi0ZMoEzOhkcv7EVwK/8cce6fdcf2733b2ec8e99548908847ed/favicon.png?w=96&h=96",
      "kind": "icon",
      "source": "link",
      "format": "png",
      "width": 96,
      "height": 96
    },
    {
      "url": "https://assets.stripeassets.com/fzn2n1nzq965/nu0iR4KqmkdJ52fgRts09/c3a10df318e7ffb1f516073daadea625/favicon.ico",
      "kind": "icon",
      "source": "link",
      "format": "ico",
      "width": null,
      "height": null
    },
    {
      "url": "https://b.stripecdn.com/mkt-ssr-statics/assets/_next/static/media/stripe.37119086.jpg",
      "kind": "social_image",
      "source": "meta",
      "format": "jpg",
      "width": null,
      "height": null
    }
  ],
  "colors": [
    {"hex": "#5452fb", "source": "css_variable", "name": "--hds-color-core-brand-400a"},
    {"hex": "#665efd", "source": "css_variable", "name": "--hds-color-util-brand-500"},
    {"hex": "#bdb4ff", "source": "css_variable", "name": "--accent-gradient-color-stop-1"},
    {"hex": "#e2225f", "source": "css_variable", "name": "--hds-color-util-accent-ruby-500"}
  ],
  "fonts": [
    {"family": "sohne-var", "source": "css"},
    {"family": "SourceCodePro", "source": "font_face"}
  ],
  "socials": [
    {"network": "x", "url": "https://x.com/stripe", "handle": "stripe"},
    {"network": "youtube", "url": "https://www.youtube.com/@stripe", "handle": "@stripe"},
    {"network": "linkedin", "url": "https://www.linkedin.com/company/stripe", "handle": "stripe"},
    {"network": "facebook", "url": "https://www.facebook.com/StripeHQ", "handle": "StripeHQ"},
    {"network": "github", "url": "https://github.com/stripe", "handle": "stripe"},
    {"network": "instagram", "url": "https://www.instagram.com/stripehq", "handle": "stripehq"}
  ],
  "language": "en-CA",
  "manifest": null,
  "credits_used": 1,
  "cached": false
}

Where each part comes from

  • Colors: the theme-color and msapplication-TileColor meta tags, the mask-icon color, the theme_color and background_color of the manifest, and CSS custom properties named like brand, primary or accent in the inline styles and the first 2 stylesheets. Variables are resolved through var(). Grey shades are skipped unless the variable is named brand.
  • Fonts: Google Fonts and Bunny Fonts stylesheet links, @font-face rules, then the first family of font-family declarations. System font stacks and framework fallbacks are skipped.
  • Logos: links only. The API never copies or hosts a file; logos remain the property of their owners.

Nothing is run: logos or colors set by JavaScript are not seen.

Batch and bulk

Send up to 100 domains in one batch with "type": "brand", or a CSV column as a bulk job: the output adds the name, description, logo, icon, favicon, colors, fonts, social profiles and language. The MCP tool is get_brand_kit.