# Embeds and badges

> A free, live funding-rate widget and badge for any perp. One line of HTML or Markdown, no key and no sign-up.

Put a live funding rate for any perp on a blog, a docs page or a GitHub README. Build the snippet at [deskr.trade/embed](https://deskr.trade/embed): pick the perp and the theme, then copy.

## Widget (iframe)

```html title="Widget (HTML)"
<iframe src="https://deskr.trade/embed/funding/btc" width="360" height="150" style="border:0;border-radius:12px;max-width:100%" loading="lazy" title="BTC funding rate on Deskr"></iframe>
<p style="font:13px system-ui"><a href="https://deskr.trade/markets/btc/funding-rate">BTC funding rate</a> by Deskr</p>
```

Use `/embed/funding/btc/light` for the light theme. The widget shows the annualised funding rate, open interest, the coin's funding rank, and a chart of the last seven days of real settlements. It refreshes about once a minute and says **delayed** when the live feed is behind.

## Badge (SVG)

For places that don't allow iframes, like READMEs:

```md title="Badge (Markdown)"
[![BTC funding rate](https://deskr.trade/embed/funding/btc/badge.svg)](https://deskr.trade/markets/btc/funding-rate)
```

## Terms

- It's free. Keep the link back to Deskr that the snippet includes. That link is the price of the free data.
- The widget loads from deskr.trade, sets no cookies and shows no ads. Any site can frame it.
- Please don't poll it faster than once a minute. For raw series, use the [history endpoint](/api/history).
- The numbers are analytics, not advice, and can be delayed or wrong when an exchange feed is down.
