API reference
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.
https://api.qelka.com/v1/brandGet 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
domainstringRequiredexample.com) or a URL of its site, 1 to 2,048 characters. Only the host is used.freshbooleanDefault falsetrue 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
idstringobjectstringbrand.inputstringdomain you sent, without surrounding spaces.domainstringurlstringfinal_urlstring or nullstatusstringok, robots_disallowed, unreachable, http_error or not_html.http_statusinteger or nullnamestring or nullog:site_name, application-name, the manifest or the title.descriptionstring or nulllogostring or nulliconstring or nullfaviconstring or nulllogosarray of objectsurl, kind (logo, icon or social_image), source (structured_data, img, link, manifest or meta), format and width and height when declared.colorsarray of objectshex (#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 objectsfamily and source (google_fonts, bunny_fonts, font_face or css).socialsarray of objectsnetwork, url and handle.languagestring or nullmanifeststring or nullcredits_usedinteger0.cachedbooleantrue when the answer came from the 7-day cache.{
"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-colorandmsapplication-TileColormeta tags, themask-iconcolor, thetheme_colorandbackground_colorof the manifest, and CSS custom properties named like brand, primary or accent in the inline styles and the first 2 stylesheets. Variables are resolved throughvar(). Grey shades are skipped unless the variable is named brand. - Fonts: Google Fonts and Bunny Fonts stylesheet links,
@font-facerules, then the first family offont-familydeclarations. 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.