Skip to content

ed.gov API: Compare US colleges on College Scorecard

Compares 2 to 5 US colleges from College Scorecard by enrollment, admissions, cost after aid, graduation, 10-year earnings and graduation debt. Missing figures are null; names not found are listed separately.

Unofficial. Not affiliated with or endorsed by ed.gov.

Inputs

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

Colleges, requiredcolleges

College names to compare, in the order to display them. Example: ["Ohio State University", "Purdue University"].

  • Northwestern University
  • Harvard University
  • Xyzqzz Imaginary Academy Blorp

List of text 2 to 5 items.

Output

From a run on Oct 31, 2026.
{  "colleges": [    {      "city": "Evanston",      "type": "private nonprofit",      "state": "IL",      "currency_code": "USD",      "official_name": "Northwestern University",      "federal_school_id": 147767,      "scorecard_page_link": "https://collegescorecard.ed.gov/school/?147767-Northwestern-University",      "undergraduate_students": 9201,      "acceptance_rate_percent": 7.69,      "graduation_rate_percent": 96.53,      "median_debt_at_graduation_usd": 15000,      "average_annual_cost_after_aid_usd": 29167,      "median_earnings_10_years_after_entering_usd": 89363    },    {      "city": "Cambridge",      "type": "private nonprofit",      "state": "MA",      "currency_code": "USD",      "official_name": "Harvard University",      "federal_school_id": 166027,      "scorecard_page_link": "https://collegescorecard.ed.gov/school/?166027-Harvard-University",      "undergraduate_students": 7601,      "acceptance_rate_percent": 3.65,      "graduation_rate_percent": 98.35,      "median_debt_at_graduation_usd": 14000,      "average_annual_cost_after_aid_usd": 19066,      "median_earnings_10_years_after_entering_usd": 101817    }  ],  "not_found": [    "Xyzqzz Imaginary Academy Blorp"  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
collegescorecard.ed.gov/compare_colleges
Returns
official name, city, state, type, undergraduates, acceptance rate, cost after aid, graduation rate, earnings, debt, Scorecard link; names not found

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 collegescorecard.ed.gov/compare_colleges with the inputs above.

Ask your agent

  • Compare University of Michigan, UCLA, and UNC Chapel Hill side by side: acceptance rate, average net price after aid, grad rate, and median earnings 10 years out.
  • My daughter got into Texas A&M and Georgia Tech — which one has lower student debt at graduation and better earnings? Pull the federal College Scorecard numbers.
  • Show me enrollment size, cost after financial aid, and graduation rates for Bowdoin, Williams, Amherst, Middlebury, and Swarthmore.
  • Using ed.gov's Scorecard data, how do Arizona State University and University of Arizona stack up on admissions rate and typical debt?
  • I'm deciding between Rutgers and Penn State — give me the official data on undergrad population, net cost, completion rate, and post-grad salaries.

See more

  • Finds 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_university
  • Lists the QS World University Rankings, or a QS subject ranking, for an edition and optionally one country, with each university's displayed rank, location, overall score and the indicator scores published for that table.

    topuniversities.com/list_university_rankings
  • Looks up a university on Times Higher Education and returns its latest displayed world ranking, overall and pillar scores, student statistics and subject rankings.

    timeshighereducation.com/get_university
  • Compares the official fuel economy and estimated annual fuel cost of two to four cars by year, make and model, using FuelEconomy.gov. Selects a base version when no trim is given.

    fueleconomy.gov/compare_cars
  • Gets NCAA college sports games for a date (or, for football, the week containing it) with scores, rankings, live status, TV networks and NCAA game links, optionally for one conference.

    ncaa.com/get_scores
  • Compare two to four G2 software products in your chosen order, with ratings, review counts, pricing, trial availability, and category scores. Pricing and individual scores may be unavailable when G2 does not show them.

    g2.com/compare_products
  • Gets the latest NCAA.com Top 25 ranking for a college sport: AP, College Football Playoff, or D1Baseball for baseball. Coaches polls and polls not yet published for the current season are unavailable.

    ncaa.com/get_rankings
  • 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