The public API.
Two ways in: simple no-auth JSON for agents and scripts — including a pasteable MCP URL — and the full PostgREST archive at https://api.collegedata.fyi for bulk work. Every page on this site is built from the endpoints below. Keep the source label next to the number.
Simple endpoints
The friendly surface for MCP tools, CLIs, notebooks, and quick integrations. These endpoints do not require the Supabase anon key and return source labels next to facts so agents can cite values without guessing where they came from.
curl 'https://www.collegedata.fyi/api/schools/search?q=mit'
curl 'https://www.collegedata.fyi/api/schools/mit/facts?categories=admissions,cost,outcomes'
curl 'https://www.collegedata.fyi/api/schools/university-of-notre-dame/facts?categories=finance'
curl 'https://www.collegedata.fyi/api/schools/mit/sources'
curl 'https://www.collegedata.fyi/api/compare?schools=mit,yale,university-of-chicago&categories=admissions,cost,outcomes'
curl 'https://www.collegedata.fyi/api/fields'
curl 'https://www.collegedata.fyi/openapi.json'GET /api/facts/{school_id}is deprecated. It is an older flat summary of one school's latest filing, and some of its values are read from fixed question numbers that do not line up for every school and year. Use /api/schools/{school_id}/facts instead, which labels the source of each value.
Errors are JSON with an error code and a message. A missing q or schools parameter, or an unusable categories filter, returns 400. An unknown school returns 404 on the per-school endpoints; /api/compare returns a row of blanks for it. /api/compare reads at most 25 schools per request and ignores the rest.
If you pass an old or alternate school slug to /api/schools/{school_id}/facts, /api/schools/{school_id}/sources, or /api/facts/{school_id}, the response is a 308 redirect to the same endpoint under the canonical school_id. Follow redirects (curl -L, or the default in most HTTP libraries). A client that does not follow them will see the redirect instead of data. Take canonical IDs from /api/schools/search.
Building something with this data?
I'd love to see it. Share a link or a sentence about what you're working on, whether it's public or just for you.
The same simple endpoints from R, with no API key. httr2 and jsonlite are enough. Send X-CollegeData-Client so we can tell research scripts apart from other traffic.
library(httr2)
library(jsonlite)
facts <- request("https://www.collegedata.fyi/api/schools/mit/facts") |>
req_url_query(categories = "admissions,cost,outcomes") |>
req_headers(`X-CollegeData-Client` = "r-httr2") |>
req_perform() |>
resp_body_json()
compare <- request("https://www.collegedata.fyi/api/compare") |>
req_url_query(
schools = "mit,yale,university-of-chicago",
fields = "acceptance_rate,avg_net_price"
) |>
req_headers(`X-CollegeData-Client` = "r-httr2") |>
req_perform() |>
resp_body_json()The per-school facts endpoint accepts the finance category for endowment facts. The fixed-schema compare endpoint does not: a compare request containing finance returns 400instead of substituting unrelated fields. A categories filter with no recognized values also returns 400 on either endpoint.
The hosted MCP endpoint is https://www.collegedata.fyi/api/mcp. The CLI and the stdio MCP file (local dev / Claude Code) live in the repo under packages/cli and packages/mcp-server. Both wrap the simple endpoints rather than reimplementing query logic.
If you build on these endpoints, send a short X-CollegeData-Client header such as my-app-name. It helps us understand API usage and keep the free public surface healthy without requiring API keys. Aggregate counts are public on the usage page.
School search, facts, sources, and compare (/api/schools* and /api/compare) allow 300 requests per minute per IP. Exceeding that returns 429. Wait a minute, then retry. Cache what you fetch; for bulk work, use the snapshots below or email contact@bolewood.com.
Start here
1. Try search, facts, and compare
Start with search, facts, and compare. If these three work, the friendly API surface is healthy enough for most agent and CLI use.
curl 'https://www.collegedata.fyi/api/schools/search?q=mit'
curl 'https://www.collegedata.fyi/api/schools/mit/facts?fields=avg_net_price,graduation_rate_6yr'
curl 'https://www.collegedata.fyi/api/compare?schools=mit,yale,university-of-chicago&fields=acceptance_rate,avg_net_price'2. Run the CLI
From a checkout of the repo, the CLI can point at production, preview, or localhost with COLLEGEDATA_API_BASE.
COLLEGEDATA_API_BASE=https://www.collegedata.fyi node packages/cli/bin/collegedata.js search mit
COLLEGEDATA_API_BASE=https://www.collegedata.fyi node packages/cli/bin/collegedata.js facts mit --categories admissions,cost
COLLEGEDATA_API_BASE=https://www.collegedata.fyi node packages/cli/bin/collegedata.js compare mit yale university-of-chicago --format csv
COLLEGEDATA_API_BASE=https://www.collegedata.fyi node packages/cli/bin/collegedata.js sources mit
COLLEGEDATA_API_BASE=https://www.collegedata.fyi node packages/cli/bin/collegedata.js fields --category admissions
COLLEGEDATA_API_BASE=https://www.collegedata.fyi node packages/cli/bin/collegedata.js export schools --format jsonlSix subcommands: search, facts, compare, sources, fields, and export (downloads one snapshot file, such as schools or sources).
3. Connect an MCP client
The hosted MCP endpoint is Streamable HTTP, no API key, same five tools as the stdio server. In Claude: Settings → Connectors → Add custom connector, then paste the URL. That works on web, desktop, mobile, and Cowork — no Node, no config file, no restart.
https://www.collegedata.fyi/api/mcpTools: search_schools, get_school_facts, compare_schools, get_source_documents, get_field_dictionary. Auth: none. The PostgREST host at api.collegedata.fyi is not an MCP endpoint.
The stdio Node file is for local development and Claude Code. Point COLLEGEDATA_API_BASE at localhost, use an absolute path in claude_desktop_config.json, Node 20 or newer. File: packages/mcp-server/bin/collegedata-mcp.js. If Claude reports spawn node ENOENT, set command to the path that which node prints.
{
"mcpServers": {
"collegedata": {
"command": "node",
"args": ["/absolute/path/to/collegedata-fyi/packages/mcp-server/bin/collegedata-mcp.js"]
}
}
}4. Download a snapshot
Four bulk files for notebooks and local analysis: schools.jsonl, school_facts.jsonl (the latest primary filing per school, for schools with a 2024-25 or newer filing, limited to the fields in the friendly dictionary that come from the comparison table), sources.jsonl, and field_dictionary.json. The files are usually regenerated from the live database within the hour; check generated_at in the manifest. The dated URL (/snapshots/v1/YYYY-MM-DD/) is an alias for the same current data, not a frozen copy, so download and store a file if you need it to stay fixed.
curl 'https://www.collegedata.fyi/snapshots/latest/manifest.json'
curl 'https://www.collegedata.fyi/snapshots/latest/schools.jsonl'
curl 'https://www.collegedata.fyi/snapshots/latest/school_facts.jsonl'
curl 'https://www.collegedata.fyi/snapshots/latest/sources.jsonl'
curl 'https://www.collegedata.fyi/snapshots/latest/field_dictionary.json'5. When a value is missing
A missing value is usually one of four things: the school has no public CDS, the school's filing leaves the field blank, the field is not in the friendly dictionary, or the row failed a sanity check and was withheld. The sources endpoint shows the document and the federal release behind the page.
curl 'https://www.collegedata.fyi/api/schools/mit/sources'
curl 'https://www.collegedata.fyi/api/fields?category=admissions'
curl 'https://www.collegedata.fyi/llms.txt'Raw PostgREST authentication
All requests require a Supabase anon key passed as both an apikey query parameter and an Authorization bearer header. The anon key is public and grants read-only access to the published views below.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImlzZHV3bXlndm1kb3pocHZ6YWl4Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzYxMDk3NTksImV4cCI6MjA5MTY4NTc1OX0.fYZOIHyrOWzidgc-CVxWCY5Fe9pQk12-6YjDIS6y9qsCustom headers like X-CollegeData-Client don't reach our logs on raw PostgREST and file downloads. To identify your app there, set a descriptive User-Agent such as my-app-name/1.0 (+https://example.org). We count requests by app and never store IP addresses.
Resources
These are the supported public tables and views. A few other anon-readable views (cds_metric_aliases, cds_canonical_field_equivalence, site_stats_cache) exist for the site itself. They are internal and may change without notice.
GET /rest/v1/cds_manifesttry it →One row per archived CDS document — school, year, source URL, format, extraction_status. Carries ipeds_id so federal joins are one query.
school_idschool_nameipeds_idcanonical_yearsource_formatsource_urlextraction_statusdata_quality_flagShow all 22 fields →Hide additional fields
document_idsub_institutionalcds_yeardetected_yearsource_storage_pathparticipation_statusextracted_atlatest_canonical_artifact_iddiscovered_atsource_http_last_modifiedsource_creation_datesource_modification_datelast_verified_atremoved_atGET /rest/v1/cds_publish_eventstry it →Append-only log of school-direct Common Data Set inserts and refreshes. Public rows are source_provenance=school_direct only. Prefer the per-school RSS feed at /schools/{school_id}/feed.xml.
school_idcds_yearevent_typeoccurred_atShow all 8 fields →Hide additional fields
iddocument_idsource_provenancesource_sha256GET /rest/v1/cds_artifactstry it →Raw artifacts keyed by document. Prefer cds_fields for field-level queries.
document_idkindproducernotescreated_atShow all 10 fields →Hide additional fields
idproducer_versionschema_versionstorage_pathsha256GET /rest/v1/cds_fieldstry it →359,721 normalized field rows from 2024-25 and newer filings. Derived metrics such as acceptance_rate live on school_browser_rows.
school_idschool_namecanonical_yearfield_idcanonical_metricvalue_numvalue_textvalue_kindsub_institutionalShow all 23 fields →Hide additional fields
document_idipeds_idyear_startschema_versioncanonical_field_idequivalence_kindvalue_boolvalue_statussource_formatproducerproducer_versiondata_quality_flagarchive_urlupdated_atGET /rest/v1/school_browser_rowstry it →781 primary 2024-25+ rows across 519 schools, refreshed Nov 11, 2026. The curated serving layer behind Compare, CSV export, and the academic-profile and admission-rounds cards.
school_idschool_namecanonical_yearappliedadmittedacceptance_rateyield_rateed_offereded_applicantsed_admittedea_offeredavg_net_pricesat_composite_p50Show all 58 fields →Hide additional fields
document_idsub_institutionalipeds_idyear_startschema_versionsource_formatproducerproducer_versiondata_quality_flagarchive_urlenrolled_first_yearundergrad_enrollment_scorecardscorecard_data_yearretention_ratepell_ratesat_submit_rateact_submit_ratesat_composite_p25sat_composite_p75sat_ebrw_p25sat_ebrw_p50sat_ebrw_p75sat_math_p25sat_math_p50sat_math_p75act_composite_p25act_composite_p50act_composite_p75ed_has_second_deadlineea_restrictivewait_list_policywait_list_offeredwait_list_acceptedwait_list_admittedc711_first_gen_factorc712_legacy_factorc713_geography_factorc714_state_residency_factorc718_demonstrated_interest_factorapp_fee_amountapp_fee_waiver_offeredadmission_strategy_card_qualityfederal_baseline_availablefederal_source_modeupdated_atGET /rest/v1/school_facts_unifiedtry it →Source-labeled NCES/IPEDS baseline facts for in-scope institutions. This is the public serving view for the IPEDS coverage layer; raw IPEDS JSON rows are intentionally not exposed.
school_idschool_nameipeds_idfield_keyfield_labeldisplay_valuequality_flagdefinition_alignmentsource_tablesource_variableShow all 29 fields →Hide additional fields
citystatein_scopecollection_yeardata_yearvalue_numericvalue_textvalue_labelunitcohortpopulationsource_layersource_titlerelease_typeimputation_flagimputation_labeldefinition_notedisplay_groupcreated_atGET /rest/v1/fsa_nonpayment_currenttry it →Latest Federal Student Aid institutional nonpayment vintage, one public row per matched school_id. Direct Loan borrowers who entered repayment January 2020–May 2025 and were 90+ days delinquent at the FSA pull. This is not the official cohort default rate. institution_directory exposes opeid (8-digit Scorecard key) and opeid6 (left 6).
school_idopeidnonpayment_rateas_of_dateas_of_labelsource_urlShow all 16 fields →Hide additional fields
school_name_rawschool_typestateborrowers_in_denomrate_rawcohort_window_startcohort_window_endsource_sha256announcement_urltitleGET /rest/v1/ipeds_current_factstry it →Latest public IPEDS fact per public ipeds_id and field key. Prefers newer data years, then final over provisional over preliminary within the same data year. This view is backed by a materialized serving cache; use school_facts_unified for school-page display because it already joins institution names, slugs, and in-scope filtering.
ipeds_idschool_idfield_keyfield_labelvalue_numericvalue_labelrelease_typedefinition_alignmentquality_flagShow all 27 fields →Hide additional fields
release_idunitidcollection_yeardata_yearvalue_textunitcohortpopulationsource_tablesource_variablesource_titleimputation_flagimputation_labeldefinition_notedisplay_grouppublic_visiblecreated_atrnGET /rest/v1/ipeds_factstry it →Curated long-form NCES/IPEDS facts. This is the source-labeled fact table behind ipeds_current_facts and school_facts_unified; every row keeps release, source variable, imputation, and CDS-definition alignment metadata. Endowment history uses the endowment_value_* and endowment component field keys. For historical reads, filter by ipeds_id, field_key, and data_year rather than raw unitid.
ipeds_idschool_idcollection_yearfield_keyfield_labelvalue_numericvalue_labelsource_tablesource_variablerelease_typeShow all 26 fields →Hide additional fields
release_idunitiddata_yearvalue_textunitcohortpopulationsource_titleimputation_flagimputation_labelquality_flagdefinition_alignmentdefinition_notedisplay_grouppublic_visiblecreated_atGET /rest/v1/ipeds_releasestry it →Official NCES/IPEDS release-load provenance. Tracks collection year, data year, release type, release date, source URLs, checksums, and loader notes.
collection_yeardata_yearrelease_typerelease_datemetadata_urlaccess_urlShow all 14 fields →Hide additional fields
idsource_page_urlsource_page_sha256metadata_sha256access_sha256downloaded_atnotescreated_atGET /rest/v1/ipeds_tablestry it →IPEDS table metadata from the official Tablesdoc workbook plus loader-observed row counts and source checksums.
table_namesurvey_componenttable_titledata_urlrow_countShow all 15 fields →Hide additional fields
release_idyear_coveragetable_numberdescriptiontable_releasetable_release_datedictionary_urlsource_sha256loaded_atcreated_atGET /rest/v1/ipeds_columnstry it →Variable metadata from the official IPEDS Tablesdoc workbook, including long descriptions and imputation-variable pointers.
table_namevar_namevar_titledata_typeimputation_varShow all 22 fields →Hide additional fields
release_idsurvey_componenttable_numbertable_titlevar_numbervar_orderfield_widthformatmulti_recordhas_rvfile_numbersection_numberlong_descriptionvar_sourcefile_titlesection_titlecreated_atGET /rest/v1/ipeds_value_labelstry it →Categorical code labels from official IPEDS metadata, including reporting-status and imputation-code labels.
table_namevar_namecode_valuevalue_labelfrequencyShow all 10 fields →Hide additional fields
release_idpercentvalue_ordervar_titlecreated_atGET /rest/v1/school_merit_profiletry it →Latest primary 2024-25+ CDS Section H merit and need-aid facts per school, joined to selected College Scorecard affordability and outcome fields. Used by the school-page merit profile. institutional_aid_academics is deprecated (it ORs the non-need and need-based academics criteria); use merit_criteria_academics (H.1401) and need_criteria_academics (H.1411).
school_idschool_namecanonical_yearfirst_year_ft_studentsnon_need_aid_recipients_first_year_ftavg_non_need_grant_first_year_ftnon_need_aid_share_first_year_ftavg_net_pricegraduation_rate_6yrShow all 58 fields →Hide additional fields
document_idsub_institutionalipeds_idyear_startschema_versionsource_formatproducerproducer_versiondata_quality_flagarchive_urlall_ft_undergradsneed_grants_totalnon_need_grants_totalaid_recipients_first_year_ftaid_recipients_all_ftavg_aid_package_first_year_ftavg_aid_package_all_ftavg_need_grant_first_year_ftavg_need_grant_all_ftavg_need_self_help_first_year_ftavg_need_self_help_all_ftnon_need_aid_recipients_all_ftavg_non_need_grant_all_ftnon_need_aid_share_all_ftinstitutional_need_aid_nonresidentinstitutional_non_need_aid_nonresidentavg_international_aidinstitutional_aid_academicsmerit_criteria_academicsneed_criteria_academicscds_merit_core_countcds_merit_field_countmerit_profile_qualityscorecard_data_yearearnings_6yr_medianearnings_8yr_medianearnings_10yr_medianearnings_10yr_p25earnings_10yr_p75median_debt_completersmedian_debt_monthly_paymentnet_price_0_30knet_price_30k_48knet_price_48k_75knet_price_75k_110knet_price_110k_pluspell_grant_ratefederal_loan_rateretention_rate_ftGET /rest/v1/institution_directorytry it →One row per U.S. institution in the IPEDS/Scorecard directory, with the school_id slug used across the archive, location, control, level, brand colors, and OPE IDs. in_scope marks the schools the project tracks.
ipeds_idschool_idschool_namecitystatecontrolin_scopeopeidShow all 30 fields →Hide additional fields
aliaseszipwebsite_urlscorecard_data_yearundergraduate_enrollmentinstitution_levelpredominant_degreehighest_degreecurrently_operatingmain_campusbranch_countlatitudelongitudeexclusion_reasondirectory_sourcerefreshed_atbrand_colorsbrand_colors_sourcebrand_colors_checked_atbrand_colors_confidencebrand_colors_notesopeid6GET /rest/v1/institution_cds_coveragetry it →One row per tracked institution with its Common Data Set coverage status and the latest year found. Backs the /coverage page.
ipeds_idschool_idschool_namecoverage_statuscoverage_labellatest_available_cds_yearlast_checked_atShow all 22 fields →Hide additional fields
aliasescitystatewebsite_urlundergraduate_enrollmentscorecard_data_yearcoverage_summarylatest_found_cds_yearlatest_attempted_yearlatest_document_idlatest_public_source_urllatest_field_countcan_submit_sourcesearch_textupdated_atGET /rest/v1/cds_field_change_eventstry it →Year-over-year changes in a school's reported fields, with severity, before and after values, and links to both source documents. Backs the /changes page. Only rows with public_visible = true are readable.
school_idschool_namefield_keyfield_labelfrom_yearto_yearevent_typeseverityfrom_valueto_valuesummaryShow all 38 fields →Hide additional fields
idipeds_idfield_familyfrom_document_idto_document_idfrom_year_startto_year_startfrom_value_numericto_value_numericabsolute_deltarelative_deltathreshold_rulefrom_producerto_producerfrom_producer_versionto_producer_versionfrom_source_provenanceto_source_provenancefrom_archive_urlto_archive_urlfrom_source_urlto_source_urlevidence_jsonverification_statuspublic_visiblecreated_atupdated_atGET /rest/v1/cds_field_observationstry it →One row per field value observed in a school's filing, with its source document and extraction provenance. The input to change detection.
school_idcanonical_yearfield_keyfield_idvalue_numericvalue_textsource_producerarchive_urlShow all 35 fields →Hide additional fields
school_namesub_institutionalipeds_iddocument_idyear_startschema_versioncanonical_field_idequivalence_kindcanonical_metricnormalized_valueunitvalue_statussource_formatsource_producer_versionsource_pagesource_locatorobserved_atquality_flagsource_provenancesource_urlsource_sha256source_http_last_modifiedsource_creation_datesource_modification_dateembedded_source_producersectionsubsectionGET /rest/v1/cds_field_definitionstry it →Field dictionary for the CDS schema: field_id, label, section, and subsection for each schema_version.
schema_versionfield_idfield_labelsectionsubsectionShow all 6 fields →Hide additional fields
value_kind_hintGET /rest/v1/fsa_nonpayment_factstry it →Federal Student Aid institutional nonpayment rates by OPE ID and release, as published. Rates can be suppressed by FSA; check the suppressed column. Prefer fsa_nonpayment_current for the latest release per school.
release_idopeidschool_idnonpayment_ratesuppressedborrowers_in_denomShow all 13 fields →Hide additional fields
school_name_rawschool_typestateborrowers_rawrate_rawpublic_visiblecreated_atGET /rest/v1/fsa_releasestry it →One row per FSA nonpayment release: as-of date, cohort window, and source file.
idas_of_dateas_of_labelcohort_window_startcohort_window_endsource_urlShow all 10 fields →Hide additional fields
source_sha256announcement_urltitledownloaded_atGET /rest/v1/cds_documentstry it →Raw archive table — one row per (school, sub-institution, year). Most consumers should prefer cds_manifest.
idschool_idipeds_idcds_yeardetected_yearparticipation_statussource_sha256Show all 25 fields →Hide additional fields
school_namesub_institutionalsource_urlsource_formatsource_producersource_page_countsource_provenanceextraction_statusdata_quality_flagdiscovered_atextracted_atsource_http_last_modifiedsource_creation_datesource_modification_datelast_verified_atremoved_atcreated_atupdated_atGET /rest/v1/cds_scorecardtry it →CDS manifest left-joined with the federal College Scorecard. One row per archived CDS document with post-graduation earnings, debt, net price by income bracket, completion rate, and retention attached. Currently joined to Scorecard 2022-23.
school_nameipeds_idcds_yearearnings_10yr_medianmedian_debt_completersavg_net_pricenet_price_0_30kgraduation_rate_6yrpell_grant_rateShow all 33 fields →Hide additional fields
document_idschool_idsource_formatsource_storage_pathextraction_statusdata_quality_flaglatest_canonical_artifact_idscorecard_data_yearearnings_10yr_p25earnings_10yr_p75median_debt_monthly_paymentnet_price_30k_48knet_price_48k_75knet_price_75k_110knet_price_110k_plusgrad_rate_pellrepayment_rate_3yrdefault_rate_3yrfederal_loan_ratefirst_generation_sharemedian_family_incomeretention_rate_ftendowment_endinstructional_expenditure_fteGET /rest/v1/scorecard_summarytry it →Curated federal College Scorecard subset, one row per IPEDS UNITID (6,322 institutions, not just CDS-archived ones). Refreshed Apr 21, 2026 after the 2022-23 Scorecard load. Its endowment_end column is a latest-vintage snapshot; use ipeds_facts endowment_value_begin/end for source-variable-labeled fiscal-year history. For per-program earnings, race-stratified completion, or other fields beyond the curated subset, query Scorecard directly.
ipeds_idschool_namescorecard_data_yearearnings_10yr_medianmedian_debt_completersavg_net_pricegraduation_rate_6yrendowment_endShow all 42 fields →Hide additional fields
refreshed_atearnings_6yr_medianearnings_8yr_medianearnings_10yr_p25earnings_10yr_p75median_debt_noncompletersmedian_debt_monthly_paymentcumulative_debt_p90median_debt_pellnet_price_0_30knet_price_30k_48knet_price_48k_75knet_price_75k_110knet_price_110k_plusgraduation_rate_4yrgraduation_rate_8yrgrad_rate_pelltransfer_out_raterepayment_rate_3yrdefault_rate_3yrenrollmentpell_grant_ratefederal_loan_ratefirst_generation_sharemedian_family_incomefemale_shareretention_rate_ftcarnegie_basiclocalehistorically_blackpredominantly_blackhispanic_servinginstructional_expenditure_ftefaculty_salary_avgExamples
Fetch the current FSA nonpayment rate for one school
fsa_nonpayment_current is the latest workbook vintage, already joined to school_id. Keep the as-of date and source URL next to the number, and do not label it as the official cohort default rate. Directory opeid / opeid6are Scorecard Title IV keys, not this FSA 6-digit main-campus key.
curl 'https://api.collegedata.fyi/rest/v1/fsa_nonpayment_current?school_id=eq.uf&select=school_id,nonpayment_rate,as_of_label,as_of_date,source_url' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>'Fetch federal baseline facts for a no-CDS school
Federal baseline facts come from school_facts_unified. Keep the release type, source table/variable, quality flag, and definition alignment visible if you reuse these values; they are NCES/IPEDS facts, not school-published CDS fields unless the alignment says so.
curl 'https://api.collegedata.fyi/rest/v1/school_facts_unified?school_id=eq.goshen-college&select=school_id,school_name,field_label,display_value,release_type,collection_year,source_table,source_variable,quality_flag,definition_alignment&order=display_group,field_key' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>'Fetch a historical IPEDS time series
Historical IPEDS queries are fastest when they use the public ipeds_id key, one or more field_key values, and a bounded data_year range. Avoid filtering raw unitid unless you also know the matching index exists.
curl 'https://api.collegedata.fyi/rest/v1/ipeds_facts?ipeds_id=eq.110635&field_key=in.(retention_rate_full_time,graduation_rate_6yr)&data_year=gte.2019&data_year=lte.2024&select=ipeds_id,data_year,field_key,value_numeric,source_table,source_variable&order=data_year.asc' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>'Compute an endowment draw-rate series
Finance Part H reports beginning and ending endowment values plus the components of change from fiscal year 2020 onward. A sign-normalized spending rate is abs(F2H03C) / F2H01. Keep the quality and source columns in analytical exports: fiscal years 2020 and 2021 mix spending sign conventions, and this federal series cannot identify restricted-fund borrowing. The similarly named scorecard_summary.endowment_end is a single latest-vintage snapshot, not this historical series.
curl 'https://api.collegedata.fyi/rest/v1/ipeds_facts?ipeds_id=eq.152080&field_key=in.(endowment_value_begin,endowment_value_end,endowment_spending_distribution)&data_year=gte.2020&data_year=lte.2024&select=ipeds_id,data_year,field_key,value_numeric,quality_flag,source_table,source_variable,release_type&order=data_year.asc,field_key.asc' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>'Search latest-per-school rows (Compare)
Compare's latest-per-school ranking runs through an Edge Function so it can account for required fields and null answerability. Percent and rate values are stored as fractions from 0 to 1.
curl 'https://api.collegedata.fyi/functions/v1/browser-search' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>' \
-H 'content-type: application/json' \
--data '{"mode":"latest_per_school","variant_scope":"primary_only","min_year_start":2024,"filters":[{"field":"acceptance_rate","op":"<=","value":0.1}],"page_size":10}'Fetch academic-profile data for one school
The academic-profile card reads the already-public school_browser_rows resource. SAT/ACT submit rates are stored as fractions, and the card links to its methodology instead of exposing a separate scoring endpoint.
curl 'https://api.collegedata.fyi/rest/v1/school_browser_rows?school_id=eq.bowdoin&select=school_id,school_name,canonical_year,acceptance_rate,sat_submit_rate,act_submit_rate,sat_composite_p25,sat_composite_p50,sat_composite_p75,act_composite_p25,act_composite_p50,act_composite_p75' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>'Fetch admission-rounds data for one school
Admission-rounds fields are also served from school_browser_rows. ED counts are published when the CDS reports them; EA is limited to offered/restrictive flags because CDS C.22 does not include EA applicant or admit counts. The card methodology is documented at /methodology/admission-strategy.
curl 'https://api.collegedata.fyi/rest/v1/school_browser_rows?school_id=eq.bowdoin&select=school_id,school_name,canonical_year,applied,admitted,yield_rate,ed_offered,ed_applicants,ed_admitted,ed_has_second_deadline,ea_offered,ea_restrictive,wait_list_policy,wait_list_offered,wait_list_accepted,wait_list_admitted,c711_first_gen_factor,c712_legacy_factor,c718_demonstrated_interest_factor,app_fee_amount,app_fee_waiver_offered,admission_strategy_card_quality' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>'Fetch merit-aid context for one school
Merit profile data comes from school_merit_profile, a latest primary CDS Section H view joined to Scorecard affordability and outcome fields. H2A non-need award values are source-reported institutional facts, not personalized price estimates. The card methodology is documented at /methodology/merit-profile.
curl 'https://api.collegedata.fyi/rest/v1/school_merit_profile?school_id=eq.bowdoin&select=school_id,school_name,canonical_year,first_year_ft_students,non_need_aid_recipients_first_year_ft,avg_non_need_grant_first_year_ft,non_need_aid_share_first_year_ft,avg_net_price,graduation_rate_6yr,earnings_10yr_median' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>'List the most recent year for every school
curl 'https://api.collegedata.fyi/rest/v1/cds_manifest?removed_at=is.null&select=school_id,school_name,canonical_year&order=canonical_year.desc&limit=10' \
-H 'apikey: eyJhbGciOiJIUzI1NiIsInR5…' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5…'Fetch all archived years for one school
curl 'https://api.collegedata.fyi/rest/v1/cds_manifest?school_id=eq.harvard-university&removed_at=is.null&select=canonical_year,source_format,extraction_status' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>'Fetch the canonical artifact for a document
Prefer cds_fields for field-level queries. If you need the underlying artifact, fetch kind=eq.canonical on cds_artifacts — the canonical artifact is the one the site serves.
curl 'https://api.collegedata.fyi/rest/v1/cds_artifacts?document_id=eq.<uuid>&kind=eq.canonical&select=notes' \
-H 'apikey: <anon key>' \
-H 'Authorization: Bearer <anon key>'JavaScript client
The same @supabase/supabase-js client this site uses works against the public API:
import { createClient } from "@supabase/supabase-js";
const supabase = createClient(
"https://api.collegedata.fyi",
"<anon key>"
);
const { data } = await supabase
.from("cds_manifest")
.select("school_name, canonical_year")
.eq("extraction_status", "extracted")
.is("removed_at", null)
.limit(20);Source documents
Original CDS files are hosted on Supabase Storage. Once you have a manifest row, build the public URL as https://api.collegedata.fyi/storage/v1/object/public/sources/<source_storage_path>. Every file is content-addressed by SHA-256.
Schema and licensing
Field IDs follow the canonical 1,105-field schema derived from the CDS Initiative's 2025-26 XLSX template. The full schema is checked into the repo at schemas/. The dataset is MIT-licensed; the underlying CDS documents are owned by their respective institutions and reproduced here under their public-document status.