Nearby SchoolsReturns a list of schools closest to the center of a city, ZIP Code or address. All calls for Nearby Schools are in this format:
ParametersThe "key" parameter is what is used to identify your specific API key to GreatSchools. The "state" parameter tells us what State you would like the results for and is required. You must provide at least one of the following, "city", "zip", "address", or "lat" and "lon" describing the location in order to receive the list of schools near that coordinate. Other parameters are optional.
|key*||Your API key||myAPIkey|
|state*||2 letter state abbreviation||CT|
|zip||5 digit zip code||06107|
|city||URL-encoded city name||San+Francisco|
|schoolType||Type of school you wish to appear in the list||Valid values: "public", "charter", "private", or any combination separated by hyphens, like "public-charter"|
|levelCode||Level of school you wish to appear in the list||Valid values: "elementary-schools", "middle-schools", "high-schools"|
|radius||Miles radius to confine search to.
|limit||Maximum number of schools to return. This defaults to 200.||100|