DistrictAPI
DistrictAPI lets you look up U.S. public school districts by address, latitude/longitude or NCES LEA ID, retrieve full district profiles, search districts by name/state/county, and enumerate open schools in a district. It also provides location‑based school search, detailed school profiles, and a way to fetch a school's parent district.
Latency
1991ms p95
Uptime
100.0% 30d
Playground
Verified
live
Endpoints
/v1/districts
Look up a district by address, latitude/longitude, or NCES LEA ID.
/v1/districts/{id}
Get the full profile for a district by its 7‑digit NCES LEA ID.
/v1/districts/{id}/schools
List all open schools in a district.
/v1/districts/search
Search districts by name, state, or county.
/v1/schools
Find schools near an address or coordinates.
/v1/schools/{id}
Get the full profile for a school by its 12‑digit NCES school ID.
/v1/schools/{id}/district
Get the parent district for a school.
7 endpoints auto-detected
Authentication
This API uses an API key, passed in the "X-API-Key" header. No OAuth required.
curl -X GET \ "https://districtapi.dev/docs/v1/districts" \ -H "X-API-Key: YOUR_API_KEY"
districtapi.dev · HTTPS only