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.

GET/v1/schools

Authentication

Public key?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

keystring
required

The site's public key (pk_…). It selects the account. Safe to ship to the browser.

latnumber
required

Latitude of the point, between -90 and 90. Rounded to 3 decimals.

lngnumber
required

Longitude of the point, between -180 and 180. Rounded to 3 decimals.

radiusnumber
optional

Search radius in miles, from 1 to 50. Out-of-range values are clamped.

Default:5
typestring (CSV)
optional

School types, comma-separated. Empty or unknown values return all types.

publicprivatecharter

Responses

200Success
application/json
availableboolean

False when the schools could not be read. Show "not available", not "no schools".

schoolsarray

Up 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.

totalnumber

Number 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: false and is not cached.
Request
curl --request GET \
--url "https://api.pandaidx.com/v1/schools?key={{public_key}}&lat=25.7617&lng=-80.1918"
Response200 OK
{
"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
}