GreatSchools API: Get school rating and facts
Finds a school on GreatSchools by name, city and state. Returns its ratings and key facts; anything the profile does not publish is null.
Unofficial. Not affiliated with or endorsed by GreatSchools.
Inputs
Values from the run on Nov 3, 2026, shown under Output.
- School, required
school School name, for example Lincoln High School.
Alameda Elementary School
- Location, required
location City and two-letter state, for example Portland, OR.
Portland, OR
Input as JSON
{ "school": "Alameda Elementary School", "location": "Portland, OR"}Output
{ "type": "public", "phone": "(503) 916-6036", "address": "2732 Northeast Fremont Street, Portland, OR 97212", "website": "http://www.pps.net/schools/alameda" , "district": "Portland School District 1j", "school_name": "Alameda Elementary School", "equity_rating": null, "grades_served": "K-5", "greatschools_link": "https://www.greatschools.org/oregon/portland/866-Alameda-Elementary-School/" , "number_of_students": 498, "test_scores_rating": 10, "greatschools_rating": 10, "student_teacher_ratio": "19:1", "student_progress_rating": 6, "college_readiness_rating": null}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"greatschools.org/get_school","input":{"school":"Alameda Elementary School","location":"Portland, OR"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "greatschools.org/get_school" , "input": { "school": "Alameda Elementary School", "location": "Portland, OR" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "greatschools.org/get_school" , "input": { "school": "Alameda Elementary School", "location": "Portland, OR" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run greatschools.org/get_school# with {"school":"Alameda Elementary School","location":"Portland, OR"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "school", "location" ], "properties": { "school": { "type": "string", "minLength": 1, "description": "School name, for example Lincoln High School." }, "location": { "type": "string", "description": "City and two-letter state, for example Portland, OR." } }}Output schema
{ "type": "object", "required": [ "school_name", "greatschools_link" ], "properties": { "type": { "type": [ "string", "null" ] }, "phone": { "type": [ "string", "null" ] }, "address": { "type": [ "string", "null" ] }, "website": { "type": [ "string", "null" ] }, "district": { "type": [ "string", "null" ] }, "school_name": { "type": "string" }, "equity_rating": { "type": [ "integer", "null" ] }, "grades_served": { "type": [ "string", "null" ] }, "greatschools_link": { "type": "string" }, "number_of_students": { "type": [ "integer", "null" ] }, "test_scores_rating": { "type": [ "integer", "null" ] }, "greatschools_rating": { "type": [ "integer", "null" ] }, "student_teacher_ratio": { "type": [ "string", "null" ] }, "student_progress_rating": { "type": [ "integer", "null" ] }, "college_readiness_rating": { "type": [ "integer", "null" ] } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
greatschools.org/get_school- Returns
- school name, GreatSchools rating and subratings, grades, type, district, students, ratio, address, phone, website, 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/get_school with the inputs above.
Ask your agent
- What is the GreatSchools rating for Lincoln High School in Portland, OR?
- Show me the ratings and student count for Westview Elementary in Austin, TX.
- Find the grades offered, school type, and district for Roosevelt Middle School in Denver, CO.
- I need the address, phone number, and website for Oakmont Academy in Sacramento, CA.
- Look up the subratings and student-teacher ratio for Riverside High School in Tampa, FL on GreatSchools.
See more
All GreatSchools methodsFinds 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/search_schoolsLooks up a public Google Maps place by name and location and returns its profile: address, rating, hours, phone, website and photos.
google.com/get_placeGets the Walk, Transit and Bike Scores and neighborhood details for a street address. Unpublished scores are null; unresolved or mismatched addresses are not found.
walkscore.com/get_walk_scoreFinds the best-matching Better Business Bureau profile for a business name and city/state or ZIP code, with its BBB rating, accreditation, customer reviews, complaint counts and alerts. BBB ratings are not customer review scores.
bbb.org/get_business_profileSearches Homes.com homes for sale in a US city, neighborhood, or ZIP code, with optional price, bedroom, bathroom and home type filters. Returns listings in site order; days on market is null when not shown.
homes.com/search_homesFinds a university's QS profile by name and returns its latest QS World University Ranking and overall score, location, student figures, faculty ratio, public tuition ranges and up to five listed subject ranks.
topuniversities.com/get_universitySearches 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_homesSearches Realtor.com homes for sale, for rent, or recently sold in a city, neighborhood or ZIP code, with optional price, bedroom, bathroom and home type filters and sort order. Rentals with price ranges use the lowest advertised rent; withheld sold prices are blank.
realtor.com/search_homes