{
  "openapi": "3.0.1",
  "info": {
    "title": "University Course Catalog Scraper",
    "description": "Scrapes complete course catalogs from US universities in a single run. Every course with code, title, credit hours, full description and prerequisites. Filter by university and subject.",
    "version": "1.0",
    "x-build-id": "63DYTdQv6ChgTsjT7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/misty_ravel~university-course-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-misty_ravel-university-course-data",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/misty_ravel~university-course-data/runs": {
      "post": {
        "operationId": "runs-sync-misty_ravel-university-course-data",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/misty_ravel~university-course-data/run-sync": {
      "post": {
        "operationId": "run-sync-misty_ravel-university-course-data",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "institutions": {
            "title": "Universities",
            "type": "array",
            "description": "Which universities to scrape. Pick the ones you need — each row is a billed item, so a handful of universities costs a fraction of the full set. To run every one you must also tick \"Scrape every university\".",
            "items": {
              "type": "string",
              "enum": [
                "albany",
                "alverno",
                "barnard",
                "bentley",
                "biola",
                "bismark",
                "blue-ridge",
                "broward",
                "california-polytechnic-san",
                "california-bakersfield",
                "california-san-bernardino",
                "canisius",
                "central-oregon",
                "citrus",
                "clackamas",
                "clark",
                "saint-benedict",
                "desert",
                "holy-cross",
                "sequoias",
                "western-idaho",
                "william-mary",
                "colorado-mesa",
                "colorado-mines",
                "columbus",
                "denver",
                "rhode-island",
                "concordia",
                "cuyahoga-district",
                "delaware-county",
                "denison",
                "depaul",
                "des-moines",
                "eastern-kentucky",
                "evergreen-valley",
                "fairfield",
                "foothill",
                "gmu",
                "george-washington",
                "georgetown",
                "georgia-highlands",
                "georgia-technology",
                "great-falls-montana",
                "greenville",
                "harford",
                "highland",
                "hiram",
                "illinois-technology",
                "iowa",
                "james-a-rhodes",
                "keene",
                "kent",
                "kentucky",
                "lake-superior",
                "lamar",
                "laredo",
                "linfield",
                "loyola-marymount",
                "loyola-chicago",
                "marquette",
                "mit",
                "miami-ohio",
                "mid",
                "montana-3",
                "mt-hood",
                "mt-san-antonio",
                "mt-san-jacinto",
                "napa-valley",
                "new-england-technology",
                "new-jersey-city",
                "new-mexico",
                "new-york",
                "north-carolina",
                "northeastern",
                "northwestern-michigan",
                "northwestern",
                "nunez",
                "oakland",
                "ocean-county",
                "oklahoma",
                "odu",
                "philadelphia-osteopathic-medicine",
                "piedmont",
                "purdue-global",
                "randolph",
                "rider",
                "roosevelt",
                "saint-louis",
                "san-bernardino-valley",
                "san-francisco",
                "san-jose-city",
                "santa-barbara-city",
                "savannah-art-design",
                "seattle-pacific",
                "sierra",
                "smith",
                "snow",
                "st-bonaventure",
                "st-mary-s",
                "new-york-new",
                "stetson",
                "tarleton",
                "temple",
                "texas-a-m",
                "texas-a-m-2",
                "north-carolina-greensboro",
                "utaustin",
                "truckee-meadows",
                "tulane",
                "alaska-2",
                "alaska-3",
                "connecticut",
                "florida",
                "idaho",
                "la-verne",
                "louisville",
                "mary-washington",
                "miami",
                "montana-4",
                "nebraska-kearney",
                "new-hampshire",
                "north-carolina-chapel",
                "northern-iowa",
                "notre-dame",
                "oregon-2",
                "pennsylvania-2",
                "toledo",
                "wisconsin",
                "wisconsin-4",
                "wisconsin-5",
                "utah-tech",
                "utah-valley",
                "victor-valley",
                "vcu",
                "virginia",
                "wabash",
                "wake-forest",
                "wayne",
                "wentworth-technology",
                "wesleyan",
                "western-colorado",
                "wheaton",
                "wichita",
                "wofford",
                "youngstown"
              ],
              "enumTitles": [
                "Albany State University",
                "Alverno College",
                "Barnard College",
                "Bentley University",
                "Biola University",
                "Bismark State College",
                "Blue Ridge Community College",
                "Broward College",
                "California Polytechnic State University, San Luis Obispo",
                "California State University, Bakersfield",
                "California State University, San Bernardino",
                "Canisius College",
                "Central Oregon Community College",
                "Citrus College",
                "Clackamas Community College",
                "Clark College",
                "College of Saint Benedict",
                "College of the Desert",
                "College of the Holy Cross",
                "College of the Sequoias",
                "College of Western Idaho",
                "College of William and Mary",
                "Colorado Mesa University",
                "Colorado School of Mines",
                "Columbus State University",
                "Community College of Denver",
                "Community College of Rhode Island",
                "Concordia College - St. Paul",
                "Cuyahoga Community College District",
                "Delaware County Community College",
                "Denison University",
                "DePaul University",
                "Des Moines University",
                "Eastern Kentucky University",
                "Evergreen Valley College",
                "Fairfield University",
                "Foothill College",
                "George Mason University",
                "George Washington University",
                "Georgetown University",
                "Georgia Highlands College",
                "Georgia Institute of Technology",
                "Great Falls College Montana State University",
                "Greenville Technical College",
                "Harford Community College",
                "Highland Community College",
                "Hiram College",
                "Illinois Institute of Technology",
                "Iowa State University",
                "James A Rhodes State College",
                "Keene State College",
                "Kent State University",
                "Kentucky Community & Technical College System",
                "Lake Superior State University",
                "Lamar University",
                "Laredo Community College",
                "Linfield College",
                "Loyola Marymount University",
                "Loyola University Chicago",
                "Marquette University",
                "Massachusetts Institute of Technology",
                "Miami University of Ohio",
                "Mid-Plains Community College",
                "Montana State University - Northern",
                "Mt. Hood Community College",
                "Mt. San Antonio College",
                "Mt. San Jacinto Community College District",
                "Napa Valley College",
                "New England Institute of Technology",
                "New Jersey City University",
                "New Mexico State University",
                "New York University",
                "North Carolina State University",
                "Northeastern University",
                "Northwestern Michigan College",
                "Northwestern University",
                "Nunez Community College",
                "Oakland Community College",
                "Ocean County College",
                "Oklahoma State University",
                "Old Dominion University",
                "Philadelphia College of Osteopathic Medicine",
                "Piedmont Technical College",
                "Purdue Global University",
                "Randolph-Macon College",
                "Rider University",
                "Roosevelt University",
                "Saint Louis University",
                "San Bernardino Valley College",
                "San Francisco State University",
                "San Jose City College",
                "Santa Barbara City College",
                "Savannah College of Art and Design",
                "Seattle Pacific University",
                "Sierra College",
                "Smith College",
                "Snow College",
                "St. Bonaventure University",
                "St. Mary's University",
                "State University of New York College at New Paltz",
                "Stetson University",
                "Tarleton State University",
                "Temple University",
                "Texas A&M International University",
                "Texas A&M University - College Station",
                "The University of North Carolina at Greensboro",
                "The University of Texas at Austin",
                "Truckee Meadows Community College",
                "Tulane University",
                "University of Alaska - Fairbanks",
                "University of Alaska - Southeast",
                "University of Connecticut",
                "University of Florida",
                "University of Idaho",
                "University of La Verne",
                "University of Louisville",
                "University of Mary Washington",
                "University of Miami",
                "University of Montana",
                "University of Nebraska, Kearney",
                "University of New Hampshire",
                "University of North Carolina at Chapel Hill",
                "University of Northern Iowa",
                "University of Notre Dame",
                "University of Oregon",
                "University of Pennsylvania",
                "University of Toledo",
                "University of Wisconsin - Eau Claire",
                "University of Wisconsin - Milwaukee",
                "University of Wisconsin - Parkside",
                "Utah Tech University",
                "Utah Valley University",
                "Victor Valley College",
                "Virginia Commonwealth University",
                "Virginia State University",
                "Wabash College",
                "Wake Forest University",
                "Wayne State University",
                "Wentworth Institute of Technology",
                "Wesleyan University",
                "Western State Colorado University",
                "Wheaton College",
                "Wichita State University",
                "Wofford College",
                "Youngstown State University"
              ]
            },
            "default": []
          },
          "scrapeAllInstitutions": {
            "title": "Scrape every university",
            "type": "boolean",
            "description": "Run every available catalog. This is a multi-hour run producing a very large dataset; leave it off and select universities instead unless you genuinely want all of it.",
            "default": false
          },
          "subjects": {
            "title": "Subject codes",
            "uniqueItems": true,
            "type": "array",
            "description": "Subject codes to keep across every selected university, e.g. [\"CS\",\"MATH\"]. Leave empty for all subjects. Note that codes differ between institutions.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerInstitution": {
            "title": "Maximum courses per university",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many courses from each university. 0 means no limit.",
            "default": 0
          },
          "requestDelayMs": {
            "title": "Delay between requests (ms)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Politeness delay between requests. The default is deliberately conservative.",
            "default": 600
          },
          "userAgent": {
            "title": "User-Agent",
            "type": "string",
            "description": "Sent with every request. Please keep it identifying rather than impersonating a browser.",
            "default": "university-catalog-scraper/1.0 (+https://apify.com/)"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}