← Agent Data Hub · Search endpoints · /llms.txt
For a US college or university: in-state and out-of-state tuition, average net price, acceptance (admission) rate, undergraduate and graduate students, graduation rate and median earnings after graduation, with city, state, type and the year of each figure, from the U.S. Department of Education College Scorecard (6,196 operating institutions). A name several colleges share returns them all as candidates with city and state. Without a college: how many colleges a state (or the US) has and the largest by enrollment.
GET https://api.agentdatahub.de/api/v1/call/us-college-facts?college=Harvard&compact=1
Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"us-college-facts"}
curl:
curl -s 'https://api.agentdatahub.de/api/v1/call/us-college-facts?college=Harvard&compact=1'
Python (standard library only):
import json, urllib.request
url = "https://api.agentdatahub.de/api/v1/call/us-college-facts?college=Harvard&compact=1"
with urllib.request.urlopen(url, timeout=30) as r:
data = json.load(r)
print(json.dumps(data, indent=2)[:2000])
Google Sheets:
=IMPORTDATA("https://api.agentdatahub.de/api/v1/history/us-college-facts?college=Harvard&_order=desc&_limit=500&format=csv")
The recorded history of this call as CSV, newest first. Excel: Data → From Web with the same address.
college | Optional: college name, e.g. Harvard, Ohio State University, UCLA, University of North Carolina at Chapel Hill |
unitid | Optional instead of college: the IPEDS unit id, e.g. 199120 |
state | Optional: US state code, e.g. RI; without college it gives the count and largest colleges of that state |
min_students | Optional, without college: only colleges with more undergraduates than this, e.g. 1000 |
limit | 1 to 10 colleges (default: 5) |
{
"apiId": "us-college-facts",
"trust": "checked",
"data_freshness": "live",
"data": {
"query": "Harvard",
"matches": 1,
"colleges": [
{
"unitid": 166027,
"name": "Harvard University",
"city": "Cambridge",
"state": "MA",
"type": "private nonprofit",
"predominant_degree": "bachelor's",
"undergraduate_students": 7601,
"graduate_students": 21415,
"admission_rate": 0.0365,
"tuition_in_state_usd": 64796,
"tuition_out_of_state_usd": 64796,
"average_net_price_usd": 19148,
"graduation_rate": 0.9816,
"median_earnings_usd": 134794,
"median_earnings_10yr_after_entry_usd": 121957,
"scorecard_page": "https://collegescorecard.ed.gov/school/?166027"
}
],
"data_years": {
"admission_rate_and_students": "fall 2024",
"tuition": "2025-26 (per year, tuition and fees)",
"average_net_price": "2024-25 (cost of attendance minus average grants, students with federal aid)",
"graduation_rate": "students who entered in 2017-18, award within 8 years (all students, pooled, as on the Scorecard page)",
"median_earnings": "graduates of 2017-18 and 2018-19, 4 years after completing, earned in 2022-2023, in 2024 dollars (as on the Scorecard page)",
"median_earnings_10yr_after_entry": "students who entered in 2011-12 and 2012-13, earned in 2022-2023, in 2024 dollars",
"file": "Most-Recent-Cohorts-Institution_11022026.zip (data dictionary 2026-10-15)"
},
"note": "College Scorecard, U.S. Department of Education (CC BY). Rates are shares (0.1534 = 15.34 %); money in USD. null = no value or suppressed for privacy, not zero. Only institutions that are currently operating and take federal student aid (Title IV), branch campuses with their own ID separately. Not endorsed by the Department."
},
"source": "U.S. Department of Education, College Scorecard (Most Recent Institution-Level Data)",
"source_url": "https://collegescorecard.ed.gov/data/",
"license": "CC BY (U.S. Department of Education dataset record); cite College Scorecard",
"licence_status": "green",
"as_of": "2026-12-03",
"as_of_basis": "fetched",
"checked": "2026-12-03"
}
Recorded history available: /api/v1/history/us-college-facts?college=Harvard
| Source | U.S. Department of Education, College Scorecard (Most Recent Institution-Level Data) |
| License | CC BY (U.S. Department of Education dataset record); cite College Scorecard |
| Source URL | https://collegescorecard.ed.gov/data/ |
| Terms | https://catalog.data.gov/dataset/college-scorecard |
| Category | Knowledge, Research & News › Higher Education · more: wiki-on-this-day · wiki-summary-de · wiki-summary-en |