{"api":{"id":"api_b9756db59b44e265e6058213","slug":"us-k12-schools","name":"US Schools Directory","description":"Public K-12 schools in any US state or territory for a school year, from the NCES Common Core of Data: name, NCES and district ids, address, phone, map position, level, type, grades, charter status, enrollment, teachers and free-lunch counts.","kind":"ready_made","visibility":"public","domain":"educationdata.urban.org","source_url":"https://educationdata.urban.org/documentation/schools.html","category":"education","record_type":"place","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":27,"created_at":"2026-12-06T03:33:09.264Z","updated_at":"2026-12-06T03:33:09.264Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"NCES school id (12 digits), the federal id of the school.","required":true,"coverage":1,"example":"500002100099"},{"name":"url","type":"url","description":"The school's page in the NCES public school search.","required":false,"coverage":1,"example":"https://nces.ed.gov/ccd/schoolsearch/school_detail.asp?Search=1&ID=500002100099"},{"name":"name","type":"string","description":"Name of the school.","required":false,"coverage":1,"example":"Patricia A. Hannaford Career Center"},{"name":"district_id","type":"string","description":"NCES id of the school district (local education agency), 7 digits.","required":false,"coverage":1,"example":"5000021"},{"name":"district_name","type":"string","description":"Name of the school district (local education agency).","required":false,"coverage":1,"example":"Patricia Hannaford Career Center"},{"name":"state_school_id","type":"string","description":"The school's id in its state's own records.","required":false,"coverage":1,"example":"TE001-VC001"},{"name":"street","type":"string","description":"Street address of the school building.","required":false,"coverage":1,"example":"51 Charles Avenue"},{"name":"city","type":"string","description":"City of the school building.","required":false,"coverage":1,"example":"Middlebury"},{"name":"state","type":"string","description":"Two-letter state code of the school building.","required":false,"coverage":1,"example":"VT"},{"name":"zip_code","type":"string","description":"ZIP code of the school building.","required":false,"coverage":1,"example":"05753"},{"name":"county_fips","type":"string","description":"Five-digit FIPS code of the county, such as 50007.","required":false,"coverage":1,"example":"50001"},{"name":"phone","type":"string","description":"Main office phone number of the school.","required":false,"coverage":1,"example":"(802)382-••••"},{"name":"latitude","type":"number","description":"Latitude of the school building.","required":false,"coverage":1,"example":44.00555},{"name":"longitude","type":"number","description":"Longitude of the school building.","required":false,"coverage":1,"example":-73.162392},{"name":"locale","type":"string","description":"NCES urban-centric locale, such as City, large or Rural, remote.","required":false,"coverage":1,"example":"Town, distant"},{"name":"school_level","type":"string","description":"Primary, Middle, High, Secondary, Prekindergarten, Ungraded, Adult education or Other.","required":false,"coverage":1,"example":"High"},{"name":"school_type","type":"string","description":"Regular school, Special education school, Vocational school, Other/alternative school or Reportable program.","required":false,"coverage":1,"example":"Vocational school"},{"name":"status","type":"string","description":"Status at the start of the school year: Open, New, Reopened, Added, Changed agency, Future, Closed or Inactive.","required":false,"coverage":1,"example":"Open"},{"name":"lowest_grade","type":"string","description":"Lowest grade taught: Pre-K, Kindergarten, 1 to 13, Adult education or Ungraded.","required":false,"coverage":1,"example":"9"},{"name":"highest_grade","type":"string","description":"Highest grade taught, in the same terms as lowest_grade.","required":false,"coverage":1,"example":"12"},{"name":"is_charter","type":"boolean","description":"True for a charter school; false also in states without charter schools.","required":false,"coverage":1,"example":false},{"name":"virtual_status","type":"string","description":"Not virtual, Virtual, Virtual with face-to-face options or Supplemental virtual courses.","required":false,"coverage":1,"example":"Not virtual"},{"name":"enrollment","type":"integer","description":"Number of students enrolled (fall count).","required":false,"coverage":1,"example":0},{"name":"teachers_fte","type":"number","description":"Classroom teachers as full-time equivalents.","required":false,"coverage":1,"example":16},{"name":"free_lunch_count","type":"integer","description":"Students eligible for free lunch under the National School Lunch Program.","required":false,"coverage":0.6,"example":23},{"name":"free_or_reduced_lunch_count","type":"integer","description":"Students eligible for free or reduced-price lunch.","required":false,"coverage":0.6,"example":30},{"name":"school_year","type":"string","description":"School year of the record, such as 2022-23.","required":false,"coverage":1,"example":"2022-23"}],"inputs":[{"name":"state","type":"string","description":"Two-letter code of a US state, such as VT or CA, or DC, PR, GU, VI, AS, MP. BIE gives Bureau of Indian Education schools.","example":"VT","required":true},{"name":"year","type":"integer","description":"School year by the year it starts, such as 2022 for 2022-23 (1986 to 2024). Left empty: the newest year the portal has.","example":2022},{"name":"school_level","type":"string","description":"Only schools of this level, as NCES classifies them by the grades they teach.","example":"high","enum":["primary","middle","high","secondary","prekindergarten","ungraded","adult_education","other"]},{"name":"city","type":"string","description":"Only schools in this city, as written in the school's location address, such as Burlington.","example":"Burlington"},{"name":"include_closed","type":"boolean","description":"Also return schools reported as closed or inactive that year.","default":false}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"city":{"description":"City of the school building.","type":"string"},"county_fips":{"description":"Five-digit FIPS code of the county, such as 50007.","type":"string"},"district_id":{"description":"NCES id of the school district (local education agency), 7 digits.","type":"string"},"district_name":{"description":"Name of the school district (local education agency).","type":"string"},"enrollment":{"description":"Number of students enrolled (fall count).","type":"integer"},"free_lunch_count":{"description":"Students eligible for free lunch under the National School Lunch Program.","type":"integer"},"free_or_reduced_lunch_count":{"description":"Students eligible for free or reduced-price lunch.","type":"integer"},"highest_grade":{"description":"Highest grade taught, in the same terms as lowest_grade.","type":"string"},"id":{"description":"NCES school id (12 digits), the federal id of the school.","type":"string"},"is_charter":{"description":"True for a charter school; false also in states without charter schools.","type":"boolean"},"latitude":{"description":"Latitude of the school building.","type":"number"},"locale":{"description":"NCES urban-centric locale, such as City, large or Rural, remote.","type":"string"},"longitude":{"description":"Longitude of the school building.","type":"number"},"lowest_grade":{"description":"Lowest grade taught: Pre-K, Kindergarten, 1 to 13, Adult education or Ungraded.","type":"string"},"name":{"description":"Name of the school.","type":"string"},"phone":{"description":"Main office phone number of the school.","type":"string"},"school_level":{"description":"Primary, Middle, High, Secondary, Prekindergarten, Ungraded, Adult education or Other.","type":"string"},"school_type":{"description":"Regular school, Special education school, Vocational school, Other/alternative school or Reportable program.","type":"string"},"school_year":{"description":"School year of the record, such as 2022-23.","type":"string"},"state":{"description":"Two-letter state code of the school building.","type":"string"},"state_school_id":{"description":"The school's id in its state's own records.","type":"string"},"status":{"description":"Status at the start of the school year: Open, New, Reopened, Added, Changed agency, Future, Closed or Inactive.","type":"string"},"street":{"description":"Street address of the school building.","type":"string"},"teachers_fte":{"description":"Classroom teachers as full-time equivalents.","type":"number"},"url":{"description":"The school's page in the NCES public school search.","format":"uri","type":"string"},"virtual_status":{"description":"Not virtual, Virtual, Virtual with face-to-face options or Supplemental virtual courses.","type":"string"},"zip_code":{"description":"ZIP code of the school building.","type":"string"}},"required":["id"],"title":"US Schools Directory","type":"object"},"samples":[{"id":"500002100099","url":"https://nces.ed.gov/ccd/schoolsearch/school_detail.asp?Search=1&ID=500002100099","name":"Patricia A. Hannaford Career Center","district_id":"5000021","district_name":"Patricia Hannaford Career Center","state_school_id":"TE001-VC001","street":"51 Charles Avenue","city":"Middlebury","state":"VT","zip_code":"05753","county_fips":"50001","phone":"(802)382-••••","latitude":44.00555,"longitude":-73.162392,"locale":"Town, distant","school_level":"High","school_type":"Vocational school","status":"Open","lowest_grade":"9","highest_grade":"12","is_charter":false,"virtual_status":"Not virtual","enrollment":0,"teachers_fte":16,"free_lunch_count":null,"free_or_reduced_lunch_count":null,"school_year":"2022-23"},{"id":"500002200103","url":"https://nces.ed.gov/ccd/schoolsearch/school_detail.asp?Search=1&ID=500002200103","name":"Southwest Tech","district_id":"5000022","district_name":"Southwest Tech","state_school_id":"TE002-VC009","street":"321 Park Street","city":"Bennington","state":"VT","zip_code":"05201","county_fips":"50003","phone":"(802)447-••••","latitude":42.886582,"longitude":-73.192165,"locale":"Town, distant","school_level":"High","school_type":"Vocational school","status":"Open","lowest_grade":"9","highest_grade":"12","is_charter":false,"virtual_status":"Not virtual","enrollment":0,"teachers_fte":14,"free_lunch_count":null,"free_or_reduced_lunch_count":null,"school_year":"2022-23"},{"id":"500002400131","url":"https://nces.ed.gov/ccd/schoolsearch/school_detail.asp?Search=1&ID=500002400131","name":"Samuel Morey Elementary School","district_id":"5000024","district_name":"Rivendell Interstate School District","state_school_id":"U146-PS106","street":"214 School Street","city":"Fairlee","state":"VT","zip_code":"05045","county_fips":"50017","phone":"(802)333-••••","latitude":43.908031,"longitude":-72.145998,"locale":"Rural, remote","school_level":"Primary","school_type":"Regular school","status":"Open","lowest_grade":"Pre-K","highest_grade":"5","is_charter":false,"virtual_status":"Not virtual","enrollment":116,"teachers_fte":10,"free_lunch_count":23,"free_or_reduced_lunch_count":30,"school_year":"2022-23"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"city":1,"county_fips":1,"district_id":1,"district_name":1,"enrollment":1,"free_lunch_count":0.33,"free_or_reduced_lunch_count":0.33,"highest_grade":1,"id":1,"is_charter":1,"latitude":1,"locale":1,"longitude":1,"lowest_grade":1,"name":1,"phone":1,"school_level":1,"school_type":1,"school_year":1,"state":1,"state_school_id":1,"status":1,"street":1,"teachers_fte":1,"url":1,"virtual_status":1,"zip_code":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_b9756db59b44e265e6058213/run","openapi":"https://pullrow.dev/v1/apis/api_b9756db59b44e265e6058213/openapi.json","contract":"https://pullrow.dev/v1/apis/api_b9756db59b44e265e6058213/contract.json","page":"https://pullrow.dev/catalog/us-k12-schools"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Data from the Urban Institute's Education Data Portal, built from the NCES Common Core of Data, under the ODC-By licence: credit the Education Data Portal (Urban Institute) and NCES when you publish it.","Public schools only: regular, charter, special-education, vocational and alternative schools. Private schools are not in the Common Core of Data.","One state and one school year per run. Years run from 1986 (1986-87) to 2024 (2024-25); NCES publishes a school year more than a year after it starts, so the newest year lags.","Values a state did not report, or that NCES suppresses, are empty. Free-lunch counts are often empty where schools use the Community Eligibility Provision (DC and Delaware, for example). Career and technical centers that share students with other schools often report 0 enrollment.","Closed and inactive schools are left out unless include_closed is true. city matches the school's location address exactly (any letter case).","Schools are listed under the state that reports them: Bureau of Indian Education schools come only with BIE as the state, and a few schools of interstate districts have an address in a neighbouring state.","phone is the school's main office number as NCES publishes it. No staff names or personal contact details are returned.","At most 15,000 schools per run, more than the largest state holds (California, about 10,400)."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"NCES school id (12 digits), the federal id of the school.","group":"Technical","shown":false,"written":false},{"name":"url","label":"Link","description":"The school's page in the NCES public school search.","group":"Links","shown":true,"written":false},{"name":"name","label":"Name","description":"Name of the school.","group":"Basics","shown":true,"written":false},{"name":"district_id","label":"District ID","description":"NCES id of the school district (local education agency), 7 digits.","group":"Technical","shown":false,"written":false},{"name":"district_name","label":"District name","description":"Name of the school district (local education agency).","group":"Basics","shown":true,"written":false},{"name":"state_school_id","label":"State school ID","description":"The school's id in its state's own records.","group":"Technical","shown":false,"written":false},{"name":"street","label":"Street","description":"Street address of the school building.","group":"Location","shown":true,"written":false},{"name":"city","label":"City","description":"City of the school building.","group":"Location","shown":true,"written":false},{"name":"state","label":"State","description":"Two-letter state code of the school building.","group":"Location","shown":true,"written":false},{"name":"zip_code","label":"Zip code","description":"ZIP code of the school building.","group":"Location","shown":true,"written":false},{"name":"county_fips","label":"County fips","description":"Five-digit FIPS code of the county, such as 50007.","group":"Basics","shown":true,"written":false},{"name":"phone","label":"Phone","description":"Main office phone number of the school.","group":"Contact","shown":true,"written":false},{"name":"latitude","label":"Latitude","description":"Latitude of the school building.","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Longitude","description":"Longitude of the school building.","group":"Location","shown":true,"written":false},{"name":"locale","label":"Locale","description":"NCES urban-centric locale, such as City, large or Rural, remote.","group":"Basics","shown":true,"written":false},{"name":"school_level","label":"School level","description":"Primary, Middle, High, Secondary, Prekindergarten, Ungraded, Adult education or Other.","group":"Basics","shown":true,"written":false},{"name":"school_type","label":"School type","description":"Regular school, Special education school, Vocational school, Other/alternative school or Reportable program.","group":"Basics","shown":true,"written":false},{"name":"status","label":"Status","description":"Status at the start of the school year: Open, New, Reopened, Added, Changed agency, Future, Closed or Inactive.","group":"Basics","shown":true,"written":false},{"name":"lowest_grade","label":"Lowest grade","description":"Lowest grade taught: Pre-K, Kindergarten, 1 to 13, Adult education or Ungraded.","group":"Basics","shown":true,"written":false},{"name":"highest_grade","label":"Highest grade","description":"Highest grade taught, in the same terms as lowest_grade.","group":"Basics","shown":true,"written":false},{"name":"is_charter","label":"Charter","description":"True for a charter school; false also in states without charter schools.","group":"Basics","shown":true,"written":false},{"name":"virtual_status","label":"Virtual status","description":"Not virtual, Virtual, Virtual with face-to-face options or Supplemental virtual courses.","group":"Basics","shown":true,"written":false},{"name":"enrollment","label":"Enrollment","description":"Number of students enrolled (fall count).","group":"Basics","shown":true,"written":false},{"name":"teachers_fte","label":"Teachers fte","description":"Classroom teachers as full-time equivalents.","group":"Basics","shown":true,"written":false},{"name":"free_lunch_count","label":"Free lunch count","description":"Students eligible for free lunch under the National School Lunch Program.","group":"Basics","shown":true,"written":false},{"name":"free_or_reduced_lunch_count","label":"Free or reduced lunch count","description":"Students eligible for free or reduced-price lunch.","group":"Basics","shown":true,"written":false},{"name":"school_year","label":"School year","description":"School year of the record, such as 2022-23.","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"state","label":"State","help":"Two-letter code of a US state, such as VT or CA, or DC, PR, GU, VI, AS, MP. BIE gives Bureau of Indian Education schools.","example":"VT","written":false},{"name":"year","label":"Year","help":"School year by the year it starts, such as 2022 for 2022-23 (1986 to 2024). Left empty: the newest year the portal has.","example":"2022","written":false},{"name":"school_level","label":"School level","help":"Only schools of this level, as NCES classifies them by the grades they teach.","example":"high","written":false},{"name":"city","label":"City","help":"Only schools in this city, as written in the school's location address, such as Burlington.","example":"Burlington","written":false},{"name":"include_closed","label":"Include closed","help":"Also return schools reported as closed or inactive that year.","example":"","written":false}]}},"incidents":[]}