# Rate My Professors & Schools Scraper (`parseforge/rate-my-professors-scraper`) Actor

Extract comprehensive professor and school data from RateMyProfessors.com, including ratings, reviews, difficulty levels, tags, rating distributions, similar professors, and school quality metrics. Ideal for students, researchers, and educational institutions needing accurate academic insights.

- **URL**: https://apify.com/parseforge/rate-my-professors-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Automation, Developer tools, Other
- **Stats:** 33 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

![ParseForge Banner](https://github.com/ParseForge/apify-assets/blob/ad35ccc13ddd068b9d6cba33f323962e39aed5b2/banner.jpg?raw=true)

## 📚 Rate My Professors Scraper

> 🚀 **Collect professor ratings, reviews, and school data from RateMyProfessors.com in minutes.** Search by professor name, school, or direct URL. Export ratings, difficulty, reviews, and department info. No coding, no API keys.

> 🕒 **Last updated:** 2026-04-23 · **📊 20+ fields** per professor · **🔍 Professor + school search** · **⭐ Ratings + reviews** · **🚫 No auth** required

The **Rate My Professors Scraper** collects professor and school data from RateMyProfessors.com, returning **20+ fields per record**: professor name, overall quality rating, difficulty level, number of ratings, department, school name, individual reviews with text, class, grade, and tags. Runs support up to 1,000,000 records on a paid plan.

The Actor supports three input modes: direct RateMyProfessors URL, professor name search (optionally scoped to a school), and school search. Results include both aggregate professor metrics and individual student reviews.

| 🎯 Target Audience | 💡 Primary Use Cases |
|---|---|
| Students, academic researchers, educational institutions, ed-tech platforms, data journalists, curriculum analysts | Course selection, teaching quality analysis, department benchmarking, academic research, institutional assessment |

---

### 📋 What the Rate My Professors Scraper does

Three input modes:

- 🔗 **URL mode.** Paste a direct RateMyProfessors professor or school page URL.
- 👨‍🏫 **Professor search.** Search by professor name, optionally scoped to a specific school.
- 🏫 **School search.** Search for schools by name to get school-level data.

Each professor record includes name, overall quality rating, difficulty level, would-take-again percentage, number of ratings, department, school name, individual reviews with text, class name, grade received, attendance required flag, and quality/difficulty tags.

> 💡 **Why it matters:** manually browsing RateMyProfessors for course decisions or teaching-quality research means clicking through profiles one by one. This Actor exports structured academic data at scale, ready for analysis, dashboards, or ed-tech integrations.

---

### 🎬 Full Demo

_🚧 Coming soon: a 3-minute walkthrough showing how to go from sign-up to a downloaded dataset._

---

### ⚙️ Input

<table>
<thead>
<tr><th>Input</th><th>Type</th><th>Default</th><th>Behavior</th></tr>
</thead>
<tbody>
<tr><td>maxItems</td><td>integer</td><td>10</td><td>Max results. Free: up to 100. Paid: up to 1,000,000.</td></tr>
<tr><td>startUrl</td><td>string</td><td>""</td><td>Direct RateMyProfessors URL. Use this or search fields, not both.</td></tr>
<tr><td>professorSearchQuery</td><td>string</td><td>""</td><td>Professor name to search for.</td></tr>
<tr><td>professorSchoolQuery</td><td>string</td><td>""</td><td>Optional school name to scope professor search.</td></tr>
<tr><td>schoolSearchQuery</td><td>string</td><td>""</td><td>School name to search for school-level data.</td></tr>
</tbody>
</table>

**Example: search for a professor at a specific school.**

```json
{
    "professorSearchQuery": "Smith",
    "professorSchoolQuery": "MIT",
    "maxItems": 50
}
````

**Example: scrape a specific professor page.**

```json
{
    "startUrl": "https://www.ratemyprofessors.com/professor/12345",
    "maxItems": 100
}
```

> ⚠️ **Good to Know:** when searching by professor name without a school filter, results may include professors from multiple institutions with the same name. Adding professorSchoolQuery narrows results to a single school.

***

### 📊 Output

Each record contains **20+ fields**. Download the dataset as CSV, Excel, JSON, or XML.

#### 🧾 Schema

| Field | Type | Example |
|---|---|---|
| 👨‍🏫 professorName | string | `"John Smith"` |
| 🏫 schoolName | string | `"MIT"` |
| 📂 department | string | `"Computer Science"` |
| ⭐ overallRating | number | `4.2` |
| 📊 difficultyLevel | number | `3.5` |
| 🔢 numberOfRatings | number | `87` |
| 🔄 wouldTakeAgain | number | `85` |
| 📝 reviewText | string | `"Great lecturer, clear explanations."` |
| 📚 className | string | `"CS 101"` |
| 🏆 gradeReceived | string | `"A"` |
| ✅ attendanceRequired | boolean | true |
| 🏷️ tags | array | `["Inspirational", "Clear grading"]` |
| 📅 reviewDate | string | `"2026-01-15"` |
| 🔗 professorUrl | string | `"https://www.ratemyprofessors.com/professor/12345"` |
| 🕒 scrapedAt | ISO 8601 | `"2026-04-16T00:00:00.000Z"` |

#### 📦 Sample records

<details>
<summary><strong>⭐ High-rated professor with detailed review</strong></summary>

```json
{
    "professorName": "John Smith",
    "schoolName": "MIT",
    "department": "Computer Science",
    "overallRating": 4.2,
    "difficultyLevel": 3.5,
    "numberOfRatings": 87,
    "wouldTakeAgain": 85,
    "reviewText": "Great lecturer, clear explanations. Homework is challenging but fair.",
    "className": "CS 101",
    "gradeReceived": "A",
    "attendanceRequired": true,
    "tags": ["Inspirational", "Clear grading criteria"],
    "reviewDate": "2026-01-15",
    "professorUrl": "https://www.ratemyprofessors.com/professor/12345",
    "scrapedAt": "2026-04-16T00:00:00.000Z"
}
```

</details>

<details>
<summary><strong>📊 Average-rated professor with criticism</strong></summary>

```json
{
    "professorName": "Jane Doe",
    "schoolName": "UCLA",
    "department": "Mathematics",
    "overallRating": 2.8,
    "difficultyLevel": 4.5,
    "numberOfRatings": 134,
    "wouldTakeAgain": 35,
    "reviewText": "Very difficult exams. Office hours are helpful but lectures move too fast.",
    "className": "Math 115",
    "gradeReceived": "C+",
    "attendanceRequired": false,
    "tags": ["Tough grader", "Heavy homework"],
    "reviewDate": "2025-11-20",
    "professorUrl": "https://www.ratemyprofessors.com/professor/67890",
    "scrapedAt": "2026-04-16T00:00:00.000Z"
}
```

</details>

<details>
<summary><strong>🏫 School-level record</strong></summary>

```json
{
    "schoolName": "Massachusetts Institute of Technology",
    "city": "Cambridge",
    "state": "MA",
    "overallQuality": 4.1,
    "numberOfProfessors": 1200,
    "schoolUrl": "https://www.ratemyprofessors.com/school/580",
    "scrapedAt": "2026-04-16T00:00:00.000Z"
}
```

</details>

***

### ✨ Why choose this Actor

| | Capability |
|---|---|
| 👨‍🏫 | **Professor and school search.** Both individual and institutional data in one Actor. |
| ⭐ | **Full rating data.** Overall quality, difficulty, would-take-again, and individual reviews. |
| 📝 | **Review details.** Text, class name, grade received, attendance, and tags per review. |
| 🏫 | **School scoping.** Filter professor search by school name. |
| 📊 | **Aggregate and individual data.** Both summary metrics and per-review breakdowns. |
| ⚡ | **Scalable.** From single-professor lookups to full department or school sweeps. |
| 🚫 | **No authentication.** No RateMyProfessors API key needed. |

> 📊 RateMyProfessors has over 19 million student ratings across 6,000+ schools. Structured access to this data powers every course-selection, teaching-quality, and institutional-analysis workflow.

***

### 📈 How it compares to alternatives

| Approach | Cost | Coverage | Refresh | Filters | Setup |
|---|---|---|---|---|---|
| **⭐ Rate My Professors Scraper** *(this Actor)* | $5 free credit, then pay-per-use | Any RMP professor/school | **Live per run** | name, school, URL | ⚡ 2 min |
| Manual RMP browsing | Free | One profile at a time | Manual | RMP UI | 🕒 Hours per department |
| RMP API (unofficial) | Free, rate-limited | GraphQL | Rate-limited | Many | ⏳ Hours of dev work |

Pick this Actor when you want RateMyProfessors data on demand, without writing GraphQL queries or browsing profiles one by one.

***

### 🚀 How to use

1. 📝 **Sign up.** [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=vmoqkp) (takes 2 minutes).
2. 🌐 **Open the Actor.** Go to the Rate My Professors Scraper page on the Apify Store.
3. 🎯 **Set input.** Search by professor name (optionally with school), or paste a URL. Set maxItems.
4. 🚀 **Run it.** Click **Start** and let the Actor collect your data.
5. 📥 **Download.** Grab your results in the **Dataset** tab as CSV, Excel, JSON, or XML.

> ⏱️ Total time from signup to downloaded dataset: **3-5 minutes.** No coding required.

***

### 💼 Business use cases

<table>
<tr>
<td width="50%" valign="top">

#### 🎓 Students & Advisors

- Compare professors before course registration
- Find the highest-rated instructors by department
- Check difficulty levels and grade distributions
- Read recent reviews for up-to-date feedback

</td>
<td width="50%" valign="top">

#### 📊 Academic Researchers

- Study teaching quality across departments
- Analyze student sentiment by discipline
- Build longitudinal datasets of professor ratings
- Compare institutional teaching quality

</td>
</tr>
<tr>
<td width="50%" valign="top">

#### 🏫 Educational Institutions

- Benchmark departments against peer schools
- Identify teaching-quality trends over time
- Support faculty development with data
- Monitor institutional reputation metrics

</td>
<td width="50%" valign="top">

#### 💻 Ed-Tech Platforms

- Enrich course recommendation engines with ratings
- Build professor comparison features
- Add teaching-quality signals to enrollment tools
- Power student decision-support dashboards

</td>
</tr>
</table>

***

***

### 🌟 Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

<table>
<tr>
<td width="50%">

#### 🎓 Research and academia

- Empirical datasets for papers, thesis work, and coursework
- Longitudinal studies tracking changes across snapshots
- Reproducible research with cited, versioned data pulls
- Classroom exercises on data analysis and ethical scraping

</td>
<td width="50%">

#### 🎨 Personal and creative

- Side projects, portfolio demos, and indie app launches
- Data visualizations, dashboards, and infographics
- Content research for bloggers, YouTubers, and podcasters
- Hobbyist collections and personal trackers

</td>
</tr>
<tr>
<td width="50%">

#### 🤝 Non-profit and civic

- Transparency reporting and accountability projects
- Advocacy campaigns backed by public-interest data
- Community-run databases for local issues
- Investigative journalism on public records

</td>
<td width="50%">

#### 🧪 Experimentation

- Prototype AI and machine-learning pipelines with real data
- Validate product-market hypotheses before engineering spend
- Train small domain-specific models on niche corpora
- Test dashboard concepts with live input

</td>
</tr>
</table>

### 🤖 Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:

- 💬 [**ChatGPT**](https://chat.openai.com/?q=How%20do%20I%20use%20the%20Rate%20My%20Professors%20%26%20Schools%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🧠 [**Claude**](https://claude.ai/new?q=How%20do%20I%20use%20the%20Rate%20My%20Professors%20%26%20Schools%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🔍 [**Perplexity**](https://perplexity.ai/search?q=How%20do%20I%20use%20the%20Rate%20My%20Professors%20%26%20Schools%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🅒 [**Copilot**](https://copilot.microsoft.com/?q=How%20do%20I%20use%20the%20Rate%20My%20Professors%20%26%20Schools%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)

### ❓ Frequently Asked Questions

<details>
<summary><b>💳 Do I need a paid Apify plan to run this actor?</b></summary>

No. You can start right now on the free Apify plan, which includes **$5 in free monthly credit**. That is enough to run this actor several times and explore the output before committing to anything. Paid plans unlock higher limits, more concurrent runs, and larger datasets. [Create a free Apify account here](https://console.apify.com/sign-up?fpr=vmoqkp) to get started.

</details>

<details>
<summary><b>🚨 What happens if my run fails or returns no results?</b></summary>

Failed runs are not charged. If the source site changes, proxies get rate-limited, or a specific input matches nothing, re-run the actor or open our [contact form](https://tally.so/r/BzdKgA) and we will investigate. You can also check the run log in the Apify console to see why the run stopped.

</details>

<details>
<summary><b>📏 How many items can I scrape per run?</b></summary>

Free users are limited to **10 items per run** so you can preview the output and confirm the actor works for your use case. Paid users can raise maxItems up to **1,000,000** per run. [Upgrade here](https://console.apify.com/sign-up?fpr=vmoqkp) if you need full scale.

</details>

<details>
<summary><b>🕒 How fresh is the data?</b></summary>

Every run fetches live data at the moment of execution. There is no cache or delay: the records you get reflect what the source returned at that moment. Schedule the actor to maintain a rolling snapshot of the data you need.

</details>

<details>
<summary><b>🧑‍💻 Can I call this actor from my own code?</b></summary>

Yes. Apify exposes every actor as a REST endpoint and ships first-class SDKs for [Node.js](https://docs.apify.com/sdk/js) and [Python](https://docs.apify.com/sdk/python). You can start a run, read the dataset, and handle webhooks from your own app in a few lines. All you need is your Apify API token.

</details>

<details>
<summary><b>📤 How do I export the data?</b></summary>

Every Apify dataset can be downloaded in one click from the console as CSV, JSON, JSONL, Excel, HTML, XML, or RSS. You can also pull results programmatically via the [Apify API](https://docs.apify.com/api/v2) or stream them into BigQuery, S3, and other destinations through built-in integrations.

</details>

<details>
<summary><b>📅 Can I schedule the actor to run automatically?</b></summary>

Yes. Use the Apify scheduler to run the actor on any cadence, from hourly to monthly. Results are saved to your dataset and can be delivered to webhooks, email, Slack, cloud storage, or automation tools such as Zapier and Make.

***

</details>

### 🔌 Automating Rate My Professors Scraper

Control the scraper programmatically for scheduled runs and pipeline integrations:

- 🟢 **Node.js.** Install the apify-client NPM package.
- 🐍 **Python.** Use the apify-client PyPI package.
- 📚 See the [Apify API documentation](https://docs.apify.com/api/v2) for full details.

The [Apify Schedules feature](https://docs.apify.com/platform/schedules) lets you trigger this Actor on any cron interval. Semester-start pulls give students fresh data for course registration.

### 🔌 Integrate with any app

Rate My Professors Scraper connects to any cloud service via [Apify integrations](https://apify.com/integrations):

- [**Make**](https://docs.apify.com/platform/integrations/make) - Automate multi-step workflows
- [**Zapier**](https://docs.apify.com/platform/integrations/zapier) - Connect with 5,000+ apps
- [**Slack**](https://docs.apify.com/platform/integrations/slack) - Get run notifications in your channels
- [**Airbyte**](https://docs.apify.com/platform/integrations/airbyte) - Pipe academic data into your warehouse
- [**GitHub**](https://docs.apify.com/platform/integrations/github) - Trigger runs from commits and releases
- [**Google Drive**](https://docs.apify.com/platform/integrations/drive) - Export datasets straight to Sheets

***

### 🔗 Recommended Actors

- [**🍺 Untappd Beer Review Scraper**](https://apify.com/parseforge/untappd-beer-review-scraper) - Beer ratings and check-in data
- [**🏨 Booking.com Reviews Scraper**](https://apify.com/parseforge/booking-com-reviews-scraper) - Hotel guest reviews and ratings
- [**📱 Reddit Posts Scraper**](https://apify.com/parseforge/reddit-posts-scraper) - Reddit posts with engagement data
- [**🛒 Amazon Reviews Scraper**](https://apify.com/parseforge/amazon-reviews-scraper) - Product reviews from Amazon
- [**📰 PR Newswire Scraper**](https://apify.com/parseforge/pr-newswire-scraper) - Press releases and news articles

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge) for more review and education scrapers.

***

**🆘 Need Help?** [**Open our contact form**](https://tally.so/r/BzdKgA) to request a new scraper, propose a custom data project, or report an issue.

***

> **⚠️ Disclaimer:** this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by RateMyProfessors or any of its subsidiaries. All trademarks mentioned are the property of their respective owners. Only publicly available rating and review data is collected.

# Actor input Schema

## `maxItems` (type: `integer`):

Maximum number of results to extract. Free users: Limited to 100. Paid users: Optional, max 1,000,000

## `startUrl` (type: `string`):

Direct URL to scrape from Rate My Professors. Use this OR search filters below, not both. Examples: https://www.ratemyprofessors.com/search/professors/580?q=smith (professors) or https://www.ratemyprofessors.com/search/schools?q=sa (schools)

## `professorSearchQuery` (type: `string`):

Search term for professor name. Use this to search for professors. Example: 'smith', 'johnson'. Optionally combine with school name below to search within a specific school.

## `professorSchoolQuery` (type: `string`):

Optional. School name when searching for professors. If provided, searches for professors only within this school. Example: 'MIT', 'Harvard'. Use with professor name above.

## `schoolSearchQuery` (type: `string`):

Search term for school name. Use this to search for schools instead of professors. Example: 'sa', 'MIT', 'Harvard'. Mutually exclusive with professor search filters.

## Actor input object example

```json
{
  "maxItems": 10,
  "startUrl": "https://www.ratemyprofessors.com/search/professors/?q=smith"
}
```

# Actor output Schema

## `professors` (type: `string`):

Professors view with all professor-specific fields including ratings, reviews, department information, and more

## `schools` (type: `string`):

Schools view with all school-specific fields including location, ratings, reviews, and more

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxItems": 10,
    "startUrl": "https://www.ratemyprofessors.com/search/professors/?q=smith"
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/rate-my-professors-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "maxItems": 10,
    "startUrl": "https://www.ratemyprofessors.com/search/professors/?q=smith",
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/rate-my-professors-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxItems": 10,
  "startUrl": "https://www.ratemyprofessors.com/search/professors/?q=smith"
}' |
apify call parseforge/rate-my-professors-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=parseforge/rate-my-professors-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Rate My Professors & Schools Scraper",
        "description": "Extract comprehensive professor and school data from RateMyProfessors.com, including ratings, reviews, difficulty levels, tags, rating distributions, similar professors, and school quality metrics. Ideal for students, researchers, and educational institutions needing accurate academic insights.",
        "version": "1.0",
        "x-build-id": "reYYDxmgH179KpozA"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~rate-my-professors-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-rate-my-professors-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/parseforge~rate-my-professors-scraper/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-rate-my-professors-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/parseforge~rate-my-professors-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-rate-my-professors-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": {
                    "maxItems": {
                        "title": "💯 Number of professors or schools",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Maximum number of results to extract. Free users: Limited to 100. Paid users: Optional, max 1,000,000"
                    },
                    "startUrl": {
                        "title": "🔗 Direct URL",
                        "type": "string",
                        "description": "Direct URL to scrape from Rate My Professors. Use this OR search filters below, not both. Examples: https://www.ratemyprofessors.com/search/professors/580?q=smith (professors) or https://www.ratemyprofessors.com/search/schools?q=sa (schools)"
                    },
                    "professorSearchQuery": {
                        "title": "👨‍🏫 Professor name",
                        "type": "string",
                        "description": "Search term for professor name. Use this to search for professors. Example: 'smith', 'johnson'. Optionally combine with school name below to search within a specific school."
                    },
                    "professorSchoolQuery": {
                        "title": "🏫 School name (for professor search)",
                        "type": "string",
                        "description": "Optional. School name when searching for professors. If provided, searches for professors only within this school. Example: 'MIT', 'Harvard'. Use with professor name above."
                    },
                    "schoolSearchQuery": {
                        "title": "🏫 School name",
                        "type": "string",
                        "description": "Search term for school name. Use this to search for schools instead of professors. Example: 'sa', 'MIT', 'Harvard'. Mutually exclusive with professor search filters."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
