Skip to content

GreatSchools API: Search schools near a location

Finds GreatSchools schools within 5 miles of a US address, city or ZIP code. Results can be filtered by grade and school type and sorted by distance or rating.

greatschools.org (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by GreatSchools.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Sort optionalsort

Order results by proximity or GreatSchools rating, for example distance.

distance (default)

One of distance, rating.

Location, requiredlocation

US street address, city and state, or ZIP code, for example 94107.

94107

2 characters or more.

Grade Level optionalgrade_level

Grade range to include, for example elementary.

any (default)

One of any, preschool, elementary, middle, high.

Max Results optionalmax_results

Maximum schools to return, for example 20.

20 (default)

Whole number from 1 to 100.

School Type optionalschool_type

Type of school to include, for example public.

any (default)

One of any, public, charter, private.

Output

From a run on Oct 23, 2026, shortened for this page.
{  "schools": [    {      "type": "Private",      "address": "465 Missouri St., San Francisco, CA 94107",      "school_name": "Potrero Kids at Daniel Webster (PKDW) Preschool",      "grades_served": "PK",      "distance_miles": 0.11,      "greatschools_link": "https://www.greatschools.org/california/san-francisco/25201-Potrero-Kids-At-Daniel-Webster-PKDW-Preschool/",      "number_of_students": null,      "greatschools_rating": null    },    {      "type": "Other",      "address": "455 Arkansas Street, San Francisco, CA 94107",      "school_name": "Bertrand D Hsu American & Chinese Bicultural Academy",      "grades_served": "K-8",      "distance_miles": 0.12,      "greatschools_link": "https://www.greatschools.org/california/san-francisco/33953-Bertrand-D-Hsu-American--Chinese-Bicultural-Academy/",      "number_of_students": null,      "greatschools_rating": null    },    {      "type": "Public",      "address": "465 Missouri Street, San Francisco, CA 94107",      "school_name": "Daniel Webster Elementary School",      "grades_served": "K-5",      "distance_miles": 0.14,      "greatschools_link": "https://www.greatschools.org/california/san-francisco/6451-Daniel-Webster-Elementary-School/",      "number_of_students": 354,      "greatschools_rating": 8    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
greatschools.org/search_schools
Returns
school name, rating, grades, type, distance, address, enrollment, link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method greatschools.org/search_schools with the inputs above.

Ask your agent

  • Find the top rated public elementary schools within 5 miles of ZIP code 78701, sorted by rating.
  • What schools are near 412 Maple Ave, Springfield, IL? I only want high schools and charter schools.
  • Show me private middle schools close to Portland, Oregon, closest first, up to 15 results.
  • On greatschools.org, list preschools within 5 miles of 60614 sorted by distance.
  • I'm relocating to Austin, TX and need a list of any-type schools near 30301 Peachtree area, ranked by GreatSchools rating, maximum 50.
  • Finds a school on GreatSchools by name, city and state. Returns its ratings and key facts; anything the profile does not publish is null.

    greatschools.org/get_school
  • Searches Zillow homes for sale in a city and state, neighborhood or ZIP code, with optional price, bedroom, bathroom and property type filters and sort order, from Zillow's public search pages (up to 100 listings).

    zillow.com/search_homes
  • Finds real estate agents working in a city and state or ZIP code on Realtor.com, in Realtor.com's relevance order, with ratings, sales figures, price range, languages and phone number when published.

    realtor.com/search_agents
  • Finds recent USGS earthquakes near a city, address, or region, with distances and times in the searched place's time zone.

    earthquake.usgs.gov/search_earthquakes
  • Finds McDonald's restaurants within 50 miles of a US city, address or ZIP code, nearest first. Each result includes today's hours, services and directions. Open-now status follows the listed hours.

    mcdonalds.com/search_restaurants
  • Finds the AutoZone stores nearest a US ZIP code, city or street address, with contact details, opening hours, whether each is open now, distance and store page links.

    autozone.com/search_stores
  • Finds OfferUp items for sale near a US city or ZIP code, with prices, condition, seller names, distance and links. Distances use approximate listing locations.

    offerup.com/search_listings
  • Lists UK postcodes nearest to a postcode or named place, with distance, ward, council and coordinates. For places sharing a name, a city or town is preferred.

    postcodes.io/list_nearby_postcodes