US Private Schools Locations API
Private K-12 schools across the United States from the federal school locations file: identification number, name, street address, city, state, ZIP, county, latitude and longitude, and an urban or rural locale label.
$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 nces.ed.gov/programs/edge/Geographic/SchoolLocations
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/us-private-schools-nces/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"state":"OH"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
11 fields.
Basics
- Ppin
Federal private school identification number.
Example 02049204
- School name
Example ADAMS COUNTY CHRISTIAN SCHOOL
- County name
Example Adams County
- Latitude
Example 38.77838
- Longitude
Example -83.560625
- Locale
Urban-rural locale, such as City: Large or Rural: Remote.
Example Town: Distant
Location
- Street address
Example 187 WILLOW DR
- City
Example WEST UNION
- Two-letter state code
Example OH
- ZIP code
Example 45693
Dates
- School year
School year of the file, such as 2021-2022.
Example 2021-2022
Technical detailsField names and types for developers
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 |
|---|---|---|---|
ppin | text | Ppin | 3 of 3 |
name | text | School name | 3 of 3 |
street | text | Street address | 3 of 3 |
city | text | City | 3 of 3 |
state | text | Two-letter state code | 3 of 3 |
zip | text | ZIP code | 3 of 3 |
county | text | County name | 3 of 3 |
lat | number | Latitude | 3 of 3 |
lon | number | Longitude | 3 of 3 |
locale | text | Locale | 3 of 3 |
school_year | text | School year | 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 | School name | Ppin | County name | Latitude | Longitude | Locale | Street address | City | Two-letter state code | ZIP code | School year |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | ADAMS COUNTY CHRISTIAN SCHOOL | 02049204 | Adams County | 38.77838 | -83.560625 | Town: Distant | 187 WILLOW DR | WEST UNION | OH | 45693 | 2021-2022 |
| 2 | LIMA CENTRAL CATHOLIC HIGH SCHOOL | 01060965 | Allen County | 40.73155 | -84.149381 | City: Small | 720 S CABLE RD | LIMA | OH | 45805 | 2021-2022 |
| 3 | ST CHARLES CATHOLIC SCHOOL | 01060976 | Allen County | 40.736484 | -84.14512 | City: Small | 2175 W ELM ST | LIMA | OH | 45805 | 2021-2022 |
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.
- Covers the 2021-22 school year file from the National Center for Education Statistics; schools opened or closed since then are not reflected.
- Location data only: it has no enrollment, grade range, religious affiliation, phone or website.
- One run returns at most 5,000 schools, read 500 at a time; narrow by state, city or name for more.
- State filter takes the two-letter code. City and name match are not case sensitive; name matches words anywhere in the school name.
- Names, streets and cities are stored in capitals by the source.
- US federal data, public domain; credit the National Center for Education Statistics.
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.