RateBadge

Free mortgage rate widget for websites

RateBadge

Auto-updated weekly 30-year and 15-year mortgage averages for realtor and loan-officer sites, sourced from Freddie Mac PMMS via FRED.

6.66%30-year fixed as of 2026-07-30
6.04%15-year fixed as of 2026-07-30
0 depssingle script tag, no backend on your site

Paste once. Updates every Friday.

RateBadge renders a compact card into <div id="ratebadge">, fetches a tiny static JSON file, and keeps the Freddie Mac/FRED attribution visible for compliance-safe context.

<div id="ratebadge"></div>
<script src="https://ratebadge.pages.dev/badge.js" async></script>

White-label for $19/mo

Paid license keys remove the RateBadge backlink and add your name, NMLS number, headshot, and quote button. The Freddie Mac source line always stays visible.

Get white-label
<div id="ratebadge"></div>
<script src="https://ratebadge.pages.dev/badge.js" data-license="rb_your_key" data-name="Jane Loan" data-nmls="123456" data-photo="https://example.com/headshot.jpg" data-cta-url="https://example.com/apply" async></script>

For WordPress

Install the lightweight shortcode plugin and place [ratebadge] anywhere. White-label attributes are supported.

Download ratebadge.zip

For IDX pages

The script is dependency-free, isolated, and works in most CMS HTML blocks.

Blank embed test

For compliance reviews

The widget shows national averages only and says it is not an offer of credit.

View FRED source

FAQ

Is this an advertised rate?

No. It shows Freddie Mac Primary Mortgage Market Survey national averages via FRED. It is informational and not an offer of credit.

How fresh is it?

Freddie Mac PMMS normally publishes weekly. RateBadge refreshes every Friday after publication.

Can I remove the RateBadge link?

Yes. A $19/mo white-label license hides the RateBadge backlink while keeping the Freddie Mac/FRED source attribution visible.

Who is responsible for NMLS display rules?

The site owner or loan officer is responsible for passing accurate NMLS and contact details. RateBadge only renders the values provided.