Skip to content

SchoolDigger/schooldigger-widgets-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SchoolDigger Widgets Examples

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.

What Are SchoolDigger Widgets?

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#.

Quick Embed

<!-- 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.

Examples in This Repo

1. Real Estate Listing Page

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.

Real Estate Example


2. School Comparison Page

school-comparison/index.html

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.

School Comparison Example


3. Community Portal

community-portal/index.html

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.

Community Portal Example


Getting Started

  1. Copy one of the HTML examples from this repo
  2. Replace the school IDs with the schools relevant to your site
  3. Open in a browser — widgets load automatically

To find school IDs, search at schooldigger.com or use the API autocomplete endpoint.

More Ways to Use SchoolDigger Data

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

Support

License

MIT — these example pages are free to use and modify.

About

Examples for embedding SchoolDigger K-12 school data widgets in your website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages