Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

National University of Singapore Modules API

The Modules API from National University of Singapore — 4 operation(s) for modules.

National University of Singapore Modules API is one of 4 APIs that National University of Singapore publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 3 JSON Schema definitions.

Tagged areas include Modules. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 3 JSON Schemas.

This API exposes 4 operations across 4 paths, and defines 8 schemas. It is described by OpenAPI 3.0.1, at version 2.0.0.

Requests are made against 2 base URLs: https://api.nusmods.com/v2, http://api.nusmods.com/v2.

4 operations 4 paths 8 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
2.0.0
Base URL
https://scholarbank.nus.edu.sg/server/api
Resource Areas
1

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. Each is listed below with its method, path, parameters, and response codes.

Modules 4
GET
/{acadYear}/moduleList.json
Get summaries of all modules
1 param → 200404
GET
/{acadYear}/moduleInformation.jsondeprecated
Get detailed information about all modules
1 param → 200404
GET
/{acadYear}/moduleInfo.json
Get detailed information about all modules
1 param → 200404
GET
/{acadYear}/modules/{moduleCode}.json
Get all information about a specific module
2 params → 200404

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are Module (13 properties), ModuleInformation (11 properties), Lesson (8 properties), WeekRange (4 properties). Each schema is shown below with its type and property counts.

Workload
Module
object
13 properties 9 required
Lesson
object
8 properties 6 required
ModuleInformation
object
11 properties 8 required
WeekRange
object
4 properties 2 required
PrereqTree
ModuleCondensed
object
3 properties 3 required
SemesterData
object
4 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nus-modules-api-openapi.yml Raw ↑

Other APIs National University of Singapore publishes across the network.

ScholarBank@NUS DSpace REST API
ScholarBank@NUS OAI-PMH Interface
National University of Singapore Venues API