The keyed API returns the same published figures as the pages, with one tool for each kind of record.
The API answers only from the published release. It never writes a figure of its own, and a masked figure reads as not published.
AI assistants can use the public MCP endpoint at https://opencollege.thecompound.tech/mcp without a key. Use OpenCollege in an AI assistant
Plans
| Plan | Price | Calls a month | Calls a minute | For |
|---|---|---|---|---|
| OpenCollege free developer key | Free | 1,000 | 10 | Developers trying the API |
| OpenCollege API Builder | $49 a month | 50,000 | 60 | Apps and tools built on the data |
| OpenCollege API Scale | $199 a month | 250,000 | 120 | Higher-volume products |
Paid plans are not on sale yet.
Free developer key
Keys are not issued yet. The MCP endpoint answers without a key today.
Documentation
GET https://opencollege.thecompound.tech/api/v1/tools lists every tool and its inputs. No key is needed for the list.
Call a tool with GET and query parameters, or POST a JSON body, with your key in an Authorization: Bearer header. Every answer carries the page address, the sources and the notes.
An OpenAPI description is at https://opencollege.thecompound.tech/openapi.json.
curl -H "Authorization: Bearer YOUR_KEY" \ "https://opencollege.thecompound.tech/api/v1/tools/get_program?opeid6=006385&cip4=5138&credential=3"
Tools
search_programs: Find college programs by field, school, credential and state. This tool returns up to 10 programs with median earnings four years after finishing, or not published, and each program's page address. Name a field or a school.get_program: This tool returns every published figure for one program. A program is one credential in one field at one school. The results include median earnings 1, 4, 5 and 7 years after finishing with the cohort and the count, the national figure for the field, the comparison with the Department's medians for high-school graduates, federal loan debt and awards.compare_programs: This tool returns two to four programs side by side. Each figure includes its cohort and count.find_programs_for_career: This tool finds an occupation by name or code, lists the fields the federal crosswalk links to it, and returns up to 10 programs in those fields with their published four-year earnings.search_schools: Find schools by name, optionally in one state. This tool returns up to 10 schools with their place, sector and number of program pages.get_school: This tool returns one school's facts from the institution file and its programs with median earnings four years after finishing, or not published. It lists at most 50 programs.list_fields: Find fields of study by name and return their four-digit codes. This tool returns up to 20 fields.get_field: This tool returns the national median and middle-half earnings for one field by credential, the number of programs and how many have a published four-year figure.get_earnings_test: This tool returns one program's published four-year median, the Department's median for high-school graduates in the school's state and in the nation, and the difference in dollars. This is not an official test result.search_training_programs: This tool finds up to 10 training programs on state lists by field, provider name or state, with their published completion, employment and pay.get_training_program: This tool returns one training program from the Department of Labor's file: people served, completion and employment rates, second-quarter pay, length and cost, with their counts.get_data_sources: This tool returns the files the current release was built from, their release dates and licence notes, and the sources the register holds.