v1

latestOpenAPI 3.0.1MIT2026-07-17201038.9 KB
courses

List of sections

Returns paginated list of sections

get/courses/sections

Query parameters

sortstring

a comma-separated list of course properties. Defaults to ASCENDING order, use a - (minus) prefix for DESCENDING order. For example, ?sort=course_id,-credits sorts the results ASCENDING by course_id and DESCENDING by credits.

pagenumber

For paginated responses, the page to view. 1-indexed. Defaults to 1 if omitted.

per_pagenumber

Endpoints that return a large amount of items are paginated to 30 items by default. You can use this parameter to set a page size up to 100.

course_idstring

7 or 8 digit course id. See the course object for more info.

seatsstring

Number of total seats in a section, with optional comparator, separated by a pipe. Valid comparators are eq, leq, lt, gt, geq, neq.

open_seatsstring

Number of open seats in a section, with optional comparator, separated by a pipe. Valid comparators are eq, leq, lt, gt, geq, neq.

waitliststring

Number of people on the waitlist for a class, with optional comparator, separated by a pipe. Valid comparators are eq, leq, lt, gt, geq, neq.

semesterstring

6-digit semester ID to search, with optional comparator, separated by a pipe. Valid comparators are eq, leq, lt, gt, geq, neq.

Response

Successful Operation

coursestring

The associated course id

section_idstring

A unique section identifier, always the course_id with a four-digit section number appended to it.

semesternumber

Numeric representation of the semester, in format YYYYMM

numberstring

The other half of section_id

seatsstring

The number of seats for the section.

open_seatsstring

The number of open seats for the section.

waitliststring

The number of people on the waitlist.

instructorsstring[]

An array of professor names for the section

Example response

[
  {
    "course": "ENGL101",
    "section_id": "ENGL101-0101",
    "semester": 201501
  }
]