The Piloterr Rate My Professors Scraper API lets you extract public data from Rate My Professors as clean, structured JSON — no proxies, headless browsers or HTML parsing to maintain. Endpoints available in production:
- Rate My Professors Professor API — Read one Rate My Professors profile, including difficulty and would-take-again when the page shows them.
- Rate My Professors Search API — Search Rate My Professors by name.
Use it for price monitoring, assortment tracking, competitor analysis, product research or catalog enrichment.
| Endpoint | Path | Credits | What you get |
|---|---|---|---|
| Rate My Professors Professor API | /v2/ratemyprofessors/professor |
2 | Read one Rate My Professors profile, including difficulty and would-take-again when the page shows them. |
| Rate My Professors Search API | /v2/ratemyprofessors/search |
2 | Search Rate My Professors by name. Cards include school, department, difficulty, and would-take-again when the card shows them. |
- How it works
- Rate My Professors Professor API
- Rate My Professors Search API
- Code examples in other languages
- Practical use cases
- Why Piloterr?
- FAQ
- Official SDKs
- Related scrapers
- Support
- Create a free Piloterr account and copy your API key from the dashboard.
- Send a
GET(orPOST) request tohttps://api.piloterr.com/v2/...with the headerx-api-key: YOUR_API_KEY. - Receive structured JSON — Piloterr handles rendering, proxies, retries and parsing.
export PILOTERR_API_KEY="your-api-key"
pip install requests # Python
# TypeScript: Node.js 18+ (native fetch), run with `npx tsx file.ts`Every endpoint accepts both
GET(query string) andPOST(JSON body with the same fields).
Read one Rate My Professors profile, including difficulty and would-take-again when the page shows them.
GET | POST https://api.piloterr.com/v2/ratemyprofessors/professor · 2 credits per request · Full reference
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | ✅ | Required. The numeric professor id from search, or a /professor/{id} URL. A name is not accepted. |
import json
import os
import requests
response = requests.get(
"https://api.piloterr.com/v2/ratemyprofessors/professor",
headers={"x-api-key": os.environ["PILOTERR_API_KEY"]},
params={
"query": "1064107",
},
timeout=120,
)
response.raise_for_status()
data = response.json()
print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])type RateMyProfessorsProfessor = {
id?: string;
url?: string;
name?: string;
rating?: number;
school?: string;
last_name?: string;
department?: string;
difficulty?: number;
first_name?: string;
school_url?: string;
ratings_count?: number;
would_take_again_percent?: number;
};
const params = new URLSearchParams({
"query": "1064107",
});
const response = await fetch(`https://api.piloterr.com/v2/ratemyprofessors/professor?${params}`, {
headers: { "x-api-key": process.env.PILOTERR_API_KEY! },
});
if (!response.ok) throw new Error(`Piloterr error ${response.status}: ${await response.text()}`);
const data = (await response.json()) as RateMyProfessorsProfessor;
console.log(JSON.stringify(data, null, 2).slice(0, 2000));POST variant
POST https://api.piloterr.com/v2/ratemyprofessors/professor
x-api-key: YOUR_API_KEY
Content-Type: application/json
{"query": "1064107"}Example response from the API reference, abridged — real values depend on the page you scrape.
{
"id": "1064107",
"url": "https://www.ratemyprofessors.com/professor/1064107",
"name": "Kevin Smith",
"rating": 4.6,
"school": "Rio Hondo College",
"last_name": "example",
"department": "Psychology",
"difficulty": 3.1,
"first_name": "example",
"school_url": "https://www.ratemyprofessors.com/school/2746",
"ratings_count": 174,
"would_take_again_percent": 94
}| Field | Type | Description |
|---|---|---|
id |
string | |
url |
string | |
name |
string | |
rating |
number | |
school |
string | |
last_name |
string | |
department |
string | |
difficulty |
number | |
first_name |
string | |
school_url |
string | |
ratings_count |
integer | |
would_take_again_percent |
integer |
Search Rate My Professors by name. Cards include school, department, difficulty, and would-take-again when the card shows them.
GET | POST https://api.piloterr.com/v2/ratemyprofessors/search · 2 credits per request · Full reference
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | ✅ | Required. A professor name, or a Rate My Professors search URL whose path contains /search/professors or whose query contains q=. |
import json
import os
import requests
response = requests.get(
"https://api.piloterr.com/v2/ratemyprofessors/search",
headers={"x-api-key": os.environ["PILOTERR_API_KEY"]},
params={
"query": "smith",
},
timeout=120,
)
response.raise_for_status()
data = response.json()
print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])type RateMyProfessorsSearch = {
results?: {
id?: string;
url?: string;
name?: string;
rating?: number;
school?: string;
department?: string;
difficulty?: number;
ratings_count?: number;
would_take_again_percent?: number;
}[];
pagination?: {
next?: unknown;
page?: number;
per_page?: number;
total_pages?: unknown;
total_results?: number;
};
};
const params = new URLSearchParams({
"query": "smith",
});
const response = await fetch(`https://api.piloterr.com/v2/ratemyprofessors/search?${params}`, {
headers: { "x-api-key": process.env.PILOTERR_API_KEY! },
});
if (!response.ok) throw new Error(`Piloterr error ${response.status}: ${await response.text()}`);
const data = (await response.json()) as RateMyProfessorsSearch;
console.log(JSON.stringify(data, null, 2).slice(0, 2000));POST variant
POST https://api.piloterr.com/v2/ratemyprofessors/search
x-api-key: YOUR_API_KEY
Content-Type: application/json
{"query": "smith"}Example response from the API reference, abridged — real values depend on the page you scrape.
{
"results": [
{
"id": "1064107",
"url": "https://www.ratemyprofessors.com/professor/1064107",
"name": "Kevin Smith",
"rating": 4.6,
"school": "Rio Hondo College",
"department": "Psychology",
"difficulty": 3.1,
"ratings_count": 174,
"would_take_again_percent": 94
}
],
"pagination": {
"next": null,
"page": 1,
"per_page": 5,
"total_pages": null,
"total_results": 10000
}
}| Field | Type | Description |
|---|---|---|
results[] |
object[] | |
results[].id |
string | |
results[].url |
string | |
results[].name |
string | |
results[].rating |
number | |
results[].school |
string | |
results[].department |
string | |
results[].difficulty |
number | |
results[].ratings_count |
integer | |
results[].would_take_again_percent |
integer | |
pagination |
object | |
pagination.next |
object | |
pagination.page |
integer | |
pagination.per_page |
integer | |
pagination.total_pages |
object | |
pagination.total_results |
integer |
Ready-to-run examples live in the examples/ folder. Each one reads your key from the PILOTERR_API_KEY environment variable.
| Language | Professor | Search |
|---|---|---|
| cURL (Bash) | professor |
search |
| PHP | professor |
search |
| C# | professor |
search |
| Go | professor |
search |
| Java | professor |
search |
| Ruby | professor |
search |
| Node.js | professor |
search |
- Price monitoring — Track prices, promotions and availability over time to react to competitors.
- Assortment & catalog tracking — Follow new products, delisted items and category changes.
- Competitor analysis — Benchmark ranges, brands and positioning across retailers.
- Product research — Spot best-sellers and trends from search results.
- Catalog enrichment — Pull titles, images and attributes into your PIM or marketplace listings.
- No infrastructure — no proxies, headless browsers or CAPTCHA solving to run yourself.
- Structured JSON — stable, documented fields instead of brittle HTML selectors.
- Pay per request — transparent credit cost per endpoint, failed requests are retried for you.
- One API key, hundreds of sources — Rate My Professors plus many other e-commerce, search and company data endpoints in the Piloterr library.
- Any language — plain HTTPS + JSON, with examples for Python, TypeScript, cURL, PHP, C#, Go, Java, Ruby and Node.js.
Collecting publicly available data is generally allowed in many jurisdictions, but rules depend on your country, the data you collect and how you use it. Avoid personal data unless you have a lawful basis, respect the website's terms where they apply, and get legal advice for your specific use case. This is not legal advice.
No. Piloterr handles rendering, proxy rotation and retries on its side. You only send an HTTPS request with your x-api-key header and receive JSON.
Credits per call: /v2/ratemyprofessors/professor 2, /v2/ratemyprofessors/search 2. See the Piloterr website for plans.
Each endpoint returns structured JSON: Rate My Professors Professor — id, url, name, rating, school, last_name; Rate My Professors Search — results[], results[].id, results[].url, results[].name, results[].rating, results[].school.
Any language that can make an HTTP request. This README shows Python and TypeScript; the examples/ folder contains cURL, PHP, C#, Go, Java, Ruby and Node.js.
Use Piloterr from your own language with a typed client:
| SDK | Package | Install |
|---|---|---|
| Node.js | @piloterr/sdk |
npm install @piloterr/sdk |
| Python | piloterr |
pip install piloterr |
| Go | piloterr-go |
go get github.com/piloterr/piloterr-go |
| .NET | Piloterr |
dotnet add package Piloterr |
| Ruby | piloterr |
gem install piloterr |
| PHP | piloterr/sdk |
composer require piloterr/sdk |
| Java | piloterr-java |
build from source, see its README |
| CLI | @piloterr/cli |
npm install -g @piloterr/cli |
| MCP server | @piloterr/mcp |
npx -y @piloterr/mcp |
- About You Scraper API
- Action Scraper API
- Aldi Scraper API
- Alibaba Scraper API
- AliExpress Scraper API
- Allegro Scraper API
- All Piloterr scrapers on GitHub
- 💬 Join the Piloterr Discord to ask questions and share what you build.
- 📚 Browse the API reference (OpenAPI) and the Piloterr library.
- 🔑 Get your API key.
Built by Piloterr — web scraping APIs for e-commerce, search, real estate and more, one API key.
Rate My Professors is a trademark of its respective owner. This repository is not affiliated with or endorsed by Rate My Professors. Examples are released under the MIT license.
