Estimate college degree costs for U.S. universities
GET https://college-financial-api.gradtrack.workers.dev/
{
"name": "College Degree Cost API",
"version": "2.0.0",
"endpoints": {
"/degree-cost": "Get cost for a single university",
"/compare": "Compare costs across multiple universities",
"/program-cost": "Get cost for a specific program/field of study"
}
}
GET https://college-financial-api.gradtrack.workers.dev/degree-cost?university=MIT&years=4&adjust_inflation=true
{
"university": "Massachusetts Institute of Technology",
"degree": "Bachelor",
"years": 4,
"in_state_total": 348032,
"out_of_state_total": 348032,
"breakdown": {
"tuition_in_state": 62484,
"tuition_out_state": 62484,
"room_board": 19922,
"other_expenses": 4602
},
"inflation_adjusted": true
}
GET https://college-financial-api.gradtrack.workers.dev/compare?universities=MIT,Stanford,University%20of%20Florida
{
"degree": "Bachelor",
"years": 4,
"inflation_adjusted": false,
"comparisons": [
{
"university": "University of Florida",
"in_state_total": 99808,
"out_of_state_total": 152328,
"breakdown": { ... }
}
],
"cheapest_in_state": "University of Florida",
"cheapest_out_state": "University of Florida"
}
GET https://college-financial-api.gradtrack.workers.dev/program-cost?university=MIT&program=Computer%20Science
{
"university": "Massachusetts Institute of Technology",
"program": "Computer Science",
"degree": "Bachelor",
"years": 4,
"in_state_total": 348032,
"out_of_state_total": 348032,
"breakdown": { ... },
"program_data": {
"program_name": "Computer Science",
"programs_available": true,
"note": "Program-specific cost data may not be available..."
},
"inflation_adjusted": false
}