{ "id": "idL0iThUh6", "name": "Brandfetch", "domain": "brandfetch.com", "claimed": true, "description": "Brandfetch is the brand identity platform. Search any brand's official logos, colors, fonts, and company details, or use our API to power modern product experiences and AI agents.", "logo": "https://cdn.brandfetch.io/idL0iThUh6/w/512/h/512/theme/dark/fallback/404/logo.webp?c=BRANDFETCH_CLIENT_ID&t=1741016163093", "icon": "https://cdn.brandfetch.io/idL0iThUh6/w/128/h/128/fallback/lettermark/icon.webp?c=BRANDFETCH_CLIENT_ID&t=1792682495901", "logos": [ { "type": "logo", "theme": "dark", "formats": [ { "format": "svg", "src": "https://cdn.brandfetch.io/idL0iThUh6/theme/dark/logo.svg?c=BRANDFETCH_CLIENT_ID", "width": 677, "height": 182 } ] } ], "colors": [ { "hex": "#006BFF", "type": "accent", "brightness": 95 }, { "hex": "#00193E", "type": "brand", "brightness": 22 }, { "hex": "#000000", "type": "dark", "brightness": 0 }, { "hex": "#FFFFFF", "type": "light", "brightness": 255 } ], "fonts": [ { "name": "Poppins", "type": "title", "origin": "google" }, { "name": "Inter", "type": "body", "origin": "google" } ], "company": { "employees": 2, "foundedYear": 2020, "kind": "PRIVATELY_HELD", "location": { "city": "Savigny", "country": "Switzerland", "countryCode": "CH" } }, "qualityScore": 0.99, "urn": "urn:brandfetch:brand:idL0iThUh6"}
{
"message": "We couldn't match this transaction to a brand with enough confidence. Retrying won't change the result; a more complete merchant descriptor may.",
"reason": "low_confidence",
"error": "transaction_unmatched",
"docs": "https://docs.brandfetch.com/brand-api/overview#errors"
}
{
"message": "Unauthorized. Please provide a valid authorization header",
"error": "authorization_required",
"docs": "https://docs.brandfetch.com/brand-api/overview#errors"
}
{
"message": "Payment required. Either authenticate with a Brandfetch API key (Authorization: Bearer <key>) or pay for this request with x402: sign the payment described in the PAYMENT-REQUIRED header and retry with a PAYMENT-SIGNATURE header.",
"documentation": "https://docs.brandfetch.com/agents/pay-per-request",
"pricing": {
"route": "GET /v2/brands/*",
"price": "$0.10"
},
"resource": "https://api.brandfetch.io/v2/brands/nike.com",
"standingAccess": "For many requests, POST /v2/agents/access (paid the same way) provisions an API key preloaded with prepaid credits."
}
{ "id": "idL0iThUh6", "name": "Brandfetch", "domain": "brandfetch.com", "claimed": true, "description": "Brandfetch is the brand identity platform. Search any brand's official logos, colors, fonts, and company details, or use our API to power modern product experiences and AI agents.", "logo": "https://cdn.brandfetch.io/idL0iThUh6/w/512/h/512/theme/dark/fallback/404/logo.webp?c=BRANDFETCH_CLIENT_ID&t=1741016163093", "icon": "https://cdn.brandfetch.io/idL0iThUh6/w/128/h/128/fallback/lettermark/icon.webp?c=BRANDFETCH_CLIENT_ID&t=1792682495901", "logos": [ { "type": "logo", "theme": "dark", "formats": [ { "format": "svg", "src": "https://cdn.brandfetch.io/idL0iThUh6/theme/dark/logo.svg?c=BRANDFETCH_CLIENT_ID", "width": 677, "height": 182 } ] } ], "colors": [ { "hex": "#006BFF", "type": "accent", "brightness": 95 }, { "hex": "#00193E", "type": "brand", "brightness": 22 }, { "hex": "#000000", "type": "dark", "brightness": 0 }, { "hex": "#FFFFFF", "type": "light", "brightness": 255 } ], "fonts": [ { "name": "Poppins", "type": "title", "origin": "google" }, { "name": "Inter", "type": "body", "origin": "google" } ], "company": { "employees": 2, "foundedYear": 2020, "kind": "PRIVATELY_HELD", "location": { "city": "Savigny", "country": "Switzerland", "countryCode": "CH" } }, "qualityScore": 0.99, "urn": "urn:brandfetch:brand:idL0iThUh6"}
{
"message": "We couldn't match this transaction to a brand with enough confidence. Retrying won't change the result; a more complete merchant descriptor may.",
"reason": "low_confidence",
"error": "transaction_unmatched",
"docs": "https://docs.brandfetch.com/brand-api/overview#errors"
}
{
"message": "Unauthorized. Please provide a valid authorization header",
"error": "authorization_required",
"docs": "https://docs.brandfetch.com/brand-api/overview#errors"
}
{
"message": "Payment required. Either authenticate with a Brandfetch API key (Authorization: Bearer <key>) or pay for this request with x402: sign the payment described in the PAYMENT-REQUIRED header and retry with a PAYMENT-SIGNATURE header.",
"documentation": "https://docs.brandfetch.com/agents/pay-per-request",
"pricing": {
"route": "GET /v2/brands/*",
"price": "$0.10"
},
"resource": "https://api.brandfetch.io/v2/brands/nike.com",
"standingAccess": "For many requests, POST /v2/agents/access (paid the same way) provisions an API key preloaded with prepaid credits."
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
transactionLabel
string
required
The raw transaction text.
Example:
"STARBUCKS 1523 OMAHA NE"
countryCode
string
required
An ISO 3166-1 alpha-2 country code indicating the country where the transaction took place.
Example:
"US"
Response
Successful request. A request paid with MPP whose response was lost can be retried with the same credential and the same body for two minutes: it is served from the payment already taken and not charged again. The credential pays for that transaction only: presented with another transactionLabel or countryCode, it is refused with a 402 whose reason is credential_spent.
id
string
Unique identifier for the brand
name
string | null
Brand name
domain
string
Brand website URL
claimed
boolean
Set to true if the owner of the brand claimed its brand profile on Brandfetch
description
string | null
Brand description
longDescription
string | null
Brand long description
links
object[]
Social media links of the brand
Show child attributes
logo
string | null
Shortcut field for the brand's logo: the address of the best match from logos. The image is a WebP up to 512 px on its longer side. A dark logo is picked over a light one, for light backgrounds; the address names the theme it serves. null when the brand has no logo, and for brands with isNsfw: true.
Fetch the address as it is given. Its c parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its t parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota. If the logo is gone when you fetch it, the address returns 404.
symbol
string | null
Shortcut field for the brand's symbol: the address of the best match from logos. The image is a WebP up to 512 px on its longer side. A dark symbol is picked over a light one, for light backgrounds; the address names the theme it serves. null when the brand has no symbol, and for brands with isNsfw: true.
Fetch the address as it is given. Its c parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its t parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota. If the symbol is gone when you fetch it, the address returns 404.
icon
string | null
Shortcut field for the brand's icon: the address of the best match from logos. The image is a square WebP up to 128 px. A brand without an icon gets one made from its symbol or logo. When no icon can be made, the address returns a lettermark: the brand's initial on a plain square. null when the brand has no icon, symbol or logo, and for brands with isNsfw: true.
Fetch the address as it is given. Its c parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its t parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota.
banner
string | null
Shortcut field for the brand's banner: the address of the best match from images. The image is a WebP up to 1500 px wide. null when the brand has no banner, and for brands with isNsfw: true.
Fetch the address as it is given. Its c parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its t parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota. If the banner is gone when you fetch it, the address returns 404.
logos
object[]
Logos, symbols & icons of the brand
Show child attributes
colors
object[]
Accent, dark, light & palette colors of the brand
Show child attributes
fonts
object[]
The fonts that the brand uses on its website, one for each role. The order is title, body, label, code, display, so the first font is the heading font. One family can fill more than one role.
Show child attributes
images
object[]
Banner, picture & other images of the brand
Show child attributes
qualityScore
number
Score between 0-1 which indicates the quality of the data for the given brand. Useful when you don't want to show lower quality brands to your users.
Lower 3rd is poor quality, middle 3rd is OK quality, upper 3rd is high quality. Lower scores indicate that a brand is less likely to be "real". For example, where google.com will score high, my-random-blog.com will score between 0.3-0.4. The score factors in things like data-recency, whether the brand has been claimed, if it has been manually verified by our team, the brand's domain ranking on the web, as well as other factors.
Don't rely on a fixed score for any given brand. The way we calculate this score may change over time as we add new factors, or tweak the weights of existing ones such that a score for a given brand may change. However, they will remain aligned such that scores divide quality into thirds: low, medium, high.
company
object
The company object returns company data for the brand, such as employees, founding year, industry, and location
Show child attributes
isNsfw
boolean
true when the brand is for adult content, e.g. is not safe for work
urn
string
Uniform Resource Name for the brand
screenshot
object | null
The brand's homepage screenshot. null when Brandfetch holds no screenshot of the homepage yet, and for brands with isNsfw: true.
The screenshot shows the top of the homepage at a desktop viewport, as Brandfetch saw it on its last visit. It is not a full-page capture. Fetch url as it is given: its c parameter is a client ID signed for your API key, and the image does not count towards your quota. A request that drops the client ID is refused. t is the time of capture, so the address changes when Brandfetch takes a new screenshot.
Show child attributes
palette
object | null
The brand's color palette. Present only when the request sets palette=true or palette=1. When a brand has no palette yet, the first request builds one from the brand's last crawl without a new render. Then themes and onPairs can be empty until the next crawl. When Brandfetch finds no color that it can defend as the brand's color, no color has the role primary.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Brandfetch","description":"Brandfetch turns a domain, stock ticker, ISIN, crypto symbol, or card transaction into a company's logos, colors, fonts, and company data, through the Logo API, Brand API, Brand Search API, Brand Context API, Transaction API, and an MCP server.","colors":{"primary":"#0084FF","light":"#FFFFFF","dark":"#0084FF"},"logo":{"light":"https://mintcdn.com/brandfetch-d7fb5329/-v6e41qD3Fxu16r-/logo/light.svg?fit=max\u0026auto=format\u0026n=-v6e41qD3Fxu16r-\u0026q=85\u0026s=4f8ea49e20e0d743c9a7754b14f01924","dark":"https://mintcdn.com/brandfetch-d7fb5329/-v6e41qD3Fxu16r-/logo/dark.svg?fit=max\u0026auto=format\u0026n=-v6e41qD3Fxu16r-\u0026q=85\u0026s=a447e4997a5b774c621a6b318290592f"},"favicon":"https://mintcdn.com/brandfetch-d7fb5329/XKUNPCS3k4Mv8APc/favicon.svg?fit=max\u0026auto=format\u0026n=XKUNPCS3k4Mv8APc\u0026q=85\u0026s=265eef38a8f076aea2e159f8e89605f9","api":{"openapi":"openapi.json"},"appearance":{"default":"dark"},"background":{"color":{"light":"#FAFAFA","dark":"#08090A"}},"navbar":{"links":[{"href":"https://brandfetch.com/developers/pricing","label":"Pricing"},{"href":"https://brandfetch.com/developers/contact/sales","label":"Contact sales"}],"primary":{"type":"button","label":"Dashboard","href":"https://developers.brandfetch.com"}},"footer":{"socials":{"x":"https://x.com/brandfetch","linkedin":"https://linkedin.com/company/brandfetch","instagram":"https://instagram.com/brandfetch"}},"seo":{"metatags":{"og:image":"https://developers.brandfetch.com/og_docs.webp"},"indexing":"navigable"},"fonts":{"heading":{"family":"Poppins"},"body":{"family":"Inter"}},"integrations":{"gtm":{"tagId":"GTM-MMMXMV7"}},"contextual":{"options":["assistant","copy","view","chatgpt","claude","cursor","vscode","mcp"],"display":"header"},"markdown":{"instructions":["Brandfetch returns real company logos, brand data, and brand context. It does not design, generate, or edit logos.","To show a logo in a user interface, use the Logo API as an image URL in an \u003cimg> tag, such as https://cdn.brandfetch.io/domain/{domain}?c={CLIENT_ID}. The client ID is public and belongs in frontend code. Never download, proxy, re-host, or optimize these images on a server, because requests that look programmatic are redirected with automated_traffic. In Next.js, this means next/image needs a custom loader or the unoptimized prop.","To turn a company name that a user types into a domain, use the Brand Search API with the same client ID, and keep only the domain the user picks.","For colors, fonts, downloadable logo files, and company data as JSON, call the Brand API from a server with the header Authorization: Bearer {API_KEY}, reading the key from an environment variable and never exposing it to the browser. Prefer typed routes such as /v2/brands/domain/{domain} and /v2/brands/ticker/{ticker} over the auto-detect route /v2/brands/{identifier}.","Use the Brand Context API for a written summary of what a company does, who it sells to, and how it sounds, and the Transaction API to identify the merchant behind a card or bank transaction label.","When a request fails, branch on the x-bf-error header code rather than on the status code or the message text. Every code, and what to do about it, is listed at https://docs.brandfetch.com/concepts/errors.","Requests for brandfetch.com are free on the Brand API and Brand Context API, so use that domain in tests and examples.","Brand API responses can be cached for up to 30 days, while Logo API images must be hotlinked rather than stored and Brand Search results must not be stored at all. See https://docs.brandfetch.com/concepts/caching.","If the user has no credentials yet, https://brandfetch.com/auth.md explains how they get a client ID and an API key. An agent without an account can pay $0.10 per Brand API, Brand Context API, or Transaction API request with x402 or MPP, as described at https://docs.brandfetch.com/agents/pay-per-request."]},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"brandfetch-d7fb5329","hasAudioNarration":false,"actualSubdomain":"brandfetch-d7fb5329","customDomains":["docs.brandfetch.com"],"gitSource":{"type":"github","owner":"brandfetch","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10a8059ffae5051c3fb213"},"feedback":{"thumbs":true,"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0d759a47289ae7ff8c4400","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Documentation","count":40},{"language":"default","tag":"Resources","count":18},{"language":"default","tag":"API reference","count":14},{"language":"default","tag":"Brand API","count":13},{"language":"default","tag":"Products","count":11},{"language":"default","tag":"Use cases","count":11},{"language":"default","tag":"Integrations","count":9},{"language":"default","tag":"Delivery","count":8},{"language":"default","tag":"Concepts","count":6},{"language":"default","tag":"Support and trust","count":6}]},"assistantConfig":{"deflection":{"enabled":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":true},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/brandfetch-d7fb5329/c4f7b96bb283dfd0/style.css"}]}
{"page":{"pagePath":"reference/transaction-api","slug":"/reference/transaction-api","pageMetadata":{"title":"Transaction API reference","sidebarTitle":"/v2/brands/transaction","description":"Send a card or bank transaction descriptor to POST /v2/brands/transaction and get back the merchant's brand, with its logos, colors, and company data.","openapi":"POST /v2/brands/transaction","href":"/reference/transaction-api"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send a card or bank transaction descriptor to POST /v2/brands/transaction and get back the merchant’s brand, with its logos, colors, and company data.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Transaction API reference","sidebarTitle":"/v2/brands/transaction","description":"Send a card or bank transaction descriptor to POST /v2/brands/transaction and get back the merchant's brand, with its logos, colors, and company data.","openapi":"POST /v2/brands/transaction","href":"/reference/transaction-api"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/brandfetch-d7fb5329/828c244e557a082e/old-anchors.js","/_mintlify/custom/brandfetch-d7fb5329/1a383e15ebf8eecb/toc-rail.js"],"openApiReferenceData":{"operation":{"summary":"Get brand data from a transaction","description":"Send a card or bank transaction descriptor to POST /v2/brands/transaction and get back the merchant's brand, with its logos, colors, and company data.","operationId":"getBrandFromTransaction","tags":["brands"],"security":["ecbc2946-be5e-4c0c-b51e-8ba9739f3735","1a89c689-7d9a-4b33-9ef6-4ade1c4582e5","7e692f7e-56d0-45c3-a9ca-5b18009a120d"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.10"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"offers":[{"amount":"100000","currency":"0x20C000000000000000000000b9537d11c60E8b50","description":"Transaction API request","intent":"charge","method":"tempo"}]},"requestBody":"7a769ed5-3c78-4190-93e2-2ec650296387","responses":{"200":"8d9bc905-1217-4828-99ac-78d93c7b6f02","400":"6931f2aa-5ad9-45c7-a818-d281f78c8856","401":"02ad09b4-02e3-4bbe-a519-60aa6c680522","402":"4ae0ef42-daa5-4c34-95dd-5edeb814de27","403":"8235847a-2446-424e-90ac-f0b67b96796e","404":"f0b02658-cf39-4b1b-b677-2efdf69290fe","429":"64dff794-7718-4e53-91e3-8dea77038d9d","500":"9ead583d-8796-4c33-b61e-3bd6e233cb98","503":"cdf9999e-1dcf-47aa-8144-daffcefa4501"},"method":"post","type":"path","servers":["8bf0a604-4483-4d85-917c-25c1338f09ae"],"path":"/v2/brands/transaction","baseUrlOptions":["https://api.brandfetch.io"],"title":"Get brand data from a transaction","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"transactionLabel":{"type":"string","description":"The raw transaction text.","example":"STARBUCKS 1523 OMAHA NE","isRequired":true,"uniqueKey":"transactionLabel","typeLabel":"string"},"countryCode":{"type":"string","description":"An ISO 3166-1 alpha-2 country code indicating the country where the transaction took place.","example":"US","isRequired":true,"uniqueKey":"countryCode","typeLabel":"string"}},"required":["transactionLabel","countryCode"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"transactionLabel":"STARBUCKS 1523 OMAHA NE","countryCode":"US"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"8d9bc905-1217-4828-99ac-78d93c7b6f02":{"headers":{"PAYMENT-RESPONSE":{"description":"Present on responses paid with x402: the base64-encoded settlement receipt (`success`, `transaction`, `network`, `payer`).","schema":{"type":"string"}},"Payment-Receipt":{"description":"Present on responses paid with MPP: the base64url-encoded receipt (`method`, `reference`, `status`, `timestamp`). Such responses also carry `Cache-Control: private`.","schema":{"type":"string"}}},"description":"Successful request. A request paid with MPP whose response was lost can be retried with the same credential and the same body for two minutes: it is served from the payment already taken and not charged again. The credential pays for that transaction only: presented with another `transactionLabel` or `countryCode`, it is refused with a `402` whose `reason` is `credential_spent`.","content":{"application/json":{"schema":{"type":"object","example":{"id":"idL0iThUh6","name":"Brandfetch","domain":"brandfetch.com","claimed":true,"description":"Brandfetch is the brand identity platform. Search any brand's official logos, colors, fonts, and company details, or use our API to power modern product experiences and AI agents.","logo":"https://cdn.brandfetch.io/idL0iThUh6/w/512/h/512/theme/dark/fallback/404/logo.webp?c=BRANDFETCH_CLIENT_ID\u0026t=1741016163093","icon":"https://cdn.brandfetch.io/idL0iThUh6/w/128/h/128/fallback/lettermark/icon.webp?c=BRANDFETCH_CLIENT_ID\u0026t=1792682495901","logos":[{"type":"logo","theme":"dark","formats":[{"format":"svg","src":"https://cdn.brandfetch.io/idL0iThUh6/theme/dark/logo.svg?c=BRANDFETCH_CLIENT_ID","width":677,"height":182}]}],"colors":[{"hex":"#006BFF","type":"accent","brightness":95},{"hex":"#00193E","type":"brand","brightness":22},{"hex":"#000000","type":"dark","brightness":0},{"hex":"#FFFFFF","type":"light","brightness":255}],"fonts":[{"name":"Poppins","type":"title","origin":"google"},{"name":"Inter","type":"body","origin":"google"}],"company":{"employees":2,"foundedYear":2020,"kind":"PRIVATELY_HELD","location":{"city":"Savigny","country":"Switzerland","countryCode":"CH"}},"qualityScore":0.99,"urn":"urn:brandfetch:brand:idL0iThUh6"},"properties":{"id":{"type":"string","description":"Unique identifier for the brand","nullable":false,"uniqueKey":"id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","description":"Brand name","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Brand name","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"domain":{"type":"string","description":"Brand website URL","nullable":false,"uniqueKey":"domain","typeLabel":"string"},"claimed":{"type":"boolean","description":"Set to true if the owner of the brand claimed its brand profile on [Brandfetch](https://brandfetch.com/developers)","nullable":false,"uniqueKey":"claimed","typeLabel":"boolean"},"description":{"oneOf":[{"type":"string","description":"Brand description","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Brand description","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"longDescription":{"oneOf":[{"type":"string","description":"Brand long description","uniqueKey":"longDescription.oneOf.0","typeLabel":"string"},{"type":"null","description":"Brand long description","uniqueKey":"longDescription.oneOf.1","typeLabel":"null"}],"uniqueKey":"longDescription","typeLabel":"string | null"},"links":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the social media platform","nullable":false,"enum":["twitter","facebook","instagram","github","youtube","linkedin","crunchbase"],"uniqueKey":"links.items.[INDEX].name","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"URL of the social media profile","nullable":false,"uniqueKey":"links.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"links.items.[INDEX]","typeLabel":"object"},"description":"Social media links of the brand","nullable":false,"uniqueKey":"links","typeLabel":"object[]"},"logo":{"oneOf":[{"type":"string","description":"Shortcut field for the brand's logo: the address of the best match from `logos`. The image is a WebP up to 512 px on its longer side. A dark logo is picked over a light one, for light backgrounds; the address names the theme it serves. `null` when the brand has no logo, and for brands with `isNsfw: true`.\n\nFetch the address as it is given. Its `c` parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its `t` parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota. If the logo is gone when you fetch it, the address returns `404`.","uniqueKey":"logo.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shortcut field for the brand's logo: the address of the best match from `logos`. The image is a WebP up to 512 px on its longer side. A dark logo is picked over a light one, for light backgrounds; the address names the theme it serves. `null` when the brand has no logo, and for brands with `isNsfw: true`.\n\nFetch the address as it is given. Its `c` parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its `t` parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota. If the logo is gone when you fetch it, the address returns `404`.","uniqueKey":"logo.oneOf.1","typeLabel":"null"}],"uniqueKey":"logo","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"Shortcut field for the brand's symbol: the address of the best match from `logos`. The image is a WebP up to 512 px on its longer side. A dark symbol is picked over a light one, for light backgrounds; the address names the theme it serves. `null` when the brand has no symbol, and for brands with `isNsfw: true`.\n\nFetch the address as it is given. Its `c` parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its `t` parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota. If the symbol is gone when you fetch it, the address returns `404`.","uniqueKey":"symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shortcut field for the brand's symbol: the address of the best match from `logos`. The image is a WebP up to 512 px on its longer side. A dark symbol is picked over a light one, for light backgrounds; the address names the theme it serves. `null` when the brand has no symbol, and for brands with `isNsfw: true`.\n\nFetch the address as it is given. Its `c` parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its `t` parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota. If the symbol is gone when you fetch it, the address returns `404`.","uniqueKey":"symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"symbol","typeLabel":"string | null"},"icon":{"oneOf":[{"type":"string","description":"Shortcut field for the brand's icon: the address of the best match from `logos`. The image is a square WebP up to 128 px. A brand without an icon gets one made from its symbol or logo. When no icon can be made, the address returns a lettermark: the brand's initial on a plain square. `null` when the brand has no icon, symbol or logo, and for brands with `isNsfw: true`.\n\nFetch the address as it is given. Its `c` parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its `t` parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota.","uniqueKey":"icon.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shortcut field for the brand's icon: the address of the best match from `logos`. The image is a square WebP up to 128 px. A brand without an icon gets one made from its symbol or logo. When no icon can be made, the address returns a lettermark: the brand's initial on a plain square. `null` when the brand has no icon, symbol or logo, and for brands with `isNsfw: true`.\n\nFetch the address as it is given. Its `c` parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its `t` parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota.","uniqueKey":"icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"icon","typeLabel":"string | null"},"banner":{"oneOf":[{"type":"string","description":"Shortcut field for the brand's banner: the address of the best match from `images`. The image is a WebP up to 1500 px wide. `null` when the brand has no banner, and for brands with `isNsfw: true`.\n\nFetch the address as it is given. Its `c` parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its `t` parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota. If the banner is gone when you fetch it, the address returns `404`.","uniqueKey":"banner.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shortcut field for the brand's banner: the address of the best match from `images`. The image is a WebP up to 1500 px wide. `null` when the brand has no banner, and for brands with `isNsfw: true`.\n\nFetch the address as it is given. Its `c` parameter is a client ID signed for your API key. The client ID is required, and a request without it is refused. Its `t` parameter changes when the image does, and like the rest of the response the image can be stored for up to 30 days. The image does not count towards your quota. If the banner is gone when you fetch it, the address returns `404`.","uniqueKey":"banner.oneOf.1","typeLabel":"null"}],"uniqueKey":"banner","typeLabel":"string | null"},"logos":{"type":"array","items":{"type":"object","properties":{"theme":{"oneOf":[{"type":"string","description":"See logo theme. Possible values:\n- **dark**: A dark logo should be displayed on a light background (e.g. #ffffff)\n- **light**: A light logo should be displayed on a dark background (e.g. #000000)","enum":["dark","light",null],"uniqueKey":"logos.items.[INDEX].theme.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"See logo theme. Possible values:\n- **dark**: A dark logo should be displayed on a light background (e.g. #ffffff)\n- **light**: A light logo should be displayed on a dark background (e.g. #000000)","enum":["dark","light",null],"uniqueKey":"logos.items.[INDEX].theme.oneOf.1","typeLabel":"null"}],"uniqueKey":"logos.items.[INDEX].theme","typeLabel":"enum\u003cstring> | null"},"formats":{"type":"array","items":{"type":"object","properties":{"src":{"type":"string","description":"File source","uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].src","typeLabel":"string"},"format":{"type":"string","enum":["svg","webp","png","jpeg"],"description":"File format","uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].format","typeLabel":"enum\u003cstring>"},"height":{"oneOf":[{"type":"integer","description":"File height in pixels","uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].height.oneOf.0","typeLabel":"integer"},{"type":"null","description":"File height in pixels","uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].height.oneOf.1","typeLabel":"null"}],"uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].height","typeLabel":"integer | null"},"width":{"oneOf":[{"type":"integer","description":"File width in pixels","uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].width.oneOf.0","typeLabel":"integer"},{"type":"null","description":"File width in pixels","uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].width.oneOf.1","typeLabel":"null"}],"uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].width","typeLabel":"integer | null"},"size":{"type":"integer","description":"File size in bytes","uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].size","typeLabel":"integer"},"background":{"oneOf":[{"type":"string","enum":["transparent"],"description":"Indicates if the file has a transparent background","uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].background.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["transparent"],"description":"Indicates if the file has a transparent background","uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].background.oneOf.1","typeLabel":"null"}],"uniqueKey":"logos.items.[INDEX].formats.items.[INDEX].background","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"logos.items.[INDEX].formats.items.[INDEX]","typeLabel":"object"},"description":"A list of format objects containing files in different formats","nullable":false,"uniqueKey":"logos.items.[INDEX].formats","typeLabel":"object[]"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"logos.items.[INDEX].tags.items.[INDEX]","typeLabel":"string"},"description":"What the image is. Brandfetch tags a brand's icon and logo; one that is no longer the brand's main icon or logo keeps its tags and is listed with type `other`. Possible values:\n- **photographic**: The image is a photograph, or a logo shown on one, such as a sign or a vehicle.\n- **portrait**: The image is a photograph mainly of one or more people. An image tagged `portrait` is also tagged `photographic`.\n- **illustration**: The image is a drawing, painting, cartoon or 3D render that is not a logo.\n- **screenshot**: The image is a screenshot or mockup of software, a website, an app or a device screen. Logos only.\n- **text**: The image is a flyer, poster, advert, social media post, infographic, document or menu.\n- **placeholder**: The image is a default avatar, a blank or single-colour image, or a \"no image\" graphic.\n- **wordmark**: The logo is the brand's name set in type, with no separate symbol.\n- **lettermark**: The logo is initials, a monogram or a single letter. Icons only.\n- **symbol**: The logo is a symbol alone, without text. Icons only.\n- **combination**: The logo pairs a symbol with the name.\n- **emblem**: The logo's text sits inside a badge, seal or crest.\n\nThe mark types, `wordmark` to `emblem`, go only on an image that is mainly a logo, one at most. A tag is assigned only when the image clearly is one, so an image without a tag can still be any of these. Logos and icons that Brandfetch has not refreshed since October 2026 may carry fewer tags, or none. Brandfetch may add values.","nullable":false,"uniqueKey":"logos.items.[INDEX].tags","typeLabel":"string[]"},"type":{"type":"string","description":"See logo type. Possible values:\n- **icon**: The icon that is used on social profiles (e.g. [Tesla's social icon](https://cdn.brandfetch.io/tesla.com/icon))\n- **logo**: The horizontal logo, seen on large surfaces (e.g. [Tesla's logo](https://asset.brandfetch.io/id2S-kXbuK/idAJ5NMLPG.svg))\n- **symbol**: The universal mark that abstractly represents the brand (e.g. [Tesla's T symbol](https://asset.brandfetch.io/id2S-kXbuK/idM-t614MT.svg))\n- **other**: Other is used to refer to any type of logo that is not the primary one. (e.g. Amazon Kindle Logo)","nullable":false,"enum":["icon","logo","symbol","other"],"uniqueKey":"logos.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"logos.items.[INDEX]","typeLabel":"object"},"description":"Logos, symbols \u0026 icons of the brand","nullable":false,"uniqueKey":"logos","typeLabel":"object[]"},"colors":{"type":"array","items":{"type":"object","properties":{"hex":{"type":"string","description":"Color HEX code","nullable":false,"uniqueKey":"colors.items.[INDEX].hex","typeLabel":"string"},"type":{"type":"string","description":"Type of the color. Possible values:\n- **accent**: The main color that represents the brand (used to draw attention e.g. call to action button)\n- **dark**: The darker color of the brand (used for surfaces or backgrounds)\n- **light**: The lighter color of the brand (used for surfaces or backgrounds)\n- **brand**: The full-color scheme of the brand (used to create color palettes users can pick from)","nullable":false,"enum":["accent","dark","light","brand"],"uniqueKey":"colors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"brightness":{"type":"number","description":"Color brightness. Calculated based on the standard formula 0.2126*R + 0.7152*G + 0.0722*B","nullable":false,"format":"float","uniqueKey":"colors.items.[INDEX].brightness","typeLabel":"number\u003cfloat>"}},"uniqueKey":"colors.items.[INDEX]","typeLabel":"object"},"description":"Accent, dark, light \u0026 palette colors of the brand","nullable":false,"uniqueKey":"colors","typeLabel":"object[]"},"fonts":{"type":"array","items":{"type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"The font family, for example `Inter`.","uniqueKey":"fonts.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The font family, for example `Inter`.","uniqueKey":"fonts.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].name","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"The role that the brand uses the font for. Possible values:\n- **title**: headings\n- **body**: paragraph text\n- **label**: buttons, links and small text. Only with `typography`.\n- **code**: code samples\n- **display**: large hero text, when its font is not the `title` font\n\n`null` when the role is not known.","enum":["title","body","label","code","display",null],"uniqueKey":"fonts.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The role that the brand uses the font for. Possible values:\n- **title**: headings\n- **body**: paragraph text\n- **label**: buttons, links and small text. Only with `typography`.\n- **code**: code samples\n- **display**: large hero text, when its font is not the `title` font\n\n`null` when the role is not known.","enum":["title","body","label","code","display",null],"uniqueKey":"fonts.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"},"origin":{"type":"string","description":"Where the font comes from. Possible values:\n- **google**: a Google Fonts family, also when the brand hosts the files itself\n- **adobe**: Adobe Fonts\n- **bunny**: Bunny Fonts\n- **fontshare**: Fontshare\n- **system**: a font that the operating system supplies\n- **custom**: a font that the brand hosts itself, or that the brand uploaded to Brandfetch","enum":["google","adobe","bunny","fontshare","system","custom"],"uniqueKey":"fonts.items.[INDEX].origin","typeLabel":"enum\u003cstring>"},"originId":{"oneOf":[{"type":"string","description":"The ID of the font at its origin. Possible values:\n- **google**: the family name with `+` for spaces, for example `Open+Sans`\n- **adobe**: the Adobe Fonts kit ID\n- **fontshare**: the Fontshare slug, for example `satoshi`\n\n`null` for other origins. With `weights`, the ID is enough to build the stylesheet URL of a Google Fonts or Fontshare font.","uniqueKey":"fonts.items.[INDEX].originId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the font at its origin. Possible values:\n- **google**: the family name with `+` for spaces, for example `Open+Sans`\n- **adobe**: the Adobe Fonts kit ID\n- **fontshare**: the Fontshare slug, for example `satoshi`\n\n`null` for other origins. With `weights`, the ID is enough to build the stylesheet URL of a Google Fonts or Fontshare font.","uniqueKey":"fonts.items.[INDEX].originId.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].originId","typeLabel":"string | null"},"weights":{"type":"array","items":{"type":"integer","uniqueKey":"fonts.items.[INDEX].weights.items.[INDEX]","typeLabel":"integer"},"description":"The font weights that the brand uses, as CSS `font-weight` values, for example `400` and `700`.","uniqueKey":"fonts.items.[INDEX].weights","typeLabel":"integer[]"},"category":{"oneOf":[{"type":"string","description":"The class of the font. `null` when it is not known.","enum":["sans-serif","serif","monospace","display","handwriting"],"uniqueKey":"fonts.items.[INDEX].category.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The class of the font. `null` when it is not known.","enum":["sans-serif","serif","monospace","display","handwriting"],"uniqueKey":"fonts.items.[INDEX].category.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].category","typeLabel":"enum\u003cstring> | null"},"fallbacks":{"type":"array","items":{"type":"string","uniqueKey":"fonts.items.[INDEX].fallbacks.items.[INDEX]","typeLabel":"string"},"description":"The families that the brand's CSS `font-family` list gives after `name`, in order. Together, `name` and `fallbacks` make a `font-family` value that you can use. The list is empty when the brand gives no other family.","uniqueKey":"fonts.items.[INDEX].fallbacks","typeLabel":"string[]"},"license":{"oneOf":[{"type":"string","description":"The license class of the font. Possible values:\n- **open**: an open-source license, for example the SIL Open Font License\n- **free**: free to use, but not open source, for example the ITF Free Font License\n- **commercial**: a license from the foundry is necessary\n- **proprietary**: a typeface that the brand owns\n- **system**: the operating system supplies the font\n- **unknown**: the license is not known\n\n`null` when the font was not measured.","enum":["open","free","commercial","proprietary","system","unknown"],"uniqueKey":"fonts.items.[INDEX].license.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The license class of the font. Possible values:\n- **open**: an open-source license, for example the SIL Open Font License\n- **free**: free to use, but not open source, for example the ITF Free Font License\n- **commercial**: a license from the foundry is necessary\n- **proprietary**: a typeface that the brand owns\n- **system**: the operating system supplies the font\n- **unknown**: the license is not known\n\n`null` when the font was not measured.","enum":["open","free","commercial","proprietary","system","unknown"],"uniqueKey":"fonts.items.[INDEX].license.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].license","typeLabel":"enum\u003cstring> | null"},"foundry":{"oneOf":[{"type":"string","description":"The foundry or designer of the font. `null` when it is not known. Only with `typography`.","uniqueKey":"fonts.items.[INDEX].foundry.oneOf.0","typeLabel":"string"},{"type":"null","description":"The foundry or designer of the font. `null` when it is not known. Only with `typography`.","uniqueKey":"fonts.items.[INDEX].foundry.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].foundry","typeLabel":"string | null"},"styles":{"type":"array","description":"The text styles that the brand shows in this font: its type scale. The list is empty when no style was measured. Only with `typography`.","items":{"type":"object","properties":{"name":{"type":"string","description":"The step of the type scale: `heading-xl`, `heading-lg`, `heading-md`, `heading-sm`, `body-md`, `label-sm`, `label-md`, `link-md` or `code`.","nullable":false,"uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].name","typeLabel":"string"},"element":{"type":"string","description":"The HTML element that the style was measured on: `h1`, `h2`, `h3`, `h4`, `p`, `small`, `button`, `a` or `code`.","nullable":false,"uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].element","typeLabel":"string"},"fontWeight":{"oneOf":[{"type":"integer","description":"The CSS `font-weight` of the style. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].fontWeight.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The CSS `font-weight` of the style. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].fontWeight.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].fontWeight","typeLabel":"integer | null"},"fontSize":{"oneOf":[{"type":"string","description":"The font size in CSS pixels, for example `48px`. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].fontSize.oneOf.0","typeLabel":"string"},{"type":"null","description":"The font size in CSS pixels, for example `48px`. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].fontSize.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].fontSize","typeLabel":"string | null"},"lineHeight":{"oneOf":[{"type":"number","description":"The line height as a multiple of the font size, for example `1.5`. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].lineHeight.oneOf.0","typeLabel":"number"},{"type":"null","description":"The line height as a multiple of the font size, for example `1.5`. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].lineHeight.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].lineHeight","typeLabel":"number | null"},"letterSpacing":{"oneOf":[{"type":"string","description":"The letter spacing in `em`, relative to the font size, for example `-0.02em`. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].letterSpacing.oneOf.0","typeLabel":"string"},{"type":"null","description":"The letter spacing in `em`, relative to the font size, for example `-0.02em`. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].letterSpacing.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].letterSpacing","typeLabel":"string | null"},"textTransform":{"oneOf":[{"type":"string","description":"The CSS `text-transform` of the style, for example `none` or `uppercase`. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].textTransform.oneOf.0","typeLabel":"string"},{"type":"null","description":"The CSS `text-transform` of the style, for example `none` or `uppercase`. `null` when it was not measured.","uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].textTransform.oneOf.1","typeLabel":"null"}],"uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX].textTransform","typeLabel":"string | null"}},"uniqueKey":"fonts.items.[INDEX].styles.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fonts.items.[INDEX].styles","typeLabel":"object[]"}},"uniqueKey":"fonts.items.[INDEX]","typeLabel":"object"},"description":"The fonts that the brand uses on its website, one for each role. The order is `title`, `body`, `label`, `code`, `display`, so the first font is the heading font. One family can fill more than one role.","nullable":false,"uniqueKey":"fonts","typeLabel":"object[]"},"images":{"type":"array","items":{"type":"object","properties":{"formats":{"type":"array","items":{"type":"object","properties":{"src":{"type":"string","description":"File source","uniqueKey":"images.items.[INDEX].formats.items.[INDEX].src","typeLabel":"string"},"format":{"type":"string","enum":["svg","webp","png","jpeg"],"description":"File format","uniqueKey":"images.items.[INDEX].formats.items.[INDEX].format","typeLabel":"enum\u003cstring>"},"height":{"oneOf":[{"type":"integer","description":"File height in pixels","uniqueKey":"images.items.[INDEX].formats.items.[INDEX].height.oneOf.0","typeLabel":"integer"},{"type":"null","description":"File height in pixels","uniqueKey":"images.items.[INDEX].formats.items.[INDEX].height.oneOf.1","typeLabel":"null"}],"uniqueKey":"images.items.[INDEX].formats.items.[INDEX].height","typeLabel":"integer | null"},"width":{"oneOf":[{"type":"integer","description":"File width in pixels","uniqueKey":"images.items.[INDEX].formats.items.[INDEX].width.oneOf.0","typeLabel":"integer"},{"type":"null","description":"File width in pixels","uniqueKey":"images.items.[INDEX].formats.items.[INDEX].width.oneOf.1","typeLabel":"null"}],"uniqueKey":"images.items.[INDEX].formats.items.[INDEX].width","typeLabel":"integer | null"},"size":{"type":"integer","description":"File size in bytes","uniqueKey":"images.items.[INDEX].formats.items.[INDEX].size","typeLabel":"integer"},"background":{"oneOf":[{"type":"string","enum":["transparent"],"description":"Indicates if the file has a transparent background","uniqueKey":"images.items.[INDEX].formats.items.[INDEX].background.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["transparent"],"description":"Indicates if the file has a transparent background","uniqueKey":"images.items.[INDEX].formats.items.[INDEX].background.oneOf.1","typeLabel":"null"}],"uniqueKey":"images.items.[INDEX].formats.items.[INDEX].background","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"images.items.[INDEX].formats.items.[INDEX]","typeLabel":"object"},"description":"Available formats of the image","nullable":false,"uniqueKey":"images.items.[INDEX].formats","typeLabel":"object[]"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"images.items.[INDEX].tags.items.[INDEX]","typeLabel":"string"},"description":"What the image is. A banner that is no longer the brand's main one keeps its tags and is listed with type `other`. Possible values:\n- **photographic**: The image is a photograph, or a logo shown on one. Banners and pictures.\n- **portrait**: The image is a photograph mainly of one or more people. Banners and pictures. An image tagged `portrait` is also tagged `photographic`.\n- **illustration**: The image is a drawing, painting, cartoon or 3D render that is not a logo. Banners and pictures.\n- **screenshot**: The image is a screenshot or mockup of software, a website, an app or a device screen. Pictures.\n- **text**: The image is a flyer, poster, advert, social media post, infographic, document or menu. Banners and pictures.\n- **pattern**: The image is an abstract background, texture, gradient or pattern with no subject. Pictures.\n- **placeholder**: The image is blank, a single colour, or a \"no image\" graphic. Banners.\n\nA tag is assigned only when the image clearly is one, so an image without a tag can still be any of these. Images that Brandfetch has not refreshed since October 2026 have no tags. Brandfetch may add values.","nullable":false,"uniqueKey":"images.items.[INDEX].tags","typeLabel":"string[]"},"type":{"type":"string","description":"Image type. `picture` entries are images published on the brand's own site and carry `pictureMetadata`. Their `tags` say what each one is, such as a photograph, a screenshot or a flyer.","nullable":false,"enum":["banner","other","picture"],"uniqueKey":"images.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"pictureMetadata":{"type":"object","description":"Present on `picture` entries only. Lets you choose between a brand's pictures without fetching the files first.","properties":{"score":{"type":"number","description":"How representative of the brand we consider this picture","nullable":false,"uniqueKey":"images.items.[INDEX].pictureMetadata.score","typeLabel":"number"},"rank":{"type":"integer","description":"Position of this picture among the brand's pictures, by descending score","nullable":false,"uniqueKey":"images.items.[INDEX].pictureMetadata.rank","typeLabel":"integer"},"naturalWidth":{"type":"integer","description":"Intrinsic width of the image in pixels","nullable":false,"uniqueKey":"images.items.[INDEX].pictureMetadata.naturalWidth","typeLabel":"integer"},"naturalHeight":{"type":"integer","description":"Intrinsic height of the image in pixels","nullable":false,"uniqueKey":"images.items.[INDEX].pictureMetadata.naturalHeight","typeLabel":"integer"},"alt":{"type":"string","description":"Alt text published with the image on the brand's site","nullable":false,"uniqueKey":"images.items.[INDEX].pictureMetadata.alt","typeLabel":"string"},"sourceUrl":{"type":"string","description":"URL of the image on the brand's own site. A `picture` can arrive with an empty `formats` array, in which case this is how you reach the image.","nullable":false,"uniqueKey":"images.items.[INDEX].pictureMetadata.sourceUrl","typeLabel":"string"},"imageCategory":{"oneOf":[{"type":"string","description":"Category we classified the image into","uniqueKey":"images.items.[INDEX].pictureMetadata.imageCategory.oneOf.0","typeLabel":"string"},{"type":"null","description":"Category we classified the image into","uniqueKey":"images.items.[INDEX].pictureMetadata.imageCategory.oneOf.1","typeLabel":"null"}],"uniqueKey":"images.items.[INDEX].pictureMetadata.imageCategory","typeLabel":"string | null"},"categoryConfidence":{"oneOf":[{"type":"number","description":"Confidence in the assigned `imageCategory`","uniqueKey":"images.items.[INDEX].pictureMetadata.categoryConfidence.oneOf.0","typeLabel":"number"},{"type":"null","description":"Confidence in the assigned `imageCategory`","uniqueKey":"images.items.[INDEX].pictureMetadata.categoryConfidence.oneOf.1","typeLabel":"null"}],"uniqueKey":"images.items.[INDEX].pictureMetadata.categoryConfidence","typeLabel":"number | null"}},"nullable":false,"uniqueKey":"images.items.[INDEX].pictureMetadata","typeLabel":"object"}},"uniqueKey":"images.items.[INDEX]","typeLabel":"object"},"description":"Banner, picture \u0026 other images of the brand","nullable":false,"uniqueKey":"images","typeLabel":"object[]"},"qualityScore":{"type":"number","description":"Score between 0-1 which indicates the quality of the data for the given brand. Useful when you don't want to show lower quality brands to your users.\n\nLower 3rd is poor quality, middle 3rd is OK quality, upper 3rd is high quality. Lower scores indicate that a brand is less likely to be \"real\". For example, where google.com will score high, my-random-blog.com will score between 0.3-0.4. The score factors in things like data-recency, whether the brand has been claimed, if it has been manually verified by our team, the brand's domain ranking on the web, as well as other factors.\n\nDon't rely on a fixed score for any given brand. The way we calculate this score may change over time as we add new factors, or tweak the weights of existing ones such that a score for a given brand may change. However, they will remain aligned such that scores divide quality into thirds: low, medium, high.","nullable":false,"uniqueKey":"qualityScore","typeLabel":"number"},"company":{"type":"object","properties":{"employees":{"oneOf":[{"type":"integer","description":"1 employee, 2-10 employees, 11-50 employees, 51-200 employees, 201-500 employees, 501-1,000 employees, 1,001-5,000 employees, 5,001-10,000 employees, 10,001+ employees","enum":[1,2,11,51,201,501,1001,5001,10001],"uniqueKey":"company.employees.oneOf.0","typeLabel":"enum\u003cinteger>"},{"type":"null","description":"1 employee, 2-10 employees, 11-50 employees, 51-200 employees, 201-500 employees, 501-1,000 employees, 1,001-5,000 employees, 5,001-10,000 employees, 10,001+ employees","enum":[1,2,11,51,201,501,1001,5001,10001],"uniqueKey":"company.employees.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.employees","typeLabel":"enum\u003cinteger> | null"},"financialIdentifiers":{"oneOf":[{"type":"object","description":"Object holding financial identifiers","properties":{"isin":{"type":"array","description":"List of ISIN codes","items":{"type":"string","uniqueKey":"company.financialIdentifiers.oneOf.0.isin.items.[INDEX]","typeLabel":"string"},"uniqueKey":"company.financialIdentifiers.oneOf.0.isin","typeLabel":"string[]"},"ticker":{"type":"array","description":"List of Stock or ETF ticker","items":{"type":"string","uniqueKey":"company.financialIdentifiers.oneOf.0.ticker.items.[INDEX]","typeLabel":"string"},"uniqueKey":"company.financialIdentifiers.oneOf.0.ticker","typeLabel":"string[]"}},"uniqueKey":"company.financialIdentifiers.oneOf.0","typeLabel":"object"},{"type":"null","description":"Object holding financial identifiers","properties":{"isin":{"type":"array","description":"List of ISIN codes","items":{"type":"string"}},"ticker":{"type":"array","description":"List of Stock or ETF ticker","items":{"type":"string"}}},"uniqueKey":"company.financialIdentifiers.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.financialIdentifiers","typeLabel":"object | null"},"foundedYear":{"oneOf":[{"type":"integer","description":"The year the brand was founded","uniqueKey":"company.foundedYear.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The year the brand was founded","uniqueKey":"company.foundedYear.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.foundedYear","typeLabel":"integer | null"},"industries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the industry","uniqueKey":"company.industries.items.[INDEX].id","typeLabel":"string"},"score":{"type":"number","format":"float","description":"Probability, between 0 and 1, that the brand belongs to this industry. A value of 1 marks an industry that was set rather than predicted, for example by a curator, an import or a content rule.","uniqueKey":"company.industries.items.[INDEX].score","typeLabel":"number\u003cfloat>"},"slug":{"type":"string","description":"URL friendly identifier","uniqueKey":"company.industries.items.[INDEX].slug","typeLabel":"string"},"name":{"type":"string","description":"Name of the industry","uniqueKey":"company.industries.items.[INDEX].name","typeLabel":"string"},"emoji":{"type":"string","description":"An emoji for the industry","uniqueKey":"company.industries.items.[INDEX].emoji","typeLabel":"string"},"parent":{"oneOf":[{"description":"If the object is a sub-category, the parent industry","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the industry","uniqueKey":"company.industries.items.[INDEX].parent.oneOf.0.items.[INDEX].id","typeLabel":"string"},"slug":{"type":"string","description":"URL friendly identifier","uniqueKey":"company.industries.items.[INDEX].parent.oneOf.0.items.[INDEX].slug","typeLabel":"string"},"name":{"type":"string","description":"Name of the industry","uniqueKey":"company.industries.items.[INDEX].parent.oneOf.0.items.[INDEX].name","typeLabel":"string"},"emoji":{"type":"string","description":"An emoji for the industry","uniqueKey":"company.industries.items.[INDEX].parent.oneOf.0.items.[INDEX].emoji","typeLabel":"string"}},"uniqueKey":"company.industries.items.[INDEX].parent.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"company.industries.items.[INDEX].parent.oneOf.0","typeLabel":"object[]"},{"description":"If the object is a sub-category, the parent industry","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the industry"},"slug":{"type":"string","description":"URL friendly identifier"},"name":{"type":"string","description":"Name of the industry"},"emoji":{"type":"string","description":"An emoji for the industry"}}},"type":"null","uniqueKey":"company.industries.items.[INDEX].parent.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.industries.items.[INDEX].parent","typeLabel":"object[] | null"}},"uniqueKey":"company.industries.items.[INDEX]","typeLabel":"object"},"description":"An array of industries, sorted by descending `score`. A sub-industry carries its top-level industry in `parent`. See the full list of industries [here](https://docs.google.com/spreadsheets/d/1N44nMfVtPCFM4ebTcmRlqbyxjFtDAGVuqd0mh0dcOU0/edit?usp=sharing)","uniqueKey":"company.industries","typeLabel":"object[]"},"kind":{"oneOf":[{"type":"string","description":"Organizational Structure","enum":["EDUCATIONAL","GOVERNMENT_AGENCY","NON_PROFIT","PARTNERSHIP","PRIVATELY_HELD","PUBLIC_COMPANY","SELF_EMPLOYED","SELF_OWNED"],"uniqueKey":"company.kind.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Organizational Structure","enum":["EDUCATIONAL","GOVERNMENT_AGENCY","NON_PROFIT","PARTNERSHIP","PRIVATELY_HELD","PUBLIC_COMPANY","SELF_EMPLOYED","SELF_OWNED"],"uniqueKey":"company.kind.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.kind","typeLabel":"enum\u003cstring> | null"},"location":{"type":"object","description":"Company's headquarter information","properties":{"city":{"oneOf":[{"type":"string","description":"Headquarter city","uniqueKey":"company.location.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"Headquarter city","uniqueKey":"company.location.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.location.city","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"Headquarter country","uniqueKey":"company.location.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Headquarter country","uniqueKey":"company.location.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.location.country","typeLabel":"string | null"},"countryCode":{"oneOf":[{"type":"string","description":"Headquarter country code (ISO 3166-1 alpha-2)","uniqueKey":"company.location.countryCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Headquarter country code (ISO 3166-1 alpha-2)","uniqueKey":"company.location.countryCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.location.countryCode","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Headquarter region","uniqueKey":"company.location.region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Headquarter region","uniqueKey":"company.location.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.location.region","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"Headquarter state","uniqueKey":"company.location.state.oneOf.0","typeLabel":"string"},{"type":"null","description":"Headquarter state","uniqueKey":"company.location.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.location.state","typeLabel":"string | null"},"subregion":{"oneOf":[{"type":"string","description":"Headquarter subregion","uniqueKey":"company.location.subregion.oneOf.0","typeLabel":"string"},{"type":"null","description":"Headquarter subregion","uniqueKey":"company.location.subregion.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.location.subregion","typeLabel":"string | null"}},"uniqueKey":"company.location","typeLabel":"object"}},"description":"The company object returns company data for the brand, such as employees, founding year, industry, and location","nullable":false,"uniqueKey":"company","typeLabel":"object"},"isNsfw":{"type":"boolean","description":"true when the brand is for adult content, e.g. is not safe for work","nullable":false,"uniqueKey":"isNsfw","typeLabel":"boolean"},"urn":{"type":"string","description":"Uniform Resource Name for the brand","nullable":false,"uniqueKey":"urn","typeLabel":"string"},"screenshot":{"oneOf":[{"type":"object","description":"The brand's homepage screenshot. `null` when Brandfetch holds no screenshot of the homepage yet, and for brands with `isNsfw: true`.\n\nThe screenshot shows the top of the homepage at a desktop viewport, as Brandfetch saw it on its last visit. It is not a full-page capture. Fetch `url` as it is given: its `c` parameter is a client ID signed for your API key, and the image does not count towards your quota. A request that drops the client ID is refused. `t` is the time of capture, so the address changes when Brandfetch takes a new screenshot.","properties":{"url":{"type":"string","description":"The address of the PNG, signed for your API key. Fetch it as it is given, with its `c` and `t` parameters.","nullable":false,"uniqueKey":"screenshot.oneOf.0.url","typeLabel":"string"},"capturedAt":{"type":"string","format":"date-time","description":"When Brandfetch took the screenshot.","nullable":false,"uniqueKey":"screenshot.oneOf.0.capturedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"screenshot.oneOf.0","typeLabel":"object"},{"type":"null","description":"The brand's homepage screenshot. `null` when Brandfetch holds no screenshot of the homepage yet, and for brands with `isNsfw: true`.\n\nThe screenshot shows the top of the homepage at a desktop viewport, as Brandfetch saw it on its last visit. It is not a full-page capture. Fetch `url` as it is given: its `c` parameter is a client ID signed for your API key, and the image does not count towards your quota. A request that drops the client ID is refused. `t` is the time of capture, so the address changes when Brandfetch takes a new screenshot.","properties":{"url":{"type":"string","description":"The address of the PNG, signed for your API key. Fetch it as it is given, with its `c` and `t` parameters.","nullable":false},"capturedAt":{"type":"string","format":"date-time","description":"When Brandfetch took the screenshot.","nullable":false}},"uniqueKey":"screenshot.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot","typeLabel":"object | null"},"palette":{"oneOf":[{"type":"object","description":"The brand's color palette. Present only when the request sets `palette=true` or `palette=1`. When a brand has no palette yet, the first request builds one from the brand's last crawl without a new render. Then `themes` and `onPairs` can be empty until the next crawl. When Brandfetch finds no color that it can defend as the brand's color, no color has the role `primary`.","properties":{"colors":{"type":"array","items":{"type":"object","properties":{"hex":{"type":"string","description":"Color HEX code.","nullable":false,"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].hex","typeLabel":"string"},"name":{"oneOf":[{"type":"string","description":"Name of the closest named color. Uses the same list as `colors[].name`, so the same HEX code has the same name everywhere.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the closest named color. Uses the same list as `colors[].name`, so the same HEX code has the same name everywhere.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].name","typeLabel":"string | null"},"role":{"type":"string","description":"What the color does for the brand. Possible values: `primary`, `secondary`, `accent`, `background`, `surface`, `text`, `muted`, `border`, `other`.","nullable":false,"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].role","typeLabel":"string"},"context":{"type":"string","description":"Where Brandfetch observed the color. `identity` for colors of the brand's mark and identity, `interface` for colors that structure its website, `both` for colors that do both.","nullable":false,"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].context","typeLabel":"string"},"rank":{"oneOf":[{"type":"integer","description":"Position of the color in the palette, from 1. `null` for a color that a theme, gradient, on-pair, or logo references but that does not rank as a brand color.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].rank.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Position of the color in the palette, from 1. `null` for a color that a theme, gradient, on-pair, or logo references but that does not rank as a brand color.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].rank.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].rank","typeLabel":"integer | null"},"member":{"type":"boolean","description":"`true` for a color listed only because a theme, gradient, on-pair or logo references it. Absent on ranked colors.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].member","typeLabel":"boolean"},"legibleText":{"type":"string","description":"`#ffffff` or `#000000`, whichever reads better on this color.","nullable":false,"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].legibleText","typeLabel":"string"},"legibleTextContrast":{"type":"number","description":"WCAG contrast ratio between the color and `legibleText`.","nullable":false,"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].legibleTextContrast","typeLabel":"number"},"onColor":{"oneOf":[{"type":"string","description":"The text color that the brand's website places on this color, when Brandfetch observed it.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].onColor.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text color that the brand's website places on this color, when Brandfetch observed it.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].onColor.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].onColor","typeLabel":"string | null"},"onColorContrast":{"oneOf":[{"type":"number","description":"WCAG contrast ratio between the color and `onColor`.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].onColorContrast.oneOf.0","typeLabel":"number"},{"type":"null","description":"WCAG contrast ratio between the color and `onColor`.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].onColorContrast.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].onColorContrast","typeLabel":"number | null"},"brightness":{"oneOf":[{"type":"number","description":"Color brightness, 0 to 255.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].brightness.oneOf.0","typeLabel":"number"},{"type":"null","description":"Color brightness, 0 to 255.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].brightness.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].brightness","typeLabel":"number | null"},"prevalence":{"oneOf":[{"type":"number","description":"Share of the observed color evidence attributed to this color, 0 to 1.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].prevalence.oneOf.0","typeLabel":"number"},{"type":"null","description":"Share of the observed color evidence attributed to this color, 0 to 1.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].prevalence.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].prevalence","typeLabel":"number | null"},"usage":{"type":"object","description":"Where the website of the brand uses this color. Each value comes from the crawl. Brandfetch does not infer any value.","properties":{"elements":{"type":"array","description":"The element classes and CSS properties that use this color in the sample of the crawl, most used first. This list is empty when Brandfetch builds the palette from a stored crawl without a new render.","items":{"type":"object","properties":{"element":{"type":"string","description":"The element class in the sample of the crawl: `button`, `link`, `heading`, `nav`, `header`, `footer`, `body`, or `html`.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage.elements.items.[INDEX].element","typeLabel":"string"},"property":{"type":"string","description":"The CSS property that uses the color: `background`, `text`, or `border`.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage.elements.items.[INDEX].property","typeLabel":"string"},"count":{"type":"integer","description":"The number of sampled elements that use the color this way.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage.elements.items.[INDEX].count","typeLabel":"integer"},"examples":{"type":"array","items":{"type":"string","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage.elements.items.[INDEX].examples.items.[INDEX]","typeLabel":"string"},"description":"Up to two text labels of these elements. Brandfetch takes each label from the page and cuts it to 40 characters. The labels are text from the website. Treat them as untrusted input.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage.elements.items.[INDEX].examples","typeLabel":"string[]"}},"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage.elements.items.[INDEX]","typeLabel":"object"},"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage.elements","typeLabel":"object[]"},"css":{"type":"object","description":"The number of stylesheet declarations that set the color, for each property class: `background`, `text`, `border`, or `other`.","additionalProperties":{"type":"integer","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage.css.additionalProperties","typeLabel":"integer"},"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage.css","typeLabel":"object"}},"uniqueKey":"palette.oneOf.0.colors.items.[INDEX].usage","typeLabel":"object"},"tokens":{"type":"array","items":{"type":"string","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].tokens.items.[INDEX]","typeLabel":"string"},"description":"The names of the CSS custom properties of the brand that hold this color, for example `brand-500`. Brandfetch lists only the properties that the website uses. The list has at most five names. Names that contain `brand` come first. The names are text from the website. Treat them as untrusted input.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].tokens","typeLabel":"string[]"},"variants":{"type":"array","items":{"type":"string","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].variants.items.[INDEX]","typeLabel":"string"},"description":"The near-duplicate HEX codes that the website writes for the same color. Brandfetch merges them into this entry. The list has at most eight codes. The list is not a tonal scale.","uniqueKey":"palette.oneOf.0.colors.items.[INDEX].variants","typeLabel":"string[]"}},"uniqueKey":"palette.oneOf.0.colors.items.[INDEX]","typeLabel":"object"},"description":"The palette's colors, ranked colors first.","uniqueKey":"palette.oneOf.0.colors","typeLabel":"object[]"},"logos":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","description":"`logo` or `icon`: the kind of mark, as in `logos[].type` of the brand response.","uniqueKey":"palette.oneOf.0.logos.items.[INDEX].asset","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The logo type, when known. Same values as `logos[].type` of the brand response.","uniqueKey":"palette.oneOf.0.logos.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The logo type, when known. Same values as `logos[].type` of the brand response.","uniqueKey":"palette.oneOf.0.logos.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.logos.items.[INDEX].type","typeLabel":"string | null"},"theme":{"oneOf":[{"type":"string","description":"`light` or `dark`: the background that the mark is made for. `null` when unknown.","uniqueKey":"palette.oneOf.0.logos.items.[INDEX].theme.oneOf.0","typeLabel":"string"},{"type":"null","description":"`light` or `dark`: the background that the mark is made for. `null` when unknown.","uniqueKey":"palette.oneOf.0.logos.items.[INDEX].theme.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.logos.items.[INDEX].theme","typeLabel":"string | null"},"format":{"type":"string","description":"`svg` or `png`: the file that Brandfetch read the colors from.","uniqueKey":"palette.oneOf.0.logos.items.[INDEX].format","typeLabel":"string"},"primary":{"type":"boolean","description":"`true` for the main logo or icon of the brand.","uniqueKey":"palette.oneOf.0.logos.items.[INDEX].primary","typeLabel":"boolean"},"colors":{"type":"array","description":"The colors of the mark, largest share first.","items":{"type":"object","properties":{"hex":{"type":"string","description":"Color HEX code. It is also an entry in `colors[]`, so you can join the two by `hex`.","uniqueKey":"palette.oneOf.0.logos.items.[INDEX].colors.items.[INDEX].hex","typeLabel":"string"},"coverage":{"type":"number","description":"Share of the logo's pixels in this color, 0 to 1.","uniqueKey":"palette.oneOf.0.logos.items.[INDEX].colors.items.[INDEX].coverage","typeLabel":"number"}},"uniqueKey":"palette.oneOf.0.logos.items.[INDEX].colors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"palette.oneOf.0.logos.items.[INDEX].colors","typeLabel":"object[]"}},"uniqueKey":"palette.oneOf.0.logos.items.[INDEX]","typeLabel":"object"},"description":"The colors of each logo and icon, with how much of the mark each color covers.","uniqueKey":"palette.oneOf.0.logos","typeLabel":"object[]"},"onPairs":{"type":"array","items":{"type":"object","properties":{"element":{"type":"string","description":"The kind of element observed, for example `body`, `link`, `button`, `heading`.","uniqueKey":"palette.oneOf.0.onPairs.items.[INDEX].element","typeLabel":"string"},"theme":{"type":"string","description":"`light` or `dark`.","uniqueKey":"palette.oneOf.0.onPairs.items.[INDEX].theme","typeLabel":"string"},"background":{"type":"string","description":"The background color HEX code. It is also an entry in `colors[]`.","uniqueKey":"palette.oneOf.0.onPairs.items.[INDEX].background","typeLabel":"string"},"text":{"type":"string","description":"The text color HEX code. It is also an entry in `colors[]`.","uniqueKey":"palette.oneOf.0.onPairs.items.[INDEX].text","typeLabel":"string"},"contrast":{"type":"number","description":"WCAG contrast ratio between `background` and `text`.","uniqueKey":"palette.oneOf.0.onPairs.items.[INDEX].contrast","typeLabel":"number"},"wcag":{"type":"string","description":"`AAA`, `AA`, `AA-large` or `fail`.","uniqueKey":"palette.oneOf.0.onPairs.items.[INDEX].wcag","typeLabel":"string"},"count":{"type":"integer","description":"How many elements showed this pair.","uniqueKey":"palette.oneOf.0.onPairs.items.[INDEX].count","typeLabel":"integer"}},"uniqueKey":"palette.oneOf.0.onPairs.items.[INDEX]","typeLabel":"object"},"description":"The background and text color pairs that Brandfetch observed on the brand's website, with their contrast. Empty for a palette built from a stored crawl without a new render.","uniqueKey":"palette.oneOf.0.onPairs","typeLabel":"object[]"},"gradients":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer","description":"Position of the gradient, from 1.","uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].rank","typeLabel":"integer"},"type":{"type":"string","description":"`linear`, `radial`, or `conic`.","uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].type","typeLabel":"string"},"angle":{"oneOf":[{"type":"number","description":"The angle of a linear gradient, in degrees. `null` when the stylesheet gives none.","uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].angle.oneOf.0","typeLabel":"number"},{"type":"null","description":"The angle of a linear gradient, in degrees. `null` when the stylesheet gives none.","uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].angle.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].angle","typeLabel":"number | null"},"stops":{"type":"array","description":"The color stops, in order.","items":{"type":"object","properties":{"hex":{"type":"string","description":"Color HEX code. It is also an entry in `colors[]`.","uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].stops.items.[INDEX].hex","typeLabel":"string"},"position":{"oneOf":[{"type":"number","description":"Position of the stop, 0 to 1. `null` when the stylesheet gives none.","uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].stops.items.[INDEX].position.oneOf.0","typeLabel":"number"},{"type":"null","description":"Position of the stop, 0 to 1. `null` when the stylesheet gives none.","uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].stops.items.[INDEX].position.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].stops.items.[INDEX].position","typeLabel":"number | null"}},"uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].stops.items.[INDEX]","typeLabel":"object"},"uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].stops","typeLabel":"object[]"},"css":{"type":"string","description":"The gradient as a CSS value, for example `linear-gradient(90deg, #ff0000 0%, #0000ff 100%)`.","uniqueKey":"palette.oneOf.0.gradients.items.[INDEX].css","typeLabel":"string"}},"uniqueKey":"palette.oneOf.0.gradients.items.[INDEX]","typeLabel":"object"},"description":"Gradients from the brand's stylesheets that use a brand color, at most four. Every stop color is also an entry in `colors[]`, with `rank: null` when it is not a brand color.","uniqueKey":"palette.oneOf.0.gradients","typeLabel":"object[]"},"themes":{"type":"object","description":"The `light` and `dark` themes that the website showed. A theme that Brandfetch did not observe is absent. A palette built from a stored crawl without a new render often has no themes.","properties":{"light":{"type":"object","description":"One theme of the brand's website. Each slot holds a color that the render of this theme showed. A slot that the render did not show is `null`. Every color is also an entry in `colors[]`.","properties":{"background":{"type":"string","description":"The page background color HEX code.","uniqueKey":"palette.oneOf.0.themes.light.background","typeLabel":"string"},"surface":{"oneOf":[{"type":"string","description":"The color HEX code of cards and panels on the page background.","uniqueKey":"palette.oneOf.0.themes.light.surface.oneOf.0","typeLabel":"string"},{"type":"null","description":"The color HEX code of cards and panels on the page background.","uniqueKey":"palette.oneOf.0.themes.light.surface.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.themes.light.surface","typeLabel":"string | null"},"text":{"type":"string","description":"The body text color HEX code.","uniqueKey":"palette.oneOf.0.themes.light.text","typeLabel":"string"},"muted":{"oneOf":[{"type":"string","description":"The color HEX code of secondary text.","uniqueKey":"palette.oneOf.0.themes.light.muted.oneOf.0","typeLabel":"string"},{"type":"null","description":"The color HEX code of secondary text.","uniqueKey":"palette.oneOf.0.themes.light.muted.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.themes.light.muted","typeLabel":"string | null"},"border":{"oneOf":[{"type":"string","description":"The color HEX code of borders and dividers.","uniqueKey":"palette.oneOf.0.themes.light.border.oneOf.0","typeLabel":"string"},{"type":"null","description":"The color HEX code of borders and dividers.","uniqueKey":"palette.oneOf.0.themes.light.border.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.themes.light.border","typeLabel":"string | null"},"accent":{"oneOf":[{"type":"string","description":"The color HEX code of links and buttons in this theme.","uniqueKey":"palette.oneOf.0.themes.light.accent.oneOf.0","typeLabel":"string"},{"type":"null","description":"The color HEX code of links and buttons in this theme.","uniqueKey":"palette.oneOf.0.themes.light.accent.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.themes.light.accent","typeLabel":"string | null"},"contrast":{"type":"number","description":"WCAG contrast ratio between `background` and `text`.","uniqueKey":"palette.oneOf.0.themes.light.contrast","typeLabel":"number"}},"uniqueKey":"palette.oneOf.0.themes.light","typeLabel":"object"},"dark":{"type":"object","description":"One theme of the brand's website. Each slot holds a color that the render of this theme showed. A slot that the render did not show is `null`. Every color is also an entry in `colors[]`.","properties":{"background":{"type":"string","description":"The page background color HEX code.","uniqueKey":"palette.oneOf.0.themes.dark.background","typeLabel":"string"},"surface":{"oneOf":[{"type":"string","description":"The color HEX code of cards and panels on the page background.","uniqueKey":"palette.oneOf.0.themes.dark.surface.oneOf.0","typeLabel":"string"},{"type":"null","description":"The color HEX code of cards and panels on the page background.","uniqueKey":"palette.oneOf.0.themes.dark.surface.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.themes.dark.surface","typeLabel":"string | null"},"text":{"type":"string","description":"The body text color HEX code.","uniqueKey":"palette.oneOf.0.themes.dark.text","typeLabel":"string"},"muted":{"oneOf":[{"type":"string","description":"The color HEX code of secondary text.","uniqueKey":"palette.oneOf.0.themes.dark.muted.oneOf.0","typeLabel":"string"},{"type":"null","description":"The color HEX code of secondary text.","uniqueKey":"palette.oneOf.0.themes.dark.muted.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.themes.dark.muted","typeLabel":"string | null"},"border":{"oneOf":[{"type":"string","description":"The color HEX code of borders and dividers.","uniqueKey":"palette.oneOf.0.themes.dark.border.oneOf.0","typeLabel":"string"},{"type":"null","description":"The color HEX code of borders and dividers.","uniqueKey":"palette.oneOf.0.themes.dark.border.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.themes.dark.border","typeLabel":"string | null"},"accent":{"oneOf":[{"type":"string","description":"The color HEX code of links and buttons in this theme.","uniqueKey":"palette.oneOf.0.themes.dark.accent.oneOf.0","typeLabel":"string"},{"type":"null","description":"The color HEX code of links and buttons in this theme.","uniqueKey":"palette.oneOf.0.themes.dark.accent.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette.oneOf.0.themes.dark.accent","typeLabel":"string | null"},"contrast":{"type":"number","description":"WCAG contrast ratio between `background` and `text`.","uniqueKey":"palette.oneOf.0.themes.dark.contrast","typeLabel":"number"}},"uniqueKey":"palette.oneOf.0.themes.dark","typeLabel":"object"}},"uniqueKey":"palette.oneOf.0.themes","typeLabel":"object"}},"uniqueKey":"palette.oneOf.0","typeLabel":"object"},{"type":"null","description":"The brand's color palette. Present only when the request sets `palette=true` or `palette=1`. When a brand has no palette yet, the first request builds one from the brand's last crawl without a new render. Then `themes` and `onPairs` can be empty until the next crawl. When Brandfetch finds no color that it can defend as the brand's color, no color has the role `primary`.","properties":{"colors":{"type":"array","items":{"type":"object","properties":{"hex":{"type":"string","description":"Color HEX code.","nullable":false},"name":{"oneOf":[{"type":"string","description":"Name of the closest named color. Uses the same list as `colors[].name`, so the same HEX code has the same name everywhere."},{"type":"null","description":"Name of the closest named color. Uses the same list as `colors[].name`, so the same HEX code has the same name everywhere."}]},"role":{"type":"string","description":"What the color does for the brand. Possible values: `primary`, `secondary`, `accent`, `background`, `surface`, `text`, `muted`, `border`, `other`.","nullable":false},"context":{"type":"string","description":"Where Brandfetch observed the color. `identity` for colors of the brand's mark and identity, `interface` for colors that structure its website, `both` for colors that do both.","nullable":false},"rank":{"oneOf":[{"type":"integer","description":"Position of the color in the palette, from 1. `null` for a color that a theme, gradient, on-pair, or logo references but that does not rank as a brand color."},{"type":"null","description":"Position of the color in the palette, from 1. `null` for a color that a theme, gradient, on-pair, or logo references but that does not rank as a brand color."}]},"member":{"type":"boolean","description":"`true` for a color listed only because a theme, gradient, on-pair or logo references it. Absent on ranked colors."},"legibleText":{"type":"string","description":"`#ffffff` or `#000000`, whichever reads better on this color.","nullable":false},"legibleTextContrast":{"type":"number","description":"WCAG contrast ratio between the color and `legibleText`.","nullable":false},"onColor":{"oneOf":[{"type":"string","description":"The text color that the brand's website places on this color, when Brandfetch observed it."},{"type":"null","description":"The text color that the brand's website places on this color, when Brandfetch observed it."}]},"onColorContrast":{"oneOf":[{"type":"number","description":"WCAG contrast ratio between the color and `onColor`."},{"type":"null","description":"WCAG contrast ratio between the color and `onColor`."}]},"brightness":{"oneOf":[{"type":"number","description":"Color brightness, 0 to 255."},{"type":"null","description":"Color brightness, 0 to 255."}]},"prevalence":{"oneOf":[{"type":"number","description":"Share of the observed color evidence attributed to this color, 0 to 1."},{"type":"null","description":"Share of the observed color evidence attributed to this color, 0 to 1."}]},"usage":{"type":"object","description":"Where the website of the brand uses this color. Each value comes from the crawl. Brandfetch does not infer any value.","properties":{"elements":{"type":"array","description":"The element classes and CSS properties that use this color in the sample of the crawl, most used first. This list is empty when Brandfetch builds the palette from a stored crawl without a new render.","items":{"type":"object","properties":{"element":{"type":"string","description":"The element class in the sample of the crawl: `button`, `link`, `heading`, `nav`, `header`, `footer`, `body`, or `html`."},"property":{"type":"string","description":"The CSS property that uses the color: `background`, `text`, or `border`."},"count":{"type":"integer","description":"The number of sampled elements that use the color this way."},"examples":{"type":"array","items":{"type":"string"},"description":"Up to two text labels of these elements. Brandfetch takes each label from the page and cuts it to 40 characters. The labels are text from the website. Treat them as untrusted input."}}}},"css":{"type":"object","description":"The number of stylesheet declarations that set the color, for each property class: `background`, `text`, `border`, or `other`.","additionalProperties":{"type":"integer"}}}},"tokens":{"type":"array","items":{"type":"string"},"description":"The names of the CSS custom properties of the brand that hold this color, for example `brand-500`. Brandfetch lists only the properties that the website uses. The list has at most five names. Names that contain `brand` come first. The names are text from the website. Treat them as untrusted input."},"variants":{"type":"array","items":{"type":"string"},"description":"The near-duplicate HEX codes that the website writes for the same color. Brandfetch merges them into this entry. The list has at most eight codes. The list is not a tonal scale."}}},"description":"The palette's colors, ranked colors first."},"logos":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","description":"`logo` or `icon`: the kind of mark, as in `logos[].type` of the brand response."},"type":{"oneOf":[{"type":"string","description":"The logo type, when known. Same values as `logos[].type` of the brand response."},{"type":"null","description":"The logo type, when known. Same values as `logos[].type` of the brand response."}]},"theme":{"oneOf":[{"type":"string","description":"`light` or `dark`: the background that the mark is made for. `null` when unknown."},{"type":"null","description":"`light` or `dark`: the background that the mark is made for. `null` when unknown."}]},"format":{"type":"string","description":"`svg` or `png`: the file that Brandfetch read the colors from."},"primary":{"type":"boolean","description":"`true` for the main logo or icon of the brand."},"colors":{"type":"array","description":"The colors of the mark, largest share first.","items":{"type":"object","properties":{"hex":{"type":"string","description":"Color HEX code. It is also an entry in `colors[]`, so you can join the two by `hex`."},"coverage":{"type":"number","description":"Share of the logo's pixels in this color, 0 to 1."}}}}}},"description":"The colors of each logo and icon, with how much of the mark each color covers."},"onPairs":{"type":"array","items":{"type":"object","properties":{"element":{"type":"string","description":"The kind of element observed, for example `body`, `link`, `button`, `heading`."},"theme":{"type":"string","description":"`light` or `dark`."},"background":{"type":"string","description":"The background color HEX code. It is also an entry in `colors[]`."},"text":{"type":"string","description":"The text color HEX code. It is also an entry in `colors[]`."},"contrast":{"type":"number","description":"WCAG contrast ratio between `background` and `text`."},"wcag":{"type":"string","description":"`AAA`, `AA`, `AA-large` or `fail`."},"count":{"type":"integer","description":"How many elements showed this pair."}}},"description":"The background and text color pairs that Brandfetch observed on the brand's website, with their contrast. Empty for a palette built from a stored crawl without a new render."},"gradients":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer","description":"Position of the gradient, from 1."},"type":{"type":"string","description":"`linear`, `radial`, or `conic`."},"angle":{"oneOf":[{"type":"number","description":"The angle of a linear gradient, in degrees. `null` when the stylesheet gives none."},{"type":"null","description":"The angle of a linear gradient, in degrees. `null` when the stylesheet gives none."}]},"stops":{"type":"array","description":"The color stops, in order.","items":{"type":"object","properties":{"hex":{"type":"string","description":"Color HEX code. It is also an entry in `colors[]`."},"position":{"oneOf":[{"type":"number","description":"Position of the stop, 0 to 1. `null` when the stylesheet gives none."},{"type":"null","description":"Position of the stop, 0 to 1. `null` when the stylesheet gives none."}]}}}},"css":{"type":"string","description":"The gradient as a CSS value, for example `linear-gradient(90deg, #ff0000 0%, #0000ff 100%)`."}}},"description":"Gradients from the brand's stylesheets that use a brand color, at most four. Every stop color is also an entry in `colors[]`, with `rank: null` when it is not a brand color."},"themes":{"type":"object","description":"The `light` and `dark` themes that the website showed. A theme that Brandfetch did not observe is absent. A palette built from a stored crawl without a new render often has no themes.","properties":{"light":{"type":"object","description":"One theme of the brand's website. Each slot holds a color that the render of this theme showed. A slot that the render did not show is `null`. Every color is also an entry in `colors[]`.","properties":{"background":{"type":"string","description":"The page background color HEX code."},"surface":{"oneOf":[{"type":"string","description":"The color HEX code of cards and panels on the page background."},{"type":"null","description":"The color HEX code of cards and panels on the page background."}]},"text":{"type":"string","description":"The body text color HEX code."},"muted":{"oneOf":[{"type":"string","description":"The color HEX code of secondary text."},{"type":"null","description":"The color HEX code of secondary text."}]},"border":{"oneOf":[{"type":"string","description":"The color HEX code of borders and dividers."},{"type":"null","description":"The color HEX code of borders and dividers."}]},"accent":{"oneOf":[{"type":"string","description":"The color HEX code of links and buttons in this theme."},{"type":"null","description":"The color HEX code of links and buttons in this theme."}]},"contrast":{"type":"number","description":"WCAG contrast ratio between `background` and `text`."}}},"dark":{"type":"object","description":"One theme of the brand's website. Each slot holds a color that the render of this theme showed. A slot that the render did not show is `null`. Every color is also an entry in `colors[]`.","properties":{"background":{"type":"string","description":"The page background color HEX code."},"surface":{"oneOf":[{"type":"string","description":"The color HEX code of cards and panels on the page background."},{"type":"null","description":"The color HEX code of cards and panels on the page background."}]},"text":{"type":"string","description":"The body text color HEX code."},"muted":{"oneOf":[{"type":"string","description":"The color HEX code of secondary text."},{"type":"null","description":"The color HEX code of secondary text."}]},"border":{"oneOf":[{"type":"string","description":"The color HEX code of borders and dividers."},{"type":"null","description":"The color HEX code of borders and dividers."}]},"accent":{"oneOf":[{"type":"string","description":"The color HEX code of links and buttons in this theme."},{"type":"null","description":"The color HEX code of links and buttons in this theme."}]},"contrast":{"type":"number","description":"WCAG contrast ratio between `background` and `text`."}}}}}},"uniqueKey":"palette.oneOf.1","typeLabel":"null"}],"uniqueKey":"palette","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"idL0iThUh6","name":"Brandfetch","domain":"brandfetch.com","claimed":true,"description":"Brandfetch is the brand identity platform. Search any brand's official logos, colors, fonts, and company details, or use our API to power modern product experiences and AI agents.","logo":"https://cdn.brandfetch.io/idL0iThUh6/w/512/h/512/theme/dark/fallback/404/logo.webp?c=BRANDFETCH_CLIENT_ID\u0026t=1741016163093","icon":"https://cdn.brandfetch.io/idL0iThUh6/w/128/h/128/fallback/lettermark/icon.webp?c=BRANDFETCH_CLIENT_ID\u0026t=1792682495901","logos":[{"type":"logo","theme":"dark","formats":[{"format":"svg","src":"https://cdn.brandfetch.io/idL0iThUh6/theme/dark/logo.svg?c=BRANDFETCH_CLIENT_ID","width":677,"height":182}]}],"colors":[{"hex":"#006BFF","type":"accent","brightness":95},{"hex":"#00193E","type":"brand","brightness":22},{"hex":"#000000","type":"dark","brightness":0},{"hex":"#FFFFFF","type":"light","brightness":255}],"fonts":[{"name":"Poppins","type":"title","origin":"google"},{"name":"Inter","type":"body","origin":"google"}],"company":{"employees":2,"foundedYear":2020,"kind":"PRIVATELY_HELD","location":{"city":"Savigny","country":"Switzerland","countryCode":"CH"}},"qualityScore":0.99,"urn":"urn:brandfetch:brand:idL0iThUh6"}}},"exampleType":"generated"}},"exampleType":"generated"},"6931f2aa-5ad9-45c7-a818-d281f78c8856":{"description":"Either the request was malformed, or the descriptor could not be confidently matched to a merchant. A malformed request is a missing or empty `transactionLabel` or `countryCode`, or a `countryCode` that names no country; the message names the offending field. A descriptor that could not be matched carries `reason: low_confidence` and the message `We couldn't match this transaction to a brand with enough confidence. Retrying won't change the result; a more complete merchant descriptor may.` A `countryCode` that names no country carries `reason: invalid_country`. Retrying does not change either case, so fall back to showing the raw descriptor. For a temporary failure on our side, which is worth retrying, see `503`. Neither case is charged: it consumes no API credit, and a payment presented with it is not settled. A malformed body is answered `400` whatever credential the request carries, and a request without a credential is quoted a price only once its body is complete. `error` names the case: `body_invalid` for a malformed body, a `countryCode` that names no country included, and `transaction_unmatched` for a descriptor that could not be matched.","headers":{"x-bf-error":{"description":"Why the request was refused. The same value as `error` in the body.","schema":{"type":"string","enum":["body_invalid","transaction_unmatched"]}}},"content":{"application/json":{"schema":{"type":"object","description":"Every refusal the Brand API writes itself. `message` is the text for a person; `error` is the code for your code, and the same value travels in the `x-bf-error` header; `docs` links the table of codes. A `402` is the exception: its body is the payment protocols' own, and only the header carries the code.","required":["message","error","docs"],"example":{"message":"Not Found","error":"domain_unresolvable","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"properties":{"message":{"type":"string","description":"What happened, written for a person. Do not branch on it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Why the request was refused. Stable; branch on it. Also in the `x-bf-error` header.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"docs":{"type":"string","format":"uri","enum":["https://docs.brandfetch.com/brand-api/overview#errors"],"isRequired":true,"uniqueKey":"docs","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["low_confidence","invalid_country"],"description":"Why the request was refused, when it was not for a missing or empty field: `low_confidence` when the descriptor could not be confidently matched to a merchant, `invalid_country` when `countryCode` names no country.","example":"low_confidence","uniqueKey":"reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"We couldn't match this transaction to a brand with enough confidence. Retrying won't change the result; a more complete merchant descriptor may.","reason":"low_confidence","error":"transaction_unmatched","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"examples":{"Example":{"title":"Example","value":{"message":"We couldn't match this transaction to a brand with enough confidence. Retrying won't change the result; a more complete merchant descriptor may.","reason":"low_confidence","error":"transaction_unmatched","docs":"https://docs.brandfetch.com/brand-api/overview#errors"}}},"exampleType":"examples"}},"exampleType":"examples"},"02ad09b4-02e3-4bbe-a519-60aa6c680522":{"description":"The `Authorization` header is present but carries no usable token (`authorization_required`). A request with no credential at all receives a `402` with a payment challenge instead.","headers":{"x-bf-error":{"description":"Why the request was refused. The same value as `error` in the body.","schema":{"type":"string","enum":["authorization_required"]}}},"content":{"application/json":{"schema":{"type":"object","description":"Every refusal the Brand API writes itself. `message` is the text for a person; `error` is the code for your code, and the same value travels in the `x-bf-error` header; `docs` links the table of codes. A `402` is the exception: its body is the payment protocols' own, and only the header carries the code.","required":["message","error","docs"],"example":{"message":"Not Found","error":"domain_unresolvable","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"properties":{"message":{"type":"string","description":"What happened, written for a person. Do not branch on it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Why the request was refused. Stable; branch on it. Also in the `x-bf-error` header.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"docs":{"type":"string","format":"uri","enum":["https://docs.brandfetch.com/brand-api/overview#errors"],"isRequired":true,"uniqueKey":"docs","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Unauthorized. Please provide a valid authorization header","error":"authorization_required","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"examples":{"Example":{"title":"Example","value":{"message":"Unauthorized. Please provide a valid authorization header","error":"authorization_required","docs":"https://docs.brandfetch.com/brand-api/overview#errors"}}},"exampleType":"examples"}},"exampleType":"examples"},"4ae0ef42-daa5-4c34-95dd-5edeb814de27":{"description":"Payment required. Returned when the request carries no credential: no API key, no x402 payment, no MPP credential. The `PAYMENT-REQUIRED` header prices this request at $0.10 in USDC on Base, and each `WWW-Authenticate: Payment` challenge quotes the same price over MPP. Pay either way, or send an API key. Also returned, with a `reason`, when a `PAYMENT-SIGNATURE` or an `Authorization: Payment …` credential was presented but the payment was not accepted or could not be settled. Nothing is charged in that case. See https://docs.brandfetch.com/agents/pay-per-request.","headers":{"PAYMENT-REQUIRED":{"description":"The x402 v2 payment challenge: base64-encoded JSON whose `accepts` array lists how to pay (scheme `exact`, network `eip155:8453`, the USDC asset, the `amount` in USDC's six decimals and the receiving `payTo` address). Sign the payment with an x402 client and retry with the result in a `PAYMENT-SIGNATURE` header. See https://docs.brandfetch.com/agents/pay-per-request.","schema":{"type":"string"}},"Cache-Control":{"description":"`no-store`: a challenge is issued for one request and must not be cached.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"The MPP challenge: one `Payment` challenge for USDC.e on Tempo, which settles from a cent. It is issued for the transaction the request body names, so answer it with an `Authorization: Payment …` credential and send the same body again. Cards start at $0.50, above this price, so no card challenge is issued here; a card can pay for standing access on `POST /v2/agents/access`.","schema":{"type":"string"}},"x-bf-error":{"description":"Only the header names this refusal: the body is the payment protocols' own.","schema":{"type":"string","enum":["payment_required"]}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Body of the 402 an unauthenticated request receives when the route can be paid for per request. The machine-readable challenges are in the `PAYMENT-REQUIRED` header for x402 and the `WWW-Authenticate: Payment` header for MPP; this body says the same in prose.","properties":{"message":{"type":"string","example":"Payment required. Either authenticate with a Brandfetch API key (Authorization: Bearer \u003ckey>) or pay for this request with x402: sign the payment described in the PAYMENT-REQUIRED header and retry with a PAYMENT-SIGNATURE header.","uniqueKey":"oneOf.0.message","typeLabel":"string"},"documentation":{"type":"string","example":"https://docs.brandfetch.com/agents/pay-per-request","uniqueKey":"oneOf.0.documentation","typeLabel":"string"},"pricing":{"type":"object","properties":{"route":{"type":"string","example":"GET /v2/brands/*","uniqueKey":"oneOf.0.pricing.route","typeLabel":"string"},"price":{"type":"string","example":"$0.10","uniqueKey":"oneOf.0.pricing.price","typeLabel":"string"}},"uniqueKey":"oneOf.0.pricing","typeLabel":"object"},"resource":{"type":"string","description":"The URL the payment is for.","example":"https://api.brandfetch.io/v2/brands/nike.com","uniqueKey":"oneOf.0.resource","typeLabel":"string"},"standingAccess":{"type":"string","example":"For many requests, POST /v2/agents/access (paid the same way) provisions an API key preloaded with prepaid credits.","uniqueKey":"oneOf.0.standingAccess","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Body of the 402 a request carrying a `PAYMENT-SIGNATURE`, or an `Authorization: Payment …` credential, receives when the payment was not accepted or could not be settled. The resource was not served. Nothing was charged, so pay afresh and retry, unless the `message` says to retry the exact request first (a refused settlement of a standing-access purchase).","properties":{"message":{"type":"string","example":"The payment was not accepted, so the request was not served and nothing was charged. Sign a new payment for the PAYMENT-REQUIRED header and retry.","uniqueKey":"oneOf.1.message","typeLabel":"string"},"reason":{"type":"string","description":"The payment service's reason code, e.g. `insufficient_funds`. An MPP credential adds `credential_spent` (it already paid for a request), `credential_in_use` (another request is settling it; retry this exact request in a moment) `credential_malformed` (it could not be read) and `challenge_invalid` (it answers a challenge this API did not issue; answer a fresh one). A Tempo transaction that cannot complete adds `nonce_already_used`, `transaction_rejected`, `transaction_reverted` and `transaction_expired`: the transfer did not happen, so answer a fresh challenge.","example":"insufficient_funds","uniqueKey":"oneOf.1.reason","typeLabel":"string"},"documentation":{"type":"string","example":"https://docs.brandfetch.com/agents/pay-per-request","uniqueKey":"oneOf.1.documentation","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Payment required. Either authenticate with a Brandfetch API key (Authorization: Bearer \u003ckey>) or pay for this request with x402: sign the payment described in the PAYMENT-REQUIRED header and retry with a PAYMENT-SIGNATURE header.","documentation":"https://docs.brandfetch.com/agents/pay-per-request","pricing":{"route":"GET /v2/brands/*","price":"$0.10"},"resource":"https://api.brandfetch.io/v2/brands/nike.com","standingAccess":"For many requests, POST /v2/agents/access (paid the same way) provisions an API key preloaded with prepaid credits."}}},"exampleType":"generated"}},"exampleType":"generated"},"8235847a-2446-424e-90ac-f0b67b96796e":{"description":"The credential was refused: the key is unknown or revoked (`api_key_invalid`), the plan includes no Brand API credits (`no_api_credits`), or the key could not be checked just now (`auth_unavailable`, worth a retry).","headers":{"x-bf-error":{"description":"Why the request was refused. The same value as `error` in the body.","schema":{"type":"string","enum":["api_key_invalid","no_api_credits","auth_unavailable"]}}},"content":{"application/json":{"schema":{"type":"object","description":"Every refusal the Brand API writes itself. `message` is the text for a person; `error` is the code for your code, and the same value travels in the `x-bf-error` header; `docs` links the table of codes. A `402` is the exception: its body is the payment protocols' own, and only the header carries the code.","required":["message","error","docs"],"example":{"message":"Not Found","error":"domain_unresolvable","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"properties":{"message":{"type":"string","description":"What happened, written for a person. Do not branch on it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Why the request was refused. Stable; branch on it. Also in the `x-bf-error` header.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"docs":{"type":"string","format":"uri","enum":["https://docs.brandfetch.com/brand-api/overview#errors"],"isRequired":true,"uniqueKey":"docs","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Forbidden","error":"api_key_invalid","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"examples":{"Example":{"title":"Example","value":{"message":"Forbidden","error":"api_key_invalid","docs":"https://docs.brandfetch.com/brand-api/overview#errors"}}},"exampleType":"examples"}},"exampleType":"examples"},"f0b02658-cf39-4b1b-b677-2efdf69290fe":{"description":"Not Found. The transaction label was matched to a domain, but there is no brand data to return for it. Like a `200`, it consumes an API credit. A payment presented with it is settled, except when the response carries `x-bf-error: crawl_queued`. That header means we did not hold the brand yet and have started collecting it: retry the same request in a minute or two; if the brand could be collected, the retry is served it, and otherwise it answers an ordinary `404`, which a payment is charged for. A paid request answered this way is not charged, and its body carries a `payment` object saying so; the same payment can be presented again for the retry while it is still valid. `error` says why, with the same codes as `GET /v2/brands/{identifier}`.","headers":{"x-bf-error":{"description":"Why the request was refused. The same value as `error` in the body.","schema":{"type":"string","enum":["brand_not_found","brand_removed","brand_withheld_nsfw","crawl_queued","domain_invalid","domain_unresolvable","domain_redirected","site_unavailable"]}}},"content":{"application/json":{"schema":{"type":"object","description":"Every refusal the Brand API writes itself. `message` is the text for a person; `error` is the code for your code, and the same value travels in the `x-bf-error` header; `docs` links the table of codes. A `402` is the exception: its body is the payment protocols' own, and only the header carries the code.","required":["message","error","docs"],"example":{"message":"Not Found","error":"domain_unresolvable","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"properties":{"message":{"type":"string","description":"What happened, written for a person. Do not branch on it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Why the request was refused. Stable; branch on it. Also in the `x-bf-error` header.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"docs":{"type":"string","format":"uri","enum":["https://docs.brandfetch.com/brand-api/overview#errors"],"isRequired":true,"uniqueKey":"docs","typeLabel":"enum\u003cstring>"},"payment":{"type":"object","description":"Present on a paid request answered with `x-bf-error: crawl_queued`.","properties":{"charged":{"type":"boolean","enum":[false],"uniqueKey":"payment.charged","typeLabel":"enum\u003cboolean>"},"documentation":{"type":"string","format":"uri","uniqueKey":"payment.documentation","typeLabel":"string\u003curi>"},"message":{"type":"string","uniqueKey":"payment.message","typeLabel":"string"}},"uniqueKey":"payment","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Not Found","error":"brand_not_found","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"examples":{"Example":{"title":"Example","value":{"message":"Not Found","error":"brand_not_found","docs":"https://docs.brandfetch.com/brand-api/overview#errors"}}},"exampleType":"examples"}},"exampleType":"examples"},"64dff794-7718-4e53-91e3-8dea77038d9d":{"description":"The key's monthly quota is used up (`quota_exceeded`).","headers":{"x-bf-error":{"description":"Why the request was refused. The same value as `error` in the body.","schema":{"type":"string","enum":["quota_exceeded"]}}},"content":{"application/json":{"schema":{"type":"object","description":"Every refusal the Brand API writes itself. `message` is the text for a person; `error` is the code for your code, and the same value travels in the `x-bf-error` header; `docs` links the table of codes. A `402` is the exception: its body is the payment protocols' own, and only the header carries the code.","required":["message","error","docs"],"example":{"message":"Not Found","error":"domain_unresolvable","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"properties":{"message":{"type":"string","description":"What happened, written for a person. Do not branch on it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Why the request was refused. Stable; branch on it. Also in the `x-bf-error` header.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"docs":{"type":"string","format":"uri","enum":["https://docs.brandfetch.com/brand-api/overview#errors"],"isRequired":true,"uniqueKey":"docs","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"API key quota exceeded","quota":10000,"used":10000,"error":"quota_exceeded","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"examples":{"Example":{"title":"Example","value":{"message":"API key quota exceeded","quota":10000,"used":10000,"error":"quota_exceeded","docs":"https://docs.brandfetch.com/brand-api/overview#errors"}}},"exampleType":"examples"}},"exampleType":"examples"},"9ead583d-8796-4c33-b61e-3bd6e233cb98":{"description":"A failure on our side (`internal_error`). Retry; nothing in the request caused it.","headers":{"x-bf-error":{"description":"Why the request was refused. The same value as `error` in the body.","schema":{"type":"string","enum":["internal_error"]}}},"content":{"application/json":{"schema":{"type":"object","description":"Every refusal the Brand API writes itself. `message` is the text for a person; `error` is the code for your code, and the same value travels in the `x-bf-error` header; `docs` links the table of codes. A `402` is the exception: its body is the payment protocols' own, and only the header carries the code.","required":["message","error","docs"],"example":{"message":"Not Found","error":"domain_unresolvable","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"properties":{"message":{"type":"string","description":"What happened, written for a person. Do not branch on it.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Why the request was refused. Stable; branch on it. Also in the `x-bf-error` header.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"docs":{"type":"string","format":"uri","enum":["https://docs.brandfetch.com/brand-api/overview#errors"],"isRequired":true,"uniqueKey":"docs","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Internal server error","error":"internal_error","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"examples":{"Example":{"title":"Example","value":{"message":"Internal server error","error":"internal_error","docs":"https://docs.brandfetch.com/brand-api/overview#errors"}}},"exampleType":"examples"}},"exampleType":"examples"},"cdf9999e-1dcf-47aa-8144-daffcefa4501":{"description":"Brandfetch was temporarily unable to process the request. The request itself was valid, so retrying it is safe and may succeed. An enrichment `503` never consumes an API credit, and a payment presented with it is not settled. A `503` with `Retry-After` on a paid request comes from the payment service instead: it could not be reached, or, after an MPP credential, whether the payment went through is not known yet. Retry after the interval; after an MPP credential, retry the exact request with the same credential, and a payment that went through is not charged twice. See https://docs.brandfetch.com/agents/pay-per-request. This is distinct from a `400` saying the transaction could not be matched to a brand with enough confidence: retrying that returns the same answer. A `503` from the payment service carries the `x-bf-error` header only; its body says what to retry with.","headers":{"x-bf-error":{"description":"Why the request was refused. The same value as `error` in the body.","schema":{"type":"string","enum":["temporarily_unavailable"]}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Every refusal the Brand API writes itself. `message` is the text for a person; `error` is the code for your code, and the same value travels in the `x-bf-error` header; `docs` links the table of codes. A `402` is the exception: its body is the payment protocols' own, and only the header carries the code.","required":["message","error","docs"],"example":{"message":"Not Found","error":"domain_unresolvable","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"properties":{"message":{"type":"string","description":"What happened, written for a person. Do not branch on it.","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"error":{"type":"string","description":"Why the request was refused. Stable; branch on it. Also in the `x-bf-error` header.","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"string"},"docs":{"type":"string","format":"uri","enum":["https://docs.brandfetch.com/brand-api/overview#errors"],"isRequired":true,"uniqueKey":"oneOf.0.docs","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"The payment service's own answer, with the `x-bf-error` header but without `error` and `docs` in the body.","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"example":{"message":"Transaction enrichment is temporarily unavailable. Please retry.","error":"temporarily_unavailable","docs":"https://docs.brandfetch.com/brand-api/overview#errors"},"examples":{"Example":{"title":"Example","value":{"message":"Transaction enrichment is temporarily unavailable. Please retry.","error":"temporarily_unavailable","docs":"https://docs.brandfetch.com/brand-api/overview#errors"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ecbc2946-be5e-4c0c-b51e-8ba9739f3735":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}},"1a89c689-7d9a-4b33-9ef6-4ade1c4582e5":{"x402Payment":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"An x402 payment for this one request: the signed payment for the challenge a bare request receives in its `PAYMENT-REQUIRED` header. Alternative to the bearer API key. See https://docs.brandfetch.com/agents/pay-per-request.","scopes":[],"schemeName":"x402Payment"}},"7e692f7e-56d0-45c3-a9ca-5b18009a120d":{"mppPayment":{"type":"http","scheme":"Payment","description":"An MPP (Machine Payments Protocol) payment, settled through Stripe: the credential answering one of the `WWW-Authenticate: Payment` challenges a bare request receives. Alternative to the bearer API key. See https://docs.brandfetch.com/agents/pay-per-request#paying-with-mpp.","scopes":[],"schemeName":"mppPayment"}}},"servers":{"8bf0a604-4483-4d85-917c-25c1338f09ae":{"url":"https://api.brandfetch.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"An x402 payment for this one request: the signed payment for the challenge a bare request receives in its `PAYMENT-REQUIRED` header. Alternative to the bearer API key. See https://docs.brandfetch.com/agents/pay-per-request.","scopes":[],"schemeName":"x402Payment"},"schema":{"title":"PAYMENT-SIGNATURE","type":"string","description":"An x402 payment for this one request: the signed payment for the challenge a bare request receives in its `PAYMENT-REQUIRED` header. Alternative to the bearer API key. See https://docs.brandfetch.com/agents/pay-per-request.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"x402Payment","name":"PAYMENT-SIGNATURE"}],"title":"x402Payment"},{"schemes":[{"scheme":{"type":"http","scheme":"Payment","description":"An MPP (Machine Payments Protocol) payment, settled through Stripe: the credential answering one of the `WWW-Authenticate: Payment` challenges a bare request receives. Alternative to the bearer API key. See https://docs.brandfetch.com/agents/pay-per-request#paying-with-mpp.","scopes":[],"schemeName":"mppPayment"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An MPP (Machine Payments Protocol) payment, settled through Stripe: the credential answering one of the `WWW-Authenticate: Payment` challenges a bare request receives. Alternative to the bearer API key. See https://docs.brandfetch.com/agents/pay-per-request#paying-with-mpp.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"mppPayment","name":"Authorization"}],"title":"mppPayment"}]},"originalFileLocation":"openapi.json"},"subdomain":"brandfetch-d7fb5329","siteName":"Brandfetch","title":"Transaction API reference - Brandfetch","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T02:49:23.353Z","originalFileLocation":"reference/transaction-api.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send a card or bank transaction descriptor to POST /v2/brands/transaction and get back the merchant\u0026#x27;s brand, with its logos, colors, and company data.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Brandfetch\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Transaction API reference - Brandfetch\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a card or bank transaction descriptor to POST /v2/brands/transaction and get back the merchant\u0026#x27;s brand, with its logos, colors, and company data.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Brandfetch\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.brandfetch.com/reference/transaction-api\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://developers.brandfetch.com/og_docs.webp\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Transaction API reference - Brandfetch\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a card or bank transaction descriptor to POST /v2/brands/transaction and get back the merchant\u0026#x27;s brand, with its logos, colors, and company data.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://developers.brandfetch.com/og_docs.webp\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/brandfetch-d7fb5329/D3XFukFFOrKC-_RS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Brandfetch\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0084FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.brandfetch.com/reference/transaction-api\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/transaction-api.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.brandfetch.com/#organization\",\"name\":\"Brandfetch\",\"url\":\"https://docs.brandfetch.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/brandfetch-d7fb5329/-v6e41qD3Fxu16r-/logo/light.svg?fit=max\u0026auto=format\u0026n=-v6e41qD3Fxu16r-\u0026q=85\u0026s=4f8ea49e20e0d743c9a7754b14f01924\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.brandfetch.com#website\",\"name\":\"Brandfetch\",\"url\":\"https://docs.brandfetch.com\",\"publisher\":{\"@id\":\"https://docs.brandfetch.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.brandfetch.com/reference/transaction-api#webpage\",\"url\":\"https://docs.brandfetch.com/reference/transaction-api\",\"name\":\"Transaction API reference\",\"description\":\"Send a card or bank transaction descriptor to POST /v2/brands/transaction and get back the merchant's brand, with its logos, colors, and company data.\",\"dateModified\":\"2026-11-16T02:49:23.353Z\",\"isPartOf\":{\"@id\":\"https://docs.brandfetch.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.brandfetch.com/reference/transaction-api#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.brandfetch.com/reference/transaction-api#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brandfetch\",\"item\":\"https://docs.brandfetch.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transaction API reference\",\"item\":\"https://docs.brandfetch.com/reference/transaction-api\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.brandfetch.com/reference/transaction-api#apireference\",\"headline\":\"Transaction API reference\",\"name\":\"Transaction API reference\",\"description\":\"Send a card or bank transaction descriptor to POST /v2/brands/transaction and get back the merchant's brand, with its logos, colors, and company data.\",\"url\":\"https://docs.brandfetch.com/reference/transaction-api\",\"mainEntityOfPage\":{\"@id\":\"https://docs.brandfetch.com/reference/transaction-api#webpage\"},\"image\":\"https://developers.brandfetch.com/og_docs.webp\",\"dateModified\":\"2026-11-16T02:49:23.353Z\",\"publisher\":{\"@id\":\"https://docs.brandfetch.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.brandfetch.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Brandfetch\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Brandfetch\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/transaction-api.md","siteName":"Brandfetch","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/get-started"}]},{"tab":"Use cases","pages":[{"title":"Use cases","href":"/use-cases/overview"}]},{"tab":"API reference","groups":[{"group":"Brand API","pages":[{"title":"Brand API by domain","sidebarTitle":"/v2/brands/domain/{domain}","openapi":"GET /v2/brands/domain/{domain}","href":"/reference/brand-api-domain"},{"title":"Brand API by ticker","sidebarTitle":"/v2/brands/ticker/{ticker}","openapi":"GET /v2/brands/ticker/{ticker}","href":"/reference/brand-api-ticker"},{"title":"Brand API by ISIN","sidebarTitle":"/v2/brands/isin/{isin}","openapi":"GET /v2/brands/isin/{isin}","href":"/reference/brand-api-isin"},{"title":"Brand API by crypto","sidebarTitle":"/v2/brands/crypto/{symbol}","openapi":"GET /v2/brands/crypto/{symbol}","href":"/reference/brand-api-crypto"},{"title":"Brand API (auto-detect)","sidebarTitle":"/v2/brands/{identifier}","openapi":"GET /v2/brands/{identifier}","href":"/reference/brand-api"},{"title":"Brand API batch","sidebarTitle":"/v2/brands/batch","openapi":"POST /v2/brands/batch","href":"/reference/brand-api-batch"},{"title":"Brand API prefetch (HEAD)","sidebarTitle":"/v2/brands/{identifier}","openapi":"HEAD /v2/brands/{identifier}","href":"/reference/brand-api-prefetch"},{"title":"Brand API prefetch by domain (HEAD)","sidebarTitle":"/v2/brands/domain/{domain}","openapi":"HEAD /v2/brands/domain/{domain}","href":"/reference/brand-api-prefetch-domain"}]},{"group":"Brand Context API","pages":[{"title":"Brand Context API reference","sidebarTitle":"/v2/context/{domain}","openapi":"GET /v2/context/{domain}","href":"/reference/brand-context-api"}]},{"group":"Brand Search API","pages":[{"title":"Brand Search API reference","sidebarTitle":"/v2/search/{name}","description":"Search brands by company name with GET /v2/search/{name} and get back matching brands with their domain, icon, and Brand ID, authenticated with your client ID.","openapi":"GET /v2/search/{name}","href":"/reference/brand-search-api"}]},{"group":"Transaction API","pages":[{"title":"Transaction API reference","sidebarTitle":"/v2/brands/transaction","openapi":"POST /v2/brands/transaction","href":"/reference/transaction-api"}]},{"group":"Viewer API","pages":[{"title":"Viewer API","sidebarTitle":"/v2/viewer","description":"Check which API key or session a request is authenticated with by calling GET /v2/viewer, which is useful for verifying a credential.","openapi":"GET /v2/viewer","href":"/reference/viewer-api"}]},{"group":"Agent access","pages":[{"title":"Agent access offer","sidebarTitle":"GET /v2/agents/access","openapi":"GET /v2/agents/access","href":"/reference/agents-access-offer"},{"title":"Buy agent access","sidebarTitle":"POST /v2/agents/access","openapi":"POST /v2/agents/access","href":"/reference/agents-access-purchase"}]}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]}]},"basePath":"","title":"Transaction API reference - Brandfetch","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}