Reference
Schools
GET/api/v1/schools/
Schools near a point, with assessment, graduation, and safety results, and the district for that point.
Parameters
| Name | Type | Description |
|---|---|---|
| address | string | US street address. Geocoded to a point. A city name alone often fails. |
| lat | number | Latitude in decimal degrees. Send with lng, or send address instead. |
| lng | number | Longitude in decimal degrees. Send with lat, or send address instead. |
| lea_id | string | CCD operating district id. Limits the list to schools that district operates. Default . |
| miles | number | Search radius in miles. Omit it for the nearest schools with no cap. From 0.1 to 25. |
| limit | integer | Maximum number of rows to return. Default 15, from 1 to 100. |
| level | string | all, public, or private. Public includes charters. * `all` - all * `public` - public * `private` - private. Default all. |
Response
-
nearby object[]
Nearest schools. Inside the radius when miles is set, otherwise the nearest with no cap.
33 fields
-
nces_id string
Public schools use the 12-digit NCES id. Private schools use the EDGE PPIN. A PSS prefix on that id is accepted.
-
name string
-
school_level string
One of elementary, middle, high, other.
-
is_charter boolean
-
is_private boolean
-
is_open boolean
-
enrollment integer | null
-
city string
-
state string
-
zip string
-
grade_low string
-
grade_high string
-
lea_id string
-
lea_name string
-
phone string
School phone. CCD directory for public schools, PSS survey for private schools.
-
school_type string
regular, special_education, vocational, or alternative. Public schools only.
-
locale string
city, suburb, town, or rural. Public schools only.
-
magnet boolean | null
True when CCD or CRDC marks the school as a magnet. CRDC fills the flag when CCD leaves it blank.
-
title_i boolean | null
True when the school is Title I eligible or schoolwide.
-
virtual boolean | null
True when the school is fully virtual.
-
teachers_fte number | null
Teacher full-time equivalent. Private schools use the PSS teacher count.
-
student_teacher_ratio number | null
Enrollment divided by teacher FTE.
-
free_reduced_lunch integer | null
Students eligible for free or reduced-price lunch. Public schools only.
-
ap_enrolled integer | null
Students enrolled in at least one AP course. CRDC all-students count.
-
ib_enrolled integer | null
Students enrolled in the International Baccalaureate program. CRDC all-students count.
-
sat_act_students integer | null
Students who took the SAT or ACT. CRDC all-students count.
-
vintage integer
CCD directory year for public schools. PSS fall year for private schools. 2021 is school year 2021-22.
-
latitude number
-
longitude number
-
distance_miles number | null
-
assessment object | null
Newest EDFacts reading and math results. Null when none are loaded.
-
vintage integer
EDFacts assessment year. 2022 is school year 2021-22.
-
read_pct_prof number | null
Percent of students proficient in reading.
-
math_pct_prof number | null
Percent of students proficient in math.
-
read_num_valid integer | null
Students with a valid reading score.
-
math_num_valid integer | null
Students with a valid math score.
-
-
graduation object | null
Newest EDFacts four-year graduation rate. Null when the school has no reported cohort.
-
vintage integer
EDFacts graduation year. 2020 is school year 2019-20.
-
grad_rate number | null
Four-year adjusted cohort graduation rate, all students.
-
cohort_size integer | null
Students in that adjusted cohort.
-
grad_rate_disadvantaged number | null
Four-year graduation rate for economically disadvantaged students.
-
-
safety object | null
Newest Civil Rights Data Collection offenses and suspensions. Null when the school is absent from that file.
14 fields
-
vintage integer
CRDC collection year. 2021 is school year 2021-22.
-
physical_attacks_with_weapon integer | null
Physical attacks or fights with a weapon.
-
physical_attacks_no_weapon integer | null
Physical attacks or fights without a weapon.
-
threats_of_violence integer | null
Threats of physical attack, with or without a weapon.
-
robberies integer | null
Robberies with or without a weapon.
-
rape_or_sexual_battery integer | null
Incidents of rape or sexual battery.
-
firearm_explosive_possession integer | null
Incidents of firearm or explosive possession.
-
firearm_incident boolean | null
Whether the school reported a firearm incident.
-
violent_incidents_total integer | null
Attacks, threats, robberies, and sexual incidents combined.
-
oss_single integer | null
Students suspended out of school once.
-
oss_multiple integer | null
Students suspended out of school more than once.
-
out_of_school_suspensions integer | null
Students with one or more out-of-school suspensions. Not the number of incidents.
-
suspension_incidents integer | null
Out-of-school suspension incidents. A student suspended twice counts twice.
-
harassment_allegations integer | null
Allegations of harassment or bullying.
-
-
-
district object | null
Attendance district for the point. in_district is false when this is the nearest school's district.
-
geoid string
-
lea_id string
NCES district id. The same value as geoid.
-
name string
Full district name.
-
short_name string
Short district name.
-
kind string
-
lowest_grade string
-
highest_grade string
-
in_district boolean
True when the point is inside this district.
-
Status
- 200 Profile for that point.
- 400 The address could not be geocoded, or lat and lng were not both numbers.
- 401 Missing or invalid credentials.
- 403 This plan has no call allowance configured.
- 404 No geography is loaded for that point.
- 429 Monthly call limit reached.