One major category or subfield.

get/api/v1/majors/{slug}.json

Request

  • Base URL: https://le-teen.com
  • URL: https://le-teen.com/api/v1/majors/{slug}.json
  • Auth: none declared

Path parameters

slugstring required

Major slug, e.g. philosophy-and-religious-studies or registered-nursing.

Response

The major with its meta block.

slugstring required
kind'category' | 'subfield' required
namestring required
cip_program_namestring nullable

CIP program-family name — subfields only.

rank_by_worst_roiinteger required

Rank within its own ring (1 = worst ROI of the 19 categories, or of the 115 subfields).

urlstring uri required

The human-readable page for this major.

mean_lifetime_roi_usdnumber
median_lifetime_roi_usdnumber
p25_roi_usdnumber
p75_roi_usdnumber
pct_never_breakevennumber nullable

Share of observed graduate cohort weight in programs FREOPP flags as never breaking even (999 sentinel), percent. Denominator is breakeven_observed_graduate_cohort_weight; null when it is zero. This does not track individual graduate outcomes.

pct_negative_lifetime_roinumber

Share of all graduates in programs whose 30-year lifetime ROI is below zero, percent. Strictly wider than pct_never_breakeven — it also counts programs that break even, but only in the graduate’s late fifties.

median_breakeven_ageinteger nullable required

Median of FREOPP program-estimated finite break-even ages, weighted by College Scorecard graduate cohort counts, among programs that break even. Never-break-even programs (999 sentinel) are excluded. This is not a tracked median payoff age of individual graduates. Null means no finite-age cohort weight; inspect observed and missing weights to distinguish all-never from unavailable data.

breakeven_age_is_conditionaltrue required

Always true, including when the displayed never-break-even percentage rounds to zero.

breakeven_age_population'program_estimated_finite_ages_graduate_cohort_weighted' required
breakeven_observed_graduate_cohort_weightinteger required

Sum of graduate cohort weights in programs with an observed break-even age, including never-break-even sentinels. Denominator of pct_never_breakeven.

breakeven_finite_graduate_cohort_weightinteger required

Sum of graduate cohort weights in programs with finite break-even ages. Population used for median_breakeven_age.

breakeven_never_graduate_cohort_weightinteger required

Sum of graduate cohort weights in programs with the never-break-even sentinel. Excluded from the median.

breakeven_missing_graduate_cohort_weightinteger required

Sum of graduate cohort weights in otherwise included programs without a break-even-age observation. Excluded from both the median and never-share denominator.

completion_adjusted_roi_usdnumber nullable
dropout_roi_usdnumber nullable
graduatesinteger
programsinteger

Changes

No recorded changes to this operation across all 1 revision of this API.