US School District Directory API
Directory of US public school districts from the federal Common Core of Data: name, address, phone, county, locale type, number of schools, enrollment, teacher count and map position.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from educationdata.urban.org/documentation/school_districts.html
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/ccd-district-directory/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"year":"2021"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
15 fields: 14 here, 1 technical one under Technical details.
Basics
- Leaid
The federal district id (LEAID).
Example 3600001
- District name
Example DOLGEVILLE CENTRAL SCHOOL DISTRICT
- County name
Example Herkimer County
- Urban locale
Locale type, such as City large, Suburb small or Rural remote.
Example Rural, distant
- Schools count
Number of schools in the district.
Example 3
- Enrollment
Students enrolled.
Example 828
- Teachers fte
Full-time-equivalent teachers.
Example 67
Location
- Street
Street address of the district office.
Example 38 SLAWSON ST
- City
Example DOLGEVILLE
- Two-letter state code
Example NY
- Zip
Postal code.
Example 13329
- Latitude
Latitude of the district office.
Example 43.104
- Longitude
Longitude of the district office.
Example -74.779
Contact details
- District office phone number
Example (315)429-••••
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idThe district id (LEAID), seven digits.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
leaid | text | Leaid | 3 of 3 |
name | text | District name | 3 of 3 |
street | text | Street | 3 of 3 |
city | text | City | 3 of 3 |
state | text | Two-letter state code | 3 of 3 |
zip | text | Zip | 3 of 3 |
phone | text | District office phone number | 3 of 3 |
county | text | County name | 3 of 3 |
urban_locale | text | Urban locale | 3 of 3 |
schools_count | number | Schools count | 3 of 3 |
enrollment | number | Enrollment | 3 of 3 |
teachers_fte | number | Teachers fte | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | District name | Leaid | County name | Urban locale | Schools count | Enrollment | Teachers fte | Street | City | Two-letter state code | Zip | Latitude | Longitude | District office phone number |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | DOLGEVILLE CENTRAL SCHOOL DISTRICT | 3600001 | Herkimer County | Rural, distant | 3 | 828 | 67 | 38 SLAWSON ST | DOLGEVILLE | NY | 13329 | 43.104 | -74.779 | (315)429-•••• |
| 2 | SAUQUOIT VALLEY CENTRAL SCHOOL DISTRICT | 3600002 | Oneida County | Rural, fringe | 3 | 995 | 0 | 2601 ONEIDA ST | SAUQUOIT | NY | 13456 | 42.9879 | -75.2545 | (315)839-•••• |
| 3 | EDWARDS-KNOX CENTRAL SCHOOL DISTRICT | 3600003 | St. Lawrence County | Rural, remote | 2 | 512 | 52 | 2512 COUNTY ROUTE 24 | HERMON | NY | 13652 | 44.363946 | -75.201145 | (315)562-•••• |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Data comes from the Urban Institute Education Data Portal, which republishes federal NCES Common Core of Data; credit the U.S. Department of Education (NCES) and the Urban Institute. It is released once a year and lags the current school year by one to two years.
- The directory has no website or e-mail address for districts; phone and street address are the district office.
- Enrollment, school counts and teacher counts are empty for districts that did not report them.
- Without a state filter one run covers the whole country (about 19,700 districts); at most 20,000 records per run. The source is read at most two requests a second.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.