OpensourceNITJ - API
By Developers, For Developers
Get student details using roll number
Get simplified view of timetable to embed into your applications
Get real-time library seat availability
Returns the health status of the API server.
{
"status" : " ok" ,
"uptime" : 12345.67 ,
"timestamp" : " 2026-01-16T14:32:10.123Z"
}
Field
Type
Description
status
string
Health status of the API
uptime
number
Server uptime in seconds
timestamp
string
ISO 8601 timestamp
Get Library Seat Availability
Returns real-time library seat availability information across all floors.
{
"totalAvailableSeats" : 390 ,
"totalCapacity" : 390 ,
"capacity" : [
{
"floor" : " Floor 1" ,
"occupiedSeats" : 0 ,
"availableSeats" : 114 ,
"totalSeats" : 114 ,
"availableSeatIds" : [1 , 2 , 3 ]
}
]
}
Field
Type
Description
totalAvailableSeats
number
Total available seats in the library
totalCapacity
number
Total seating capacity of the library
capacity
object[]
Floor-wise seating statistics
Field
Type
Description
floor
string
Floor name
occupiedSeats
number
Number of occupied seats on the floor
availableSeats
number
Number of available seats on the floor
totalSeats
number
Total seats available on the floor
availableSeatIds
number[]
Available seat numbers relative to the floor
{
"error" : " Library information not found"
}
Field
Type
Description
error
string
Error message
Get Student Group (First Year Only)
Returns the group and subgroup (e.g., B6, a) of a first-year student based on their roll number.
Parameter
Type
Description
rollNumber
string
Required. Roll number of student
{
"group" : " B6" ,
"subGroup" : " a"
}
Field
Type
Description
group
string
Student group (A1-B6)
subGroup
string
Student subgroup (a, b, c)
Group not found for the provided roll number.
Returns the timetable for first-year students.
Parameter
Type
Description
group
string
Required. Group (A1–B6)
{
"timetableData" : {
"Monday" : {
"period1" : [
[
{
"subject" : " Maths" ,
"faculty" : " Dr. Sharma" ,
"room" : " LT-1"
}
]
]
}
},
"notes" : [" Practical classes start next week" ]
}
Record <
string ,
Record <
string ,
Array <
Array < {
subject : string ;
faculty : string ;
room : string ;
} >
>
>
> ;
Field
Type
Description
subject
string
Subject name
faculty
string
Faculty name
room
string
Room or lab
Field
Type
Description
notes
string[]
Additional timetable notes
{
"error" : " Invalid group parameter"
}
Field
Type
Description
error
string
Error message
https://api.opensourcenitj.com