Skip to main content
Federal data from IPEDS & College Scorecard

GradFax API v1

Cited college data, free to build on.

All ~6,000 accredited US institutions. Sourced from IPEDS, College Scorecard, and ED.gov. JSON over HTTPS. No paid rankings, no marketing copy in the data.

Quick start

  1. Sign in to GradFax and visit /my-gradfax/api-keys
  2. Create a key, you get a string starting with gf_live_
  3. Pass it as the X-API-Key header on every request
curl -H "X-API-Key: gf_live_abc123..." \
  "https://www.gradfax.com/api/v1/schools?state=CA&limit=5"

Authentication

All v1 read endpoints require an X-API-Key header. Keys never expire but you can revoke and rotate them at any time from your dashboard.

Key management endpoints (/api/v1/keys) use your authenticated session cookie instead, they're not callable from third-party servers.

Never embed your API key in client-side code. Anyone who views the page source can copy it and exhaust your monthly quota. Proxy through your own backend.

MCP server for AI agents

AI assistants that speak the Model Context Protocol can read the same cited government data (IPEDS and College Scorecard) through one read-only endpoint: https://www.gradfax.com/api/mcp. It uses the same API key and the same monthly allowance as the REST API: each tool call counts as one request. Every successful answer lists its sources.

claude mcp add --transport http gradfax https://www.gradfax.com/api/mcp \
  --header "X-API-Key: gf_live_YOUR_KEY"

Tools, setup for other clients, limits and terms

Endpoints

GET/api/v1/schools

List schools with filters

Params: state, control (public/private), max_tuition, min_acceptance_rate, max_acceptance_rate, hbcu, limit (max 100), offset

curl -H "X-API-Key: gf_live_..." "https://www.gradfax.com/api/v1/schools?state=CA&max_tuition=20000&limit=10"
GET/api/v1/schools/[id]

Single school by IPEDS unitid or slug

Params: id (path param): IPEDS unitid integer, or the school slug

curl -H "X-API-Key: gf_live_..." "https://www.gradfax.com/api/v1/schools/110635"
GET/api/v1/keys

List your API keys (requires session, not API key)

Params: none, uses authenticated session cookie

fetch("/api/v1/keys", { credentials: "include" })
POST/api/v1/keys

Create a new API key

Params: name (string, optional, defaults to "My App")

fetch("/api/v1/keys", { method: "POST", headers: {"Content-Type":"application/json"}, body: JSON.stringify({ name: "My App" }) })

Response fields

Every school object includes the fields below. Some may be null when the source data is suppressed (e.g., small cohorts where IPEDS withholds for privacy).

FieldDescription
unitidIPEDS unique identifier
nameInstitution name
city, state, zipLocation
websiteOfficial URL
latitude, longitudeCoordinates
localeUrban / suburban / rural code
controlIPEDS control code: 1 public, 2 private nonprofit, 3 private for-profit
institution_level4-year / 2-year / less than 2-year
hbcu, tribal, land_grantDesignation flags
acceptance_rateMost recent admit rate (percent, 0-100)
enrollment_totalTotal undergrad + grad enrollment
tuition_instate, tuition_outstateSticker price
avg_net_price_overallAverage net price (sticker minus aid)
grad_rate_4yrgraduation rate within 150% of normal time
retention_rateFirst-to-second year retention
earnings_10yrMedian earnings 10 years post-enrollment
median_debtMedian federal loan debt at graduation
sat_math_25/75, sat_reading_25/75SAT 25th/75th percentile
act_composite_25/75ACT 25th/75th percentile
pct_receiving_pell% of undergrads on Pell grants
pct_women% female enrollment
pct_first_generation% first-gen students
mascot, primary_colorBrand metadata, not from IPEDS or College Scorecard

Free to use

Free. No paid plans.

2,000 requests a month per key

  • • All read endpoints and the MCP server
  • • Up to 10 keys per account (5,000 requests a month across all of them)
  • • Support by email
Get a free key

Need more than 2,000 requests a month? Email josh@gradfax.com.

Rate limits & errors

Limits reset on the 1st of each month at 00:00 UTC. A key created on the 29th, 30th or 31st may get its first reset a month later than that. When you hit the cap, requests return:

HTTP 429 Too Many Requests
{
  "error": "Monthly limit reached (2000 requests for free tier). Resets Tue Dec 01 2026."
}
StatusMeaning
200OK
401Missing or invalid X-API-Key
404School not found (unknown unitid or slug)
429Monthly quota exceeded
500Server error, please email us

Data sources

  • • IPEDS: National Center for Education Statistics, institutional characteristics + enrollment + outcomes
  • • College Scorecard: US Department of Education, earnings + debt + repayment
  • • ED.gov Net Price Calculators, federally mandated, per-school
  • • Common Data Set, voluntary per-school disclosures (when available)

Refresh cadence: IPEDS annually (December), Scorecard annually (March-April).

Got questions or building something cool?

Reply to josh@gradfax.com: Josh reads everything.

Create your first key →