Embedding

Embed a Treasury yield widget

Put a live US Treasury yield on your website with one line of HTML. Choose from 3M, 5Y, 10Y, or 30Y maturity. Updates daily with no backend and no API keys.

Use cases

  • Show the 10Y yield on a fixed income or bond investing blog
  • Add a 3M/10Y spread context widget to a macro research page
  • Display current rate levels on a mortgage or lending site
  • Embed yield history alongside a stock or forex widget

How to embed

  1. Create a free account on 7di.
  2. Add a Treasury yield widget to any page.
  3. Hover the widget and click the share icon, then enable Public embed.
  4. Copy the iframe code and paste it into your site.
Theme

Text

10Y Treasury

4.682% (Jul 25)

Chart

10Y Treasury

4.682% (Jul 25)

Embed a Treasury yield widget · 7di Docs