This endpoint will return an array of all courses by the school and subject specified in the parameters. For example, if you want a response with all of UBC's math courses, the request should be to course/ubc/math.

Example Request

https://www.course-reqs.com/api/course/ubc/math

Example Response

{
	"data": [
		{
			_id: "61117fd276d7aee5960abb72",
			code: 1,
			subject: "MATH",
			coRequisites: [],
			credits: "0",
			description: "Numbers and their properties; exponents, radicals, absolute value, inqualities, functions and their graphs; factoring; solving polynomial, rational, and exponetial equations; and the sine and cosine law. Non-credit Math course offered by Continuing Studies in consultation with the Mathematics Department and taught by Continuing Studies instructors.",
			equivalencies: [],
			preRequisites: [
				{
					oneOf: [
						"Mathematics 11"
					]
				}
			],
			school: "UBC",
			title: "Algebra",
			notes: ""
		},
		{
			_id: "61117fd276d7aee5960abb7d",
			code: 2,
			subject: "MATH",
			coRequisites: [ ],
			credits: "0",
			description: "Composite, inverse, polynomial, rational, trigonometric, exponential, and logarithmic functions; sequences and series; and analytical geometry. Non-credit Math course offered by Continuing Studies in consultation with the Mathematics Department and taught by Continuing Studies instructors.",
			equivalencies: [ ],
			preRequisites: [
				{
					oneOf: [
						"MATH 001",
						{
							scoreOf: 73,
							metric: "percentage",
							courses: [
								{
									oneOf: [
										"Principlies of Mathematics 11",
										"Pre-calculus 11"
									]
								}
							]
						}
					]
				}
			],
			school: "UBC",
			title: "Pre-Calculus",
			notes: ""
		},
		{
			_id: "61117fd276d7aee5960abb8b",
			code: 100,
			subject: "MATH",
			coRequisites: [ ],
			credits: "3",
			description: "Derivatives of elementary functions. Applications and modelling: graphing, optimization. Consult the Faculty of Science Credit Exclusion List: www.calendar.ubc.ca/vancouver/index.cfm?tree=12,215,410,414. [3-0-0]",
			equivalencies: [ ],
			preRequisites: [
				"High-school calculus",
				{
					scoreOf: 80,
					metric: "percentage",
					courses: [
						{
							oneOf: [
								"BC Principles of Mathematics 12",
								"Pre-calculus 12"
							]
						}
					]
				}
			],
			school: "UBC",
			title: "Differential Calculus with Applications to Physical Sciences and Engineering",
			notes: ""
		},
		...
	]
}

← Back to the API documentation page