{
  "openapi": "3.0.1",
  "info": {
    "title": "US College Finder: Filter by Admission Barriers & State",
    "description": "Every US college and university, filtered how students choose: open-admissions vs selective, online-only, 2-year vs 4-year, public vs private, by admission rate, test policy and state. Official Dept of Education College Scorecard data, one row per school with website and net-price links. Keyless.",
    "version": "0.2",
    "x-build-id": "bLEdlRCxV9390HGdY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapemint~us-college-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapemint-us-college-finder",
        "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/scrapemint~us-college-finder/runs": {
      "post": {
        "operationId": "runs-sync-scrapemint-us-college-finder",
        "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/scrapemint~us-college-finder/run-sync": {
      "post": {
        "operationId": "run-sync-scrapemint-us-college-finder",
        "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": {
          "states": {
            "title": "States",
            "type": "array",
            "description": "Two-letter state codes to include, e.g. CA, TX, NY. Empty = all US states and territories.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "levels": {
            "title": "Institution level",
            "type": "array",
            "description": "Which levels to include. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "4-year",
                "2-year",
                "less-than-2-year"
              ],
              "enumTitles": [
                "4-year (bachelor's+)",
                "2-year (associate / community college)",
                "Less-than-2-year (certificate)"
              ]
            },
            "default": []
          },
          "controls": {
            "title": "Ownership",
            "type": "array",
            "description": "Public, private nonprofit, or private for-profit. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "public",
                "private-nonprofit",
                "private-forprofit"
              ],
              "enumTitles": [
                "Public",
                "Private nonprofit",
                "Private for-profit"
              ]
            },
            "default": []
          },
          "openAdmissionOnly": {
            "title": "Open-admissions only",
            "type": "boolean",
            "description": "Keep only schools with an open-admissions policy (accept essentially all applicants with a high-school diploma or equivalent). Best proxy for \"I can start soon with low barriers\".",
            "default": false
          },
          "onlineOnly": {
            "title": "Online-only schools",
            "type": "boolean",
            "description": "Keep only institutions that deliver programs exclusively via distance education.",
            "default": false
          },
          "testNotRequired": {
            "title": "Admission test not required",
            "type": "boolean",
            "description": "Keep only schools that do not require SAT/ACT scores (test-optional or scores not required). Only applies to schools that report a test policy (~30% of the file); others are dropped when this is on.",
            "default": false
          },
          "offersCredential": {
            "title": "Offers credential level",
            "type": "array",
            "description": "Keep only schools that offer programs at one or more of these levels. Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "certificate",
                "associate",
                "bachelor",
                "graduate"
              ],
              "enumTitles": [
                "Certificate / diploma",
                "Associate's",
                "Bachelor's",
                "Graduate (master's+)"
              ]
            },
            "default": []
          },
          "federalAidOnly": {
            "title": "Federal student aid participants only",
            "type": "boolean",
            "description": "Keep only schools approved for federal Title IV student aid (Pell grants and federal loans). Note: this is institution-level participation; whether a specific program qualifies for aid is not in the public data.",
            "default": false
          },
          "maxAdmissionRate": {
            "title": "Max admission rate",
            "type": "string",
            "description": "Keep only schools whose admission rate is at or below this value, 0-1 (e.g. 0.8 = 80%). Only schools that report an admission rate are kept. Empty = no limit.",
            "default": ""
          },
          "keyword": {
            "title": "Name contains",
            "type": "string",
            "description": "Case-insensitive substring match on the institution name, e.g. \"community\", \"tech\", \"state\".",
            "default": ""
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "name",
              "admissionRate",
              "size"
            ],
            "type": "string",
            "description": "Order of the returned rows.",
            "default": "name"
          },
          "maxRows": {
            "title": "Max rows per run",
            "minimum": 1,
            "maximum": 7000,
            "type": "integer",
            "description": "Cap on institutions returned. Controls total cost. First 2 rows per run are free.",
            "default": 200
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}