search_by_major
Compare a specific major across colleges to find program-specific median earnings, debt, and tuition. Filter by state, degree level, and sort by outcomes.
Instructions
Compare the same major across different colleges using College Scorecard field-of-study data. Returns program-specific median earnings, median debt, and in-state tuition for each school — far more accurate than school-wide averages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results | |
| major | Yes | Major or field of study, e.g. 'computer science', 'nursing', 'mechanical engineering'. Also accepts 4-digit CIP codes directly. | |
| state | No | Two-letter state code to filter schools, e.g. 'WA' | |
| sort_by | No | Sort results by highest earnings, lowest debt, or lowest tuition | earnings |
| credential_level | No | Degree level to compare | bachelor |