Home Safety Score Badge
Drop a visual Home Safety grade badge into any real estate listing, home inspection report, or neighborhood guide. Free, no API key, served as a static SVG.
One Image, Five Grades
Each ZIP's Home Safety Score is graded A through F based on EPA water violations, lead risk, radon zone, and FEMA flood claims. Here's what the badge looks like at each grade:
Generate Your Embed Code
Live Preview
Embed Code
Click the code to select all, or use the Copy button. Paste into any HTML page — no JavaScript required.
Who Uses the Badge
Real Estate Listings
Show buyers the local Home Safety grade directly on a property detail page. Pairs well with walk score, flood zone, and school rating widgets.
Home Inspection Reports
Inspectors include the neighborhood grade alongside the property-specific findings. Signals that the report considers more than the house itself.
Relocation & City Guides
Neighborhood blogs and "best places to live" articles benchmark ZIP codes with a single visual instead of raw violation counts.
Water Filter / HVAC Blogs
Product-review sites embed the local grade to anchor the recommendation in local EPA data instead of generic claims.
Insurance Agent Pages
Agents explaining flood or homeowner insurance rates link the badge to the underlying environmental risk factors their customers are paying for.
Journalism & Data Stories
News sites covering water quality, lead, or flood events can drop the ZIP's current grade inline without screenshotting a dashboard.
Frequently Asked Questions
Is the badge really free?
Yes. No account, no API key, no rate limits for reasonable use. The badge is served as a static SVG directly from Cloudflare's edge.
Where does the grade come from?
The Home Safety Score combines four EPA and FEMA data dimensions: drinking water violations (SDWIS), lead exposure risk, county-level radon zones, and National Flood Insurance Program claims. Full methodology is at /about/home-safety-score/.
How often does the grade update?
Badges reflect the most recent data we have for each ZIP. EPA water data is refreshed as new SDWIS records are published (typically quarterly). The badge is cached for 24 hours at the edge.
What if a ZIP has no data?
If we don't have data for a ZIP, the badge falls back to Grade C so the layout doesn't break. You can override the grade for design demos with the ?grade=A query parameter, but the default should always be left to live data for production use.
Can I resize the badge?
Yes. SVG scales crisply at any size — just change the width attribute in the HTML (or use CSS). The shield format is 200×240 native; the banner is 240×56 native.
Can I change the colors or fonts?
The badge is a self-contained SVG, so it renders identically across browsers without your CSS interfering. The grade colors are fixed (they communicate the data). If you need a custom color scheme for a publication, contact us.
Does this slow down my page?
No. The SVG is ~2KB, served with a 24-hour cache header, and doesn't block page rendering. No JavaScript runs on your site.