UCSB ClassCode Lookup Service

Lookup of BARC class codes, which determine a student billing category. Access Approval Required. Published as Swagger 2.0, 2 paths, base https://api.ucsb.edu/administration/financial/barc/classcode/v2.

Operations 2

GET /{value} #
GET / #

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/classcode-lookup-service"
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-classcode-lookup-service-openapi.yml Raw ↑
swagger: '2.0'
info:
  version: 1.0.0
  title: ClassCode Lookup Service
  description: 'This service looks up Class Codes on the BARC system. The service will query the system
    based on three flags. *Active (Retrieve only Active codes) *All (Retrieve Active and Inactive codes)
    *Specific Class Code (Example: 0001)'
  termsOfService: ''
  contact:
    name: API Team
  x-source-url: https://developer.ucsb.edu/sites/default/files/openapi/BARC-ClassCodes.yaml
  x-last-validated: '2026-08-30'
  x-operator: institution
host: api.ucsb.edu
basePath: /administration/financial/barc/classcode/v2
schemes:
- https
securityDefinitions:
  apiKey:
    type: apiKey
    name: ucsb-api-key
    in: header
security:
- apiKey: []
consumes:
- application/json
produces:
- application/json
paths:
  /{value}:
    get:
      tags:
      - Get Active or Specific ClassCode
      operationId: GetClassCodeItem
      consumes: []
      produces:
      - text/plain
      - application/json
      - text/json
      parameters:
      - name: value
        in: path
        description: Active or ClassCodeID
        required: true
        type: string
      responses:
        '200':
          description: Returns a list of Class Codes from the BARC System
          schema:
            $ref: '#/definitions/ClassCodeItem'
        '404':
          description: Not Found
        '500':
          description: Server Error
  /:
    get:
      tags:
      - Get all Active ClassCodes
      operationId: GetClassCode
      consumes: []
      produces:
      - text/plain
      - application/json
      - text/json
      parameters: []
      responses:
        '200':
          description: Returns a list of Class Codes from the BARC System
          schema:
            uniqueItems: false
            type: array
            items:
              $ref: '#/definitions/ClassCodeItem'
        '404':
          description: Not Found
        '500':
          description: Server Error
definitions:
  ClassCodeItem:
    type: object
    properties:
      classcode:
        type: string
      description:
        type: string
      loc:
        type: string
      account:
        type: string
      fund:
        type: string
      sub:
        type: string
      manualControl:
        type: string
      validForBarcFlag:
        type: string
      objectCode:
        type: string
      registrationRefundFlag:
        type: string
      department:
        type: string
      lastUpdateDate:
        type: string
      lastUpdateUserid:
        type: string