Great Schools Scraper avatar

Great Schools Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Great Schools Scraper

Great Schools Scraper

Scrape 100,000+ US public schools from the NCES (National Center for Education Statistics) dataset. Search by school name, city, state, grade level, or look up by NCES ID. Get address, enrollment, teacher count, grade ranges, district, phone, website, and GPS coordinates.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Scrape 100,000+ US public schools from the NCES (National Center for Education Statistics) dataset. Search schools by name, city, state, or grade level — or look up specific schools by their NCES ID. Get enrollment numbers, teacher counts, grade ranges, school type, district ID, GPS coordinates, phone number, and website.

What you get

Each record includes:

FieldDescription
ncesIdNCES school ID (unique national identifier)
nameOfficial school name
addressStreet address
city, stateLocation
zipZIP code
countyCounty name
phoneSchool phone number
websiteSchool or district website
levelGrade level (ELEMENTARY, MIDDLE, HIGH, SECONDARY, etc.)
schoolTypeSchool type (Regular public, Charter, Special education, etc.)
enrollmentTotal student enrollment
fullTimeTeachersNumber of full-time teachers
startGradeLowest grade offered (e.g. KG, 01)
endGradeHighest grade offered (e.g. 05, 12)
districtIdNCES district identifier
latitude, longitudeGPS coordinates
sourceUrlLink to NCES data record
scrapedAtTimestamp of data collection

Input options

Mode: Search (mode=search)

Search schools by name and apply filters:

{
"mode": "search",
"query": "Lincoln Elementary",
"state": "CA",
"maxItems": 25
}

Filter by grade level:

{
"mode": "search",
"state": "TX",
"schoolLevel": "HIGH",
"city": "Austin",
"maxItems": 50
}

Mode: Lookup by NCES ID (mode=byNcesId)

Fetch specific schools by their NCES IDs:

{
"mode": "byNcesId",
"ncesIds": ["064214011007", "360003101838"],
"maxItems": 10
}

Input parameters

ParameterTypeDescription
modestringRequired. search or byNcesId
querystringSchool name search query
statestringFilter by US state (2-letter code)
citystringFilter by city name
schoolLevelstringGrade level: ELEMENTARY, MIDDLE, HIGH, SECONDARY, PREKINDERGARTEN, OTHER
ncesIdsarrayList of NCES IDs for byNcesId mode
maxItemsintegerMax records to return (1–10,000, default 100)

School levels

ValueDescription
ELEMENTARYGrades K–5 or K–6
MIDDLEGrades 6–8 or 7–8
HIGHGrades 9–12
SECONDARYCombined middle + high school
PREKINDERGARTENPre-K programs
OTHERAlternative and other programs

School types

CodeType
1Regular public school
2Special education school
3Vocational/Technical school
4Alternative/Other school
5Reportable program
7Charter school

Use cases

  • Education market research — Find all schools in a city, county, or state by grade level
  • Sales prospecting — Identify schools with large enrollment for education product outreach
  • Policy research — Analyze public school distribution across regions
  • Parent tools — Look up schools in a specific area by type and grade range
  • District analysis — Group schools by district ID to analyze district-level patterns
  • Enrollment trends — Compare school sizes across states and school types
  • School comparison — Look up specific schools by NCES ID for detailed information

Finding NCES IDs

NCES IDs can be found in:

  • The NCES School Search tool
  • State education department websites
  • District rosters and public data portals
  • Previous scrapes of this actor (the ncesId field)

FAQ

Is this free to use? Yes — no API key or credentials required. Data is sourced from the publicly accessible NCES (National Center for Education Statistics) dataset via OpenDataSoft.

How many schools are in the dataset? Over 100,000 US public schools across all 50 states and the District of Columbia.

Is private school data included? The dataset primarily covers public schools. Some charter and alternative schools are included.

How current is the data? The dataset is periodically updated from NCES records. Most records reflect data from 2019–2022.

What does NCES mean? NCES is the National Center for Education Statistics — the primary federal agency for collecting and analyzing educational data in the United States, part of the US Department of Education.

Why are some enrollment numbers missing? The NCES dataset uses -999 as a sentinel for unreported values. This actor strips those automatically so only real enrollment figures appear in the output.

Data source

Data is sourced from the US Public Schools dataset on OpenDataSoft, which aggregates NCES Common Core of Data (CCD) records for all public elementary and secondary schools in the United States.