University of California, Santa Barbara Class Space Availability API

The ClassSpaceAvailability API from University of California, Santa Barbara — 1 operation(s) for classspaceavailability.

Operations 1

GET /v3/classspaceavailability/{quarter} Class space availability endpoint for getting space in a class or all classes… #

Documentation

📖
Documentation
https://developer.ucsb.edu/content/academic-curriculums
📖
Documentation
https://developer.ucsb.edu/content/academic-graduate-programs
📖
Documentation
https://developer.ucsb.edu/content/academic-quarter-calendar
📖
Documentation
https://developer.ucsb.edu/content/barc-quarter-calendar
📖
Documentation
https://developer.ucsb.edu/content/barc-students-api
📖
Documentation
https://developer.ucsb.edu/content/academic-clas-schedules
📖
Documentation
https://developer.ucsb.edu/content/classcode-lookup-service
📖
Documentation
https://developer.ucsb.edu/content/department-chartfield
📖
Documentation
https://developer.ucsb.edu/content/department-course-extract
📖
Documentation
https://developer.ucsb.edu/content/employee-job
📖
Documentation
https://developer.ucsb.edu/content/events
📖
Documentation
https://developer.ucsb.edu/content/grad-application-verifications
📖
Documentation
https://developer.ucsb.edu/content/mtd-access
📖
Documentation
https://developer.ucsb.edu/content/peoplesoft-fau-functional-accounting-unit-combination-service
📖
Documentation
https://developer.ucsb.edu/content/student-academic-programs-majors-minors
📖
Documentation
https://developer.ucsb.edu/content/student-basic-student-info
📖
Documentation
https://developer.ucsb.edu/content/student-courses
📖
Documentation
https://developer.ucsb.edu/content/student-record-code-lookups
📖
Documentation
https://developer.ucsb.edu/content/student-registrations
📖
Documentation
https://developer.ucsb.edu/content/student-rosters
📖
Documentation
https://developer.ucsb.edu/content/student-schedules

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ucsb-classspaceavailability-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ucsb-classspaceavailability-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v3
  title: Academic Curriculum v3.0 Class Space Availability API
  description: Public curriculum api for class and class section search. The data provided is intended to be used to populate drop downs, validate data entry, and provide information for planning and sharing. The data doesn't change and can be cached for limited period of times to enable easier lookups.
servers:
- url: https://api.ucsb.edu/academics/curriculums
security:
- ucsb-api-key: []
tags:
- name: ClassSpaceAvailability
paths:
  /v3/classspaceavailability/{quarter}:
    get:
      tags:
      - ClassSpaceAvailability
      summary: Class space availability endpoint for getting space in a class or all classes…
      operationId: ClassSpaceAvailability_GetClassSpaceByPageAsync
      parameters:
      - name: quarter
        in: path
        description: Quarter with format YYYYQ
        required: true
        schema:
          type: string
      - name: enrollCode
        in: query
        description: EnrollCode an unique number assigned to a curriculum, Enroll code should be 5 chars
        required: false
        schema:
          type: string
      - name: pageNumber
        in: query
        description: page number of pagination
        required: false
        schema:
          type: integer
          format: int32
          default: 1
      - name: pageSize
        in: query
        description: Number of Courses you want to be returned, it will only return maximum 500 classes per page
        required: false
        schema:
          type: integer
          format: int32
          default: 10
      - name: ucsb-api-version
        in: header
        description: Specific api version to use.
        required: false
        schema:
          type: string
          default: '3.0'
      responses:
        '200':
          description: Get class space by quarter and/or enrollCode
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClassSpaceModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ClassSpaceModel'
            application/xml:
              schema:
                $ref: '#/components/schemas/ClassSpaceModel'
            text/xml:
              schema:
                $ref: '#/components/schemas/ClassSpaceModel'
        '400':
          description: Bad or malformed request. See response body for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebApiInvalidModel'
            text/json:
              schema:
                $ref: '#/components/schemas/WebApiInvalidModel'
            application/xml:
              schema:
                $ref: '#/components/schemas/WebApiInvalidModel'
            text/xml:
              schema:
                $ref: '#/components/schemas/WebApiInvalidModel'
        '404':
          description: Resource cannot be found. See response body for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleMessageModel'
            text/json:
              schema:
                $ref: '#/components/schemas/SimpleMessageModel'
            application/xml:
              schema:
                $ref: '#/components/schemas/SimpleMessageModel'
            text/xml:
              schema:
                $ref: '#/components/schemas/SimpleMessageModel'
components:
  schemas:
    ClassSpaceModel:
      type: object
      properties:
        pageNumber:
          format: int32
          description: page number for pagination
          type: integer
        pageSize:
          format: int32
          description: 'how many courses user want to be returned on one page

            imp - one course can have multiple sections'
          type: integer
        total:
          format: int32
          description: Total number of courses for the search criteria
          type: integer
        classSpaces:
          description: Available space in the class
          type: array
          items:
            $ref: '#/components/schemas/ClassSpace'
    ClassSpace:
      description: Available space in the class
      type: object
      properties:
        courseId:
          description: '13 character course Id with format SSSSSPPPNNNNUUU , Fist 5 char is course subject, Next 3 char is course prefix then next 3 char is course number and last 2 char is course suffix.

            For example ''ES 1- 16B '' can be broken down in subject ''ES '' prefix ''1- '' number '' 16'' suffix ''B'
          type: string
        classSpaceAvailabilities:
          description: List of available class spaces by section
          type: array
          items:
            $ref: '#/components/schemas/ClassSpaceAvailability'
    WebApiInvalidModel:
      type: object
      properties:
        message:
          type: string
        modelState:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
    ClassSpaceAvailability:
      description: class space availability by section
      type: object
      properties:
        section:
          description: Section number of the course
          type: string
        enrollCode:
          description: EnrollCode an unique number assigned to a curriculum, Enroll code should be 5 chars
          type: string
        enrolledTotal:
          format: int32
          description: Total number of enrollments in the section
          type: integer
        maxEnroll:
          format: int32
          description: Max number of students can be enrolled in the section
          type: integer
    SimpleMessageModel:
      type: object
      properties:
        message:
          type: string
  securitySchemes:
    ucsb-api-key:
      name: ucsb-api-key
      in: header
      type: apiKey