CollegeScoreCard.ed.gov API

⭐ Beginner's Pick Open Data / No Auth Required Beginner HTTPS
Free to Use Varies (check documentation)

Overview

The College Scorecard API provides detailed data on U.S. higher education institutions, including tuition costs, graduation rates, and earnings after graduation. It requires no authentication and is maintained by the U.S. Department of Education. Beginners can use it to build college comparison tools or scholarship finders.

💡

Beginner Tip

Use the fields parameter to request only the data you need, since each record contains hundreds of possible fields. Start with school.name, school.state, and latest.cost.tuition.in_state for a simple comparison.

Available Data

match scores and results
team standings
player statistics
schedule and fixtures
vehicle make and model
year and specifications

Example Response

JSON Response
{
  "match_id": 4521,
  "home_team": "Team A",
  "away_team": "Team B",
  "score": {
    "home": 2,
    "away": 1
  },
  "status": "Full Time",
  "date": "2025-01-15",
  "league": "Premier League"
}

Field Reference

results Array of school objects matching the query filters.
metadata Pagination info including total count and current page number.
school.name Official name of the higher education institution.
school.state Two-letter state abbreviation where the school is located.
latest.cost.tuition.in_state Annual in-state tuition cost in USD.
latest.completion.rate_suppressed.overall Overall graduation rate as a decimal (e.g., 0.65 = 65%).

Implementation Example

const url = "https://collegescorecard.ed.gov/data/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

400 Bad Request One or more field names in the fields parameter are misspelled or do not exist.
Reference the official field list at collegescorecard.ed.gov/data/documentation to find correct field names.
null values in response Some institutions do not report all data fields, resulting in null entries.
Add null checks in your code before rendering or calculating with field values.
Empty results The filter combination (state, size, type) has no matching schools.
Relax your filter criteria or check that the filter field names match the API documentation exactly.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 120ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Open Data
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →