Query the College Scorecard API to retrieve graduation rate and cost data for a set of institutions

domain: collegescorecard.ed.gov · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register for a free API key at api.data.gov; keys are issued instantly and must be included as api_key=YOUR_API_KEY in every request query string.
  2. Construct a GET request to https://api.data.gov/ed/collegescorecard/v1/schools with parameters: fields=id,school.name,school.state,latest.completion.completion_rate_4yr_150nt,latest.cost.avg_net_price.public and filter parameters such as school.state=CA.
  3. Use the per_page parameter (default 20, max 100) and page parameter for pagination; iterate until results are exhausted (response total is less than per_page).
  4. Join institution records using the id field (OPE ID) to match against IPEDS unit IDs or other institutional identifiers in your system.
  5. Use the school.school_url and school.city fields for display metadata; never cache API responses beyond the data release cadence (typically one to two releases per year).
  6. For field-of-study data, query /v1/schools.programs.latest.programs.cip_4_digit using CIP code filters to retrieve earnings and debt outcomes at the program level.

Known gotchas

Related routes

Query the College Scorecard API
ed.gov · 6 steps · unrated
Paginate through College Scorecard API results using page and per_page parameters
collegescorecard.ed.gov · 6 steps · unrated
Pull postsecondary institution data from the NCES EDGE Open Data REST API
data-nces.opendata.arcgis.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans