Integrations

Embeddable widget

Drop a live rates ticker or card onto any website with one script tag — no signup, no key required. Build and preview yours in the widget builder.

Quick start

HTML
<script src="https://pricefeed.online/widget/v1.js" async></script>
<pricefeed-widget type="ticker" pairs="BTC/UAH,ETH/USD,XAU/UAH" theme="auto"></pricefeed-widget>

Attributes

AttributeValuesDescription
typeticker, cardWidget layout. Default ticker.
pairsBTC/UAH,ETH/USDComma-separated pairs (up to 20).
themeauto, light, darkColor theme. auto follows the visitor's OS.
show-changetrue/falseShow 24h percent change. Default true.
show-sparklinetrue/falseShow 24h mini chart (card type). Default true.
decimalsintegerForce decimal places. Default: auto by magnitude.
localeen-US, ukNumber formatting locale.
refreshsecondsPoll interval. Minimum 15. Default 30.
api-keystringOptional — higher rate limit for busy embeds.

Theming with CSS variables

Override any of these on the element to match your design — they pierce the widget's shadow DOM:

CSS
pricefeed-widget {
  --pf-bg: #0a101c;
  --pf-text: #eef3fa;
  --pf-accent: #38d4f5;
  --pf-up: #2fd58c;
  --pf-down: #f4655f;
  --pf-radius: 12px;
  --pf-font: "Inter", system-ui, sans-serif;
}
VariableWhat it controls
--pf-bgBackground
--pf-textPrimary text
--pf-mutedSecondary text (symbols, quote)
--pf-accentAccent / links
--pf-up / --pf-downUp / down colors
--pf-borderBorder color
--pf-radiusCorner radius
--pf-fontFont family

Examples

Card with custom theme
<pricefeed-widget type="card" pairs="BTC/UAH"
  style="--pf-accent:#7c5cff; --pf-radius:16px;"></pricefeed-widget>
Data comes from the same aggregated API (median across multiple sources). The free widget shows a small “Powered by PriceFeed” link.