Documentation
Search by Course Code

Search by Course Code

Returns a CourseObject for the given course code.

There are some duplicates in the course catalog with the same course code. For example, there are three courses with the code ETHN 490. They all have the same information except the course_id. Be sure to check for this when using this endpoint.

Searches the CSUF course catalog for a course with the given course code.

Endpoint

GET /courses?course_code={course_code}

Parameters

NameDescriptionExample
course_codeA code containing an abbreviated department and course numberCPSC-121

Responses

CodeDescription
200A JSON Object containing a list of CourseObject
400Client Error. Malformed request syntax
404Course not found
405The request method was not GET
429Too many requests. Client was rate limited
500An unknown internal server error occurred

Response Example

GET /courses?course_code=CPSC-121
{
  "success": true,
  "data": [
    {
      "title": "Object-Oriented Programming",
      "description": "The object-oriented programming paradigm: ...",
      "course_code": "CPSC 121",
      "course_id": 538057
    }
  ]
}