{
  "openapi": "3.0.1",
  "info": {
    "title": "Mastersportal Scraper",
    "description": "Scrape master's programmes from mastersportal.com. Use a discipline or paste a Mastersportal URL — the URL wins when set.",
    "version": "0.2",
    "x-build-id": "0fEJRezfLpK8EehwU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dadhalfdev~mastersportal-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dadhalfdev-mastersportal-scraper",
        "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/dadhalfdev~mastersportal-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dadhalfdev-mastersportal-scraper",
        "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/dadhalfdev~mastersportal-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dadhalfdev-mastersportal-scraper",
        "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": {
          "input_url": {
            "title": "Input URL",
            "type": "string",
            "description": "Paste a Mastersportal search URL. Overrides every filter when set."
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Same as the Mastersportal search box. Leave empty to browse by the filters below."
          },
          "discipline": {
            "title": "Discipline",
            "enum": [
              "",
              "law",
              "engineering-technology",
              "humanities",
              "medicine-health",
              "natural-sciences-mathematics",
              "applied-sciences-professions",
              "social-sciences",
              "business-management",
              "computer-science-it",
              "agriculture-forestry",
              "journalism-media",
              "hospitality-leisure-sports",
              "environmental-studies-earth-sciences",
              "arts-design-architecture",
              "education-training",
              "economics",
              "education",
              "architecture",
              "project-management",
              "industrial-systems-engineering",
              "environmental-engineering",
              "civil-engineering-construction",
              "bio-biomedical-engineering",
              "biomedical-science",
              "biomedicine",
              "chemical-engineering",
              "materials-science",
              "materials-science-engineering",
              "electrical-engineering",
              "aerospace-engineering",
              "physics",
              "mechanical-engineering",
              "mathematics",
              "business-administration",
              "chemistry",
              "earth-sciences",
              "european-law",
              "patent-intellectual-property-law",
              "applied-mathematics",
              "industrial-design",
              "family-consumer-science",
              "library-science",
              "military-science",
              "social-work",
              "design",
              "area-cultural-studies",
              "visual-arts",
              "film-studies",
              "film-photography-media",
              "archaeology",
              "communication-studies",
              "communication-science",
              "anthropology",
              "ethnic-studies",
              "history",
              "geography",
              "gender-sexuality-studies",
              "language-studies",
              "international-relations",
              "psychology",
              "sociology",
              "biology",
              "astronomy-space-sciences",
              "electronics-embedded-technology",
              "philosophy",
              "philosophy-ethics",
              "international-law",
              "entrepreneurship",
              "finance",
              "marketing",
              "management-studies",
              "management-organization-leadership",
              "public-health",
              "medicine",
              "human-medicine",
              "accounting",
              "energy-engineering",
              "energy-power-engineering",
              "special-education",
              "educational-research",
              "theology-and-religious-studies",
              "religious-studies-theology",
              "dentistry",
              "public-administration",
              "international-development",
              "organisational-behaviour",
              "music",
              "physiotherapy",
              "pharmacy",
              "veterinary-medicine",
              "information-technology",
              "informatics-information-technology",
              "criminal-law",
              "econometrics",
              "human-resource-management",
              "forensic-science",
              "nursing",
              "civil-private-law",
              "public-law",
              "biotechnology",
              "toxicology",
              "soil-science",
              "geology",
              "hydrology-water-management",
              "climate-studies-meteorology",
              "biodiversity-conservation",
              "sustainable-development",
              "environmental-economics-policy",
              "geographical-information-systems",
              "nutrition-dietetics",
              "fashion-textiles-and-luxury-goods",
              "supply-chain-management-logistics",
              "sports-management",
              "business-law",
              "legal-studies",
              "master-of-laws",
              "natural-sciences",
              "financial-mathematics",
              "microbiology",
              "molecular-sciences",
              "neuroscience",
              "statistics",
              "complementary-alternative-medicine",
              "health-administration",
              "health-management",
              "health-sciences",
              "midwifery",
              "agribusiness",
              "auditing",
              "business-intelligence",
              "business-intelligence-analytics",
              "commerce",
              "corporate-communication",
              "corporate-social-responsibility",
              "executive-mba",
              "forensic-accounting",
              "innovation-management",
              "international-business",
              "master-in-business-administration",
              "master-in-management",
              "retail-management",
              "risk-management",
              "strategic-management",
              "taxation",
              "engineering-management",
              "technology-management",
              "transport-management",
              "automotive-engineering",
              "general-engineering-technology",
              "marine-engineering",
              "mechatronics",
              "mining-oil-gas",
              "robotics",
              "sustainable-energy",
              "transportation-engineering",
              "art-history",
              "fashion-design",
              "graphic-design",
              "interior-design",
              "landscape-architecture",
              "musicology",
              "music-history",
              "user-experience-design",
              "ancient-history",
              "christian-studies",
              "creative-writing",
              "general-studies",
              "general-studies-classics",
              "islamic-studies",
              "liberal-arts",
              "literature",
              "modern-history",
              "american-and-australasian-studies",
              "american-studies",
              "cognitive-science",
              "cognitive-sciences",
              "criminology",
              "european-studies",
              "public-policy",
              "business-information-systems",
              "game-design",
              "video-games-animation",
              "computer-sciences",
              "data-science-big-data",
              "health-informatics",
              "human-computer-interaction",
              "web-technologies-cloud-computing",
              "environmental-management",
              "natural-resource-management",
              "adult-education",
              "coaching",
              "school-counselling",
              "counselling",
              "educational-psychology",
              "teaching",
              "emergency-disaster-management",
              "food-science",
              "food-sciences",
              "museum-studies",
              "agriculture",
              "animal-science",
              "animal-sciences",
              "marine-science",
              "marine-studies",
              "forestry",
              "horticulture-and-crop-science",
              "horticulture",
              "botany",
              "plant-crop-science",
              "journalism",
              "media-management",
              "media-studies-mass-media",
              "public-relations",
              "translation-interpreting",
              "hospitality-management",
              "culinary-arts",
              "event-management",
              "ecology",
              "environmental-sciences",
              "political-science",
              "sport-and-exercise-science",
              "sports-sciences",
              "drama",
              "theatre-dance",
              "tourism-leisure",
              "terrorism-security",
              "real-estate-property-management",
              "digital-media",
              "digital-communication",
              "cyber-security",
              "digital-marketing",
              "actuarial-science",
              "bioinformatics-biostatistics",
              "bioinformatics",
              "biochemistry",
              "urban-planning",
              "software-engineering",
              "artificial-intelligence",
              "machine-learning",
              "linguistics",
              "early-childhood-education",
              "genetics",
              "clinical-psychology",
              "counselling-psychology",
              "communications-engineering",
              "criminal-justice",
              "construction-management",
              "kinesiology",
              "speech-pathology",
              "stem-education",
              "medical-imaging",
              "childhood-studies",
              "primary-education",
              "educational-leadership",
              "sound-engineering",
              "occupational-health-and-safety",
              "management-of-creative-industries",
              "it-management",
              "pharmacology",
              "instructional-design",
              "operations-and-quality-management",
              "nanoscience-and-nanotechnology",
              "teaching-english-as-a-foreign-language",
              "teaching-english",
              "secondary-education",
              "art-education",
              "gerontology",
              "banking",
              "banking-and-investment",
              "higher-education",
              "community-development",
              "esl",
              "leadership",
              "nuclear-engineering",
              "epidemiology",
              "physiology",
              "literacy-education",
              "health-education",
              "immunology",
              "marketing-management",
              "music-composition",
              "music-performance",
              "fine-arts",
              "information-systems",
              "optometry",
              "social-policy",
              "financial-technology",
              "italian-studies",
              "fashion-management",
              "occupational-therapy",
              "pathology",
              "forensic-psychology",
              "asian-studies",
              "developmental-psychology",
              "social-psychology",
              "food-technology",
              "slavic-studies",
              "diplomacy",
              "art-therapy",
              "african-studies",
              "middle-eastern-studies",
              "publishing",
              "financial-management",
              "production-and-manufacturing-engineering",
              "anatomy",
              "structural-engineering",
              "french-studies",
              "german-and-scandinavian-studies",
              "advertising",
              "computational-mathematics",
              "zoology",
              "operations-research",
              "insurance",
              "prosthetics-and-orthotics",
              "oceanography",
              "aviation-studies",
              "iberian-studies",
              "ceramics-and-sculpture",
              "british-studies",
              "painting-and-drawing",
              "art-and-craft",
              "classics",
              "investment",
              "dance",
              "animation",
              "photography",
              "ethics",
              "data-analytics"
            ],
            "type": "string",
            "description": "Subject area as listed on Mastersportal, from Law to Data Analytics.",
            "default": ""
          },
          "degree": {
            "title": "Degree type",
            "enum": [
              "",
              "msc",
              "ma",
              "mba",
              "llm",
              "med",
              "mphil",
              "mres",
              "meng",
              "mfa",
              "mmus",
              "mph",
              "mpa",
              "mat",
              "mlitt",
              "mim",
              "postgraduate-diploma",
              "postgraduate-certificate",
              "pre-master"
            ],
            "type": "string",
            "description": "MSc, MA, MBA, LLM, and the other master's degree types on the site.",
            "default": ""
          },
          "country": {
            "title": "Country",
            "enum": [
              "",
              "afghanistan",
              "aland-islands",
              "albania",
              "algeria",
              "american-samoa",
              "andorra",
              "angola",
              "anguilla",
              "antigua-and-barbuda",
              "argentina",
              "armenia",
              "aruba",
              "australia",
              "austria",
              "azerbaijan",
              "bahamas",
              "bahrain",
              "bangladesh",
              "barbados",
              "belarus",
              "belgium",
              "belize",
              "benin",
              "bermude",
              "bhutan",
              "bolivia",
              "bonaire-sint-eustatius-and-saba",
              "bosnia-and-herzegovina",
              "botswana",
              "brazil",
              "british-virgin-islands",
              "brunei",
              "bulgaria",
              "burkina-faso",
              "burundi",
              "cambodia",
              "cameroon",
              "canada",
              "cape-verde",
              "cayman-islands",
              "central-african-republic",
              "chad",
              "chile",
              "china",
              "colombia",
              "comoros",
              "democratic-republic-of-the-congo",
              "congo",
              "cook-islands",
              "costa-rica",
              "cte-divoire",
              "croatia",
              "cuba",
              "curaao",
              "cyprus",
              "czech-republic",
              "denmark",
              "djibouti",
              "dominica",
              "dominican-republic",
              "ecuador",
              "egypt",
              "el-salvador",
              "equatorial-guinea",
              "eritrea",
              "estonia",
              "swaziland",
              "ethiopia",
              "faroe-islands",
              "fiji",
              "finland",
              "france",
              "french-guiana",
              "french-polynesia",
              "gabon",
              "gambia",
              "georgia",
              "germany",
              "ghana",
              "greece",
              "greenland",
              "grenada",
              "guadeloupe",
              "guam",
              "guatemala",
              "guinea",
              "guinea-bissau",
              "guyana",
              "haiti",
              "honduras",
              "hong-kong",
              "hungary",
              "iceland",
              "india",
              "indonesia",
              "iran",
              "iraq",
              "ireland",
              "isle-of-man",
              "israel",
              "italy",
              "jamaica",
              "japan",
              "jordan",
              "kazakhstan",
              "kenya",
              "kiribati",
              "kosovo",
              "kuwait",
              "kyrgyzstan",
              "laos",
              "latvia",
              "lebanon",
              "lesotho",
              "liberia",
              "libya",
              "liechtenstein",
              "lithuania",
              "luxembourg",
              "macao",
              "madagascar",
              "malawi",
              "malaysia",
              "maldives",
              "mali",
              "malta",
              "marshall-islands",
              "martinique",
              "mauritania",
              "mauritius",
              "mexico",
              "micronesia-federated-states-of",
              "moldova",
              "monaco",
              "mongolia",
              "montenegro",
              "montserrat",
              "morocco",
              "mozambique",
              "myanmar",
              "namibia",
              "nauru",
              "nepal",
              "netherlands",
              "new-caledonia",
              "new-zealand",
              "nicaragua",
              "niger",
              "nigeria",
              "niue",
              "north-korea",
              "macedonia",
              "northern-cyprus",
              "northern-mariana-islands",
              "norway",
              "oman",
              "pakistan",
              "palau",
              "palestinian-territory-occupied",
              "panama",
              "papua-new-guinea",
              "paraguay",
              "peru",
              "philippines",
              "poland",
              "portugal",
              "puerto-rico",
              "qatar",
              "runion",
              "romania",
              "russia",
              "rwanda",
              "saint-barthlemy",
              "saint-kitts-and-nevis",
              "saint-lucia",
              "saint-pierre-and-miquelon",
              "saint-vincent-and-the-grenadines",
              "samoa",
              "san-marino",
              "so-tom-and-prncipe",
              "saudi-arabia",
              "senegal",
              "serbia",
              "seychelles",
              "sierra-leone",
              "singapore",
              "sint-maarten",
              "slovakia",
              "slovenia",
              "solomon-islands",
              "somalia",
              "south-africa",
              "south-korea",
              "south-sudan",
              "spain",
              "sri-lanka",
              "sudan",
              "suriname",
              "sweden",
              "switzerland",
              "syria",
              "taiwan",
              "tajikistan",
              "tanzania",
              "thailand",
              "timor-leste",
              "togo",
              "tonga",
              "trinidad-and-tobago",
              "tunisia",
              "turkey",
              "turkmenistan",
              "turks-and-caicos-islands",
              "tuvalu",
              "uganda",
              "ukraine",
              "united-arab-emirates",
              "united-kingdom",
              "united-states",
              "united-states-virgin-islands",
              "uruguay",
              "uzbekistan",
              "vanuatu",
              "venezuela",
              "vietnam",
              "western-sahara",
              "yemen",
              "zambia",
              "zimbabwe"
            ],
            "type": "string",
            "description": "Study destination as listed on Mastersportal.",
            "default": ""
          },
          "region": {
            "title": "Region",
            "enum": [
              "",
              "europe",
              "asia",
              "africa",
              "north-america",
              "oceania",
              "south-america"
            ],
            "type": "string",
            "description": "Continent. Ignored when a country is selected.",
            "default": ""
          },
          "attendance": {
            "title": "Attendance",
            "enum": [
              "",
              "on-campus",
              "online",
              "blended"
            ],
            "type": "string",
            "description": "On campus, online, or blended.",
            "default": ""
          },
          "pace": {
            "title": "Pace",
            "enum": [
              "",
              "full-time",
              "part-time"
            ],
            "type": "string",
            "description": "Full-time or part-time.",
            "default": ""
          },
          "duration": {
            "title": "Duration",
            "enum": [
              "",
              "less-than-1-year",
              "1-year",
              "1-5-years",
              "2-years",
              "more-than-2-years"
            ],
            "type": "string",
            "description": "Same duration buckets as the Mastersportal listing: under a year, 1 year, 1.5 years, 2 years, or longer.",
            "default": ""
          },
          "special": {
            "title": "Special programmes",
            "enum": [
              "",
              "executive-programmes",
              "joint-programmes",
              "erasmus-mundus"
            ],
            "type": "string",
            "description": "Executive, joint, or Erasmus Mundus programmes.",
            "default": ""
          },
          "affordable": {
            "title": "Affordable only",
            "type": "boolean",
            "description": "Same as the Affordable filter on Mastersportal.",
            "default": false
          },
          "max_results": {
            "title": "Maximum number of results",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many rows to return (1–2000).",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}