RateMyProfessors Professor API
Look up RateMyProfessors profiles by ID or URL via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, raw, and retrieve structured data including professor identifier, associated school identifier, aggregate quality rating, aggregate difficulty rating, and source rating count for instructor directory, and feedback summary.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
RateMyProfessors Professor API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
RateMyProfessors Professor API
Use id for a professor token or profile URL. Aggregate ratings, course references and latest_ratings describe different parts of the profile; the latest entries are not the entire rating history.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required: id. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks. |
| Selected implementation | apish · RateMyProfessors professor API |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Instructor directory: Match names to stable professor and school IDs.
- Feedback summary: Keep rating counts with each displayed aggregate.
Returned Data
| Field | Meaning |
|---|---|
id |
Professor identifier |
school.id |
Associated school identifier |
rating |
Aggregate quality rating |
difficulty |
Aggregate difficulty rating |
ratings |
Source rating count |
would_take_again_percent |
Share expressing willingness to take again |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/professor \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode id=1835982 \
--data-urlencode output=json \
--data-urlencode raw=0
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published RateMyProfessors Professor API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent RateMyProfessors professor API · GET · View API reference | $0.002 / billing credit | 0 | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/professor- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
id | URL query parametersquery | string | Yes | The professor's id (the number in ratemyprofessors.com/professor/<id>) or that URL. |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
cachedbooleancoursesobject[]codestringratingsinteger
credits_usedintegerdepartmentstringdepartment_idstringdifficultynumberfetched_atstringfirst_namestringidintegerlast_namestringlatest_ratingsobject[]attendancestringclarityintegercoursestringdatestringdifficultyintegerfor_creditbooleangradestringhelpfulnessintegeridintegeronlinebooleanprofessor_notenullqualityintegertagsstring[]textstringtextbooknull | booleanthumbs_downintegerthumbs_upintegerwould_take_againboolean
lock_statusstringnamestringratingnumberrating_distributionobject1integer2integer3integer4integer5integer
ratingsintegerschoolobjectcitystringcountrystringidintegernamestringstatestringurlstring
similarobject[]idintegernamestringratingintegerurlstring
top_tagsunknown[]urlstringwould_take_again_percentnumber
Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits used | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 6
Review these request fields before running. Keep the published provider and request method unchanged.
id- The professor's id (the number in ratemyprofessors.com/professor/<id>) or that URL.
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/professor?id=1835982&output=json&raw=0' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "cached": false, "courses": [ { "code": "184", "ratings": 1 }, { "code": "MATH105", "ratings": 1 }, { "code": "MATH220", "ratings": 5 }, { "code": "MATH221", "ratings": 17 }, { "code": "MATH308", "ratings": 1 }, { "code": "MATH427", "ratings": 2 }, { "code": "MATH527", "ratings": 1 } ], "credits_used": 1, "department": "Mathematics", "department_id": "38", "difficulty": 3.7, "fetched_at": "2026-11-19T12:19:36.374Z", "first_name": "Ben", "id": 1835982, "last_name": "Williams", "latest_ratings": [ { "attendance": "non mandatory", "clarity": 5, "course": "MATH221", "date": "2025-01-20T04:24:23Z", "difficulty": 3, "for_credit": true, "grade": "B+", "helpfulness": 5, "id": 40575124, "online": false, "professor_note": null, "quality": 5, "tags": [ "Amazing lectures", "Lots of homework", "Hilarious" ], "text": "Ben was a real fun guy. I was on exchange and I was shocked of how clear a mathematics lecture could be when taught by a good professor. You don't need a textbook because he is the textbook. Just come to the lectures, do the exercises, and you will survive just fine. The notes are so good, that I keep coming back to them for review.", "textbook": null, "thumbs_down": 0, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH221", "date": "2025-01-20T03:42:34Z", "difficulty": 3, "for_credit": true, "grade": "A-", "helpfulness": 5, "id": 40574992, "online": false, "professor_note": null, "quality": 5, "tags": [ "Amazing lectures", "Inspirational", "Hilarious" ], "text": "2023W2\nThe lectures are super clear and informative. Easy to follow. The mid terms are not hard but the final exam might be a shocking! Pretty good, speaking of overall experience.", "textbook": null, "thumbs_down": 0, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH221", "date": "2024-07-02T01:36:51Z", "difficulty": 4, "for_credit": true, "grade": "A", "helpfulness": 5, "id": 39604680, "online": false, "professor_note": null, "quality": 5, "tags": [ "Amazing lectures", "Gives good feedback", "Inspirational" ], "text": "Fantastic lecturer, always approachable in office hours, the man is a genius. Definitely learned a great deal of matrix algebra and walked away with a good understand of the concepts. Always encourages his students to look at the material more deeply. Final was a bit hard, but I would pick still Ben any day of the week for any course.", "textbook": true, "thumbs_down": 0, "thumbs_up": 0, "would_take_again": true }, { "attendance": "mandatory", "clarity": 5, "course": "MATH221", "date": "2024-06-28T05:40:58Z", "difficulty": 4, "for_credit": true, "grade": "Not sure yet", "helpfulness": 5, "id": 39598483, "online": false, "professor_note": null, "quality": 5, "tags": [ "Amazing lectures", "Inspirational", "Respected" ], "text": "Dr. Williams is a top-favourite professor in my opinion. His teaching style encouraged real understanding of a problem and applying methods learned in lecture to find the solution. There was a lot of work needed to study/do homework but in the end it paid off, and I surprisingly found myself really enjoying this math course thanks to Dr. Williams.", "textbook": true, "thumbs_down": 0, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH221", "date": "2024-05-10T19:50:00Z", "difficulty": 4, "for_credit": true, "grade": "A+", "helpfulness": 5, "id": 39275274, "online": false, "professor_note": null, "quality": 5, "tags": [ "Caring", "Accessible outside class" ], "text": "His lectures are engaging and this class had tons of online resources available (mini-lecture videos covering specific topics, finals from different years, for example). He's active on piazza and he's approachable during office hours and immediately after the lecture. Never made me feel dumb for having a question :) final was difficult tho lol", "textbook": null, "thumbs_down": 2, "thumbs_up": 0, "would_take_again": true } ], "lock_status": "none", "name": "Ben Williams", "rating": 3.7, "rating_distribution": { "1": 5, "2": 2, "3": 4, "4": 1, "5": 16 }, "ratings": 28, "school": { "city": "Vancouver", "country": "United States", "id": 1413, "name": "University of British Columbia", "state": "BC", "url": "https://www.ratemyprofessors.com/school/1413" }, "similar": [ { "id": 3064264, "name": "Balázs Elek", "rating": 5, "url": "https://www.ratemyprofessors.com/professor/3064264" }, { "id": 2970225, "name": "Gabriel Currier", "rating": 5, "url": "https://www.ratemyprofessors.com/professor/2970225" }, { "id": 2642846, "name": "Jens Malmquist", "rating": 5, "url": "https://www.ratemyprofessors.com/professor/2642846" } ], "top_tags": [], "url": "https://www.ratemyprofessors.com/professor/1835982", "would_take_again_percent": 78.3 }