Student Web Service (SWS) Campus API

Student Web Service (SWS) Campus API — a resource of the UW-IT Student Web Service, split out per resource by the API Evangelist refine step from the institution-published SWS v5 OpenAPI. Specification public; data gated by UW NetID / X.509 client certificate and named ASTRA roles.

Operations 1

GET /v5/campus Get available campuses #

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/university-of-washington-campus-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

university-of-washington-campus-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Student Web Service (SWS) Campus API
  description: Student Web Service (SWS) provides a RESTful API to access and update central student data. Subscribe to http://mailman.u.washington.edu/mailman/listinfo/sws-client-app-dev to get notifications about planned outages, support and the announcement of new features.
  contact:
    name: Enterprise Web Services & Events Team
    url: https://itconnect.uw.edu/service/enterprise-web-services-and-events/
    email: sws-support@uw.edu
  version: v5
  termsOfService: https://www.washington.edu/online/terms/
servers:
- url: https://ws.admin.washington.edu/student
  description: UW-IT Enterprise Web Services production host for the Student Web Service
externalDocs:
  description: UW-IT Enterprise Web Services registry
  url: https://webservices.washington.edu/sws/
tags:
- name: Campus
x-operator: institution
x-provenance:
  method: derived
  source: openapi/_original/university-of-washington-student-web-service.yaml
  generated: '2026-08-30'
  note: Re-based by the university pipeline on 2026-08-30. refine-openapis had welded the IdCard Web Service title/contact/base onto outputs split from the Student Web Service original; identity restored from the true parent named above and the relative base resolved to the production host published on the EWS registry.
paths:
  /v5/campus:
    get:
      tags:
      - Campus
      summary: Get available campuses
      description: "<pre>\n                {\n                    \"DisplayTitle\" : \"Campus List\",\n                    \"ews_guid\" : \"317D6605-20FA-4D10-80A0-75C655B489F3\",\n                    \"LongDescription\" : \"Display a list of campuses\",\n                    \"ShortDescription\" : \"Campus list\",\n                    \"OriginatingSchema\" : [ { \"source\":\"hardcoded\" } ],\n                    \"Notes\" : \"This resource requires any of the following ASTRA roles:\n                                 - sws:Support\n                                 - sws:GradeSubmitter\n                                 - sws:UnitReader\n                               This resource supports the following authentication types:\n                                 - X.509 Certificate\n                                 - NetID\n                                 - AccessToken\n                               Unlike other search resources, it does not require any query string to return the search result.\",\n                    \"Links\" : [ \"https://metadata.uw.edu/Catalog/ViewItem/Term/studentdata.campus\" ],\n                    \"Synonyms\" : []\n                }\n                </pre>"
      operationId: CampusSearch
      responses:
        '200':
          description: OK
          content:
            text/html:
              schema:
                $ref: '#/components/schemas/CampusSearchViewModel'
            application/xml:
              schema:
                $ref: '#/components/schemas/CampusSearchViewModel'
            text/xml:
              schema:
                $ref: '#/components/schemas/CampusSearchViewModel'
            text/plain:
              schema:
                $ref: '#/components/schemas/CampusSearchViewModel'
            application/json:
              schema:
                $ref: '#/components/schemas/CampusSearchViewModel'
            text/json:
              schema:
                $ref: '#/components/schemas/CampusSearchViewModel'
        '202':
          description: Accepted
        '301':
          description: MovedPermanently
        '302':
          description: Found
        '304':
          description: NotModified
        '401':
          description: Identity '{identity}' is not authorized to access this resource.
        '405':
          description: MethodNotAllowed
        '500':
          description: InternalServerError
        '503':
          description: ServiceUnavailable
components:
  schemas:
    CampusResourceUri:
      type: object
      properties:
        CampusShortName:
          type:
          - string
          - 'null'
          description: "<pre>\n            {\n                \"OriginatingSchema\" : [\n                    { \"source\":\"hardcoded\" }\n                ],\n                \"TechnicalDescription\": \"Abbreviation of campus\"\n            }\n            </pre>"
        CampusFullName:
          type:
          - string
          - 'null'
          description: "<pre>\n            {\n                \"OriginatingSchema\" : [\n                   { \"source\":\"hardcoded\" }\n                ],\n                \"TechnicalDescription\": \"Full Name of the Campus\"\n            }\n            </pre>"
        CampusName:
          type:
          - string
          - 'null'
          description: "<pre>\n            {\n                \"OriginatingSchema\" : [\n                   { \"source\":\"hardcoded\" }\n                ],\n                \"TechnicalDescription\": \"Name of the campus\"\n            }\n            </pre>"
        Href:
          type:
          - string
          - 'null'
      additionalProperties: false
      description: "{\n    \"DisplayTitle\" : \"Campus Resource URI\",\n    \"TargetSchema\" : [{\"target\" : \"SWS.Campus\"}],\n    \"TargetOperationId\" : [\"CampusSearch\"]\n}"
    CampusSearchResourceUri:
      type: object
      properties:
        Href:
          type:
          - string
          - 'null'
      additionalProperties: false
      description: "{\n    \"DisplayTitle\" : \"Campus Search Resource URI\",\n    \"TargetSchema\" : [{\"target\" : \"SWS.Campus\"}],\n    \"TargetOperationId\" : [\"CampusSearch\"]\n}"
    CampusSearchViewModel:
      type: object
      properties:
        Current:
          $ref: '#/components/schemas/CampusSearchResourceUri'
        Next:
          $ref: '#/components/schemas/CampusSearchResourceUri'
        PageSize:
          type:
          - string
          - 'null'
        PageStart:
          type:
          - string
          - 'null'
        Previous:
          $ref: '#/components/schemas/CampusSearchResourceUri'
        TotalCount:
          type: integer
          format: int32
        Campuses:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CampusResourceUri'
      additionalProperties: false
      description: "{\n    \"DisplayTitle\" : \"Campus Search Model\",\n    \"TargetSchema\" : [{\"target\" : \"SWS.Campus\"}]\n}"