Cardmarks API returns raw payment marks, UI-ready themed SVGs, primary colors, and accessible theme metadata.
https://cardmark.aspekt.systems/visa?size=256&variant=brandhttps://cardmark.aspekt.systems/visa?size=256&variant=brand<img alt="visa card brand" src="https://cardmark.aspekt.systems/visa?size=256&variant=brand" width="256"/>Brand variant
Set variant=brand to get a complete 3:2 SVG surface with a curated background and a logo treatment selected for the brand. Multicolor marks stay multicolor where that is distinctive; monochrome treatments are used where they produce a cleaner, more legible card.
Primary brand color
Append /color to any brand or alias to get one representative primary color as an uppercase six-digit hex value in a plain-text response. For example, Visa returns #1434CB.
curl https://cardmark.aspekt.systems/visa/colorconst response = await fetch("https://cardmark.aspekt.systems/visa/color");const primaryColor = await response.text();Theme metadata
Append /theme to retrieve the curated background, an accessible foreground color, and the selected logo treatment as JSON. The background can differ from the primary color—for example, Mastercard uses its red as /color while its themed card uses a dark neutral surface behind the red and orange mark.
curl https://cardmark.aspekt.systems/visa/themeconst response = await fetch("https://cardmark.aspekt.systems/visa/theme");const theme = await response.json();// { background, foreground, logoVariant }Visa response
{ "background": "#1434CB", "foreground": "#FFFFFF", "logoVariant": "monochrome-light"}Look up cardmarks by canonical slug, brand name, or common alias. Matching ignores case, spaces, punctuation, hyphens, underscores, and diacritics. A trailing .svg is optional.
Card-network names, logos, and trademarks belong to their respective owners and are provided for identification only.
https://cardmark.aspekt.systems/visahttps://cardmark.aspekt.systems/visa?variant=brandhttps://cardmark.aspekt.systems/visa/colorhttps://cardmark.aspekt.systems/visa/themehttps://cardmark.aspekt.systems/mastercard?variant=brandhttps://cardmark.aspekt.systems/master-card.svg?size=512https://cardmark.aspekt.systems/amexhttps://cardmark.aspekt.systems/union-payhttps://cardmark.aspekt.systems/rupayhttps://cardmark.aspekt.systems/cartes-bancaires