Aspekt logoAspekt UI

Cardmarks API returns raw payment marks, UI-ready themed SVGs, primary colors, and accessible theme metadata.

https://cardmark.aspekt.systems/visa?size=256&variant=brand
https://cardmark.aspekt.systems/visa?size=256&variant=brand
html
<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/color
tsx
const 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/theme
tsx
const response = await fetch("https://cardmark.aspekt.systems/visa/theme");const theme = await response.json();// { background, foreground, logoVariant }

Visa response

json
{  "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/visa
https://cardmark.aspekt.systems/visa?variant=brand
https://cardmark.aspekt.systems/visa/color
https://cardmark.aspekt.systems/visa/theme
https://cardmark.aspekt.systems/mastercard?variant=brand
https://cardmark.aspekt.systems/master-card.svg?size=512
https://cardmark.aspekt.systems/amex
https://cardmark.aspekt.systems/union-pay
https://cardmark.aspekt.systems/rupay
https://cardmark.aspekt.systems/cartes-bancaires