List Schools
Returns the schools around a point, nearest first: every US public and private school from NCES, with the state's official A–F grade where the state gives one (Florida), levels and distance in miles. Use it for the nearby schools section of a listing or building page.
/v1/schoolsAuthentication
?key=pk_…Public key in the key query parameter. No OAuth, no secret.
Edge cache: public, max-age=3600, s-maxage=86400, stale-while-revalidate=604800
Query Parameters
keystringThe site's public key (pk_…). It selects the account. Safe to ship to the browser.
latnumberLatitude of the point, between -90 and 90. Rounded to 3 decimals.
lngnumberLongitude of the point, between -180 and 180. Rounded to 3 decimals.
radiusnumberSearch radius in miles, from 1 to 50. Out-of-range values are clamped.
5typestring (CSV)School types, comma-separated. Empty or unknown values return all types.
publicprivatecharterResponses
application/jsonavailablebooleanFalse when the schools could not be read. Show "not available", not "no schools".
schoolsarrayUp to 50 schools, nearest first. rating is the state's grade, A to F, or null when the state gives none (private schools, states other than Florida); ratingBand follows it. gsRating is always null. levelName is elementary, middle, high or unknown. distance is in miles.
totalnumberNumber of schools returned.
Errors
400lat and lng are missing or out of range.401Missing or invalid public key.403The account is not active. The body also has code: "TENANT_INACTIVE".429Too many requests. The limit is 60 per minute per visitor IP and account. Retry-After is 60 seconds.500Internal Server Error.Notes
- Link each school to
overviewLink: its state report card when graded, else its NCES page. - A failed read answers 200 with
available: falseand is not cached.
curl --request GET \--url "https://api.pandaidx.com/v1/schools?key={{public_key}}&lat=25.7617&lng=-80.1918"
{"available": true,"schools": [{"id": "120039000001","gsId": "120039000001","name": "Example Elementary School","address": "100 Example St","city": "Miami","state": "FL","zip": "33131","phone": null,"website": null,"geometry": {"location": {"lat": 25.766,"lng": -80.19}},"rating": "A","ratingYear": 2026,"ratingSource": "Florida Department of Education","gsRating": null,"ratingBand": "Above average","level": "e","levelName": "elementary","type": "public","gradeRange": "PK-5","district": "Dade","enrollment": 520,"studentTeacherRatio": 15.2,"overviewLink": "https://edudata.fldoe.org/ReportCards/Schools.html?school=0081&district=13","distance": 0.4,"county": "Miami-Dade","summary": null}],"total": 1}