Embed live K-12 school data directly into any website — no API calls, no code required.
SchoolDigger Widgets are plug-and-play embeds powered by the same data behind the SchoolDigger K-12 School Data API: 130,000+ schools, school rankings, test scores, demographics, and more.
Widgets are small JavaScript embeds you drop into any HTML page. They render school data automatically — school ratings, rankings, nearby schools, and more — without writing a single API call. Configure them with your school ID or location and they handle the rest.
Best for: websites that need school data displays without a backend integration. Need more control? See the SchoolDigger API Examples repo for full API access in Python, JavaScript, R, and C#.
<!-- Replace SCHOOL_ID with a SchoolDigger school ID (e.g. 530792001309) -->
<div
class="sd-widget"
data-widget="school-summary"
data-school-id="SCHOOL_ID">
</div>
<script src="https://widgets.schooldigger.com/v1/widget.js" async></script>Get your school ID from the SchoolDigger API or by searching at schooldigger.com.
real-estate-listing/index.html
A property listing page that embeds nearby school ratings alongside the home details. Ideal for real estate websites, portals, and listing aggregators.
Use case: Home buyers want to know the quality of nearby schools. Displaying SchoolDigger ratings on listing pages increases buyer confidence and time-on-site.
A side-by-side school comparison tool. Parents can see rankings, test scores, and demographics for multiple schools at once.
Use case: School choice platforms, district websites, and edtech tools that help parents evaluate options.
A neighborhood community site with a schools section showing local school ratings and data. Great for HOA sites, neighborhood guides, and local news sites.
Use case: Community websites that want to add school quality data to neighborhood profiles.
- Copy one of the HTML examples from this repo
- Replace the school IDs with the schools relevant to your site
- Open in a browser — widgets load automatically
To find school IDs, search at schooldigger.com or use the API autocomplete endpoint.
| Method | Best For | Link |
|---|---|---|
| Widgets | No-code embeds for any website | widgets.schooldigger.com |
| API | Full programmatic access | developer.schooldigger.com |
| AWS Marketplace | Bulk data download | AWS Listing |
| Snowflake | Query in your data warehouse | Snowflake Listing |
- Widget docs: widgets.schooldigger.com
- API docs: developer.schooldigger.com/docs
- Email: api@schooldigger.com
MIT — these example pages are free to use and modify.


