Advertisement

Browse Districts

Returns a list of school districts in a city. All calls for a Browse Districts are in this format:
http://api.greatschools.org/districts/[components]?[parameters]

Components

Components of the url describe what type of data you would like. They are separated by forward slashes.
NameDescriptionSample Values
state*Two letter state abbreviationak
CA
city*Name of city, with spaces replaced with hyphens. If the city name has hyphens, replace those with underscores. Any other special characters should be URL-encodedSan Francisco becomes "San-Francisco"
Cardiff-By-The-Sea becomes "Cardiff_By_The_Sea"
*required

Parameters

The "key" parameter is what you use to send us your API key.
NameDescriptionSample Values
key*Your API keymyAPIkey
*required
Examples of usage:
http://api.greatschools.org/districts/CA/San-Francisco?key=[yourAPIKey]
Returns a list of school districts in San Francisco, CA

Sample Request

http://api.greatschools.org/districts/CA/San-Francisco?key=[yourAPIKey]
Returns a list of school districts in San Francisco, CA

Sample Response

Have Questions?

To ask questions or to report bugs please email api-support@greatschools.org. Please do not abuse our API. Review the Terms of Use.