RateMyProfessors Professor Ratings API
Browse RateMyProfessors rating entries by professor and course code 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 rating-entry identifier, course code, entry quality rating, entry difficulty rating, and source rating date for feedback explorer, and context review.
- 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 Ratings 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 Ratings API
Select the professor with id, optionally set course, and follow page. Each item keeps its own course, date, quality and difficulty values, separate from the aggregate professor summary.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required: id. Optional: course, page. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks. |
| Selected implementation | apish · RateMyProfessors professor ratings API |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Feedback explorer: Show course and date with individual rating dimensions.
- Context review: Keep individual entries separate from the profile aggregate.
Returned Data
| Field | Meaning |
|---|---|
items[].id |
Rating-entry identifier |
items[].course |
Course code |
items[].quality |
Entry quality rating |
items[].difficulty |
Entry difficulty rating |
items[].date |
Source rating date |
next_page |
Next page number or null |
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/ratings \
-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 Ratings 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 ratings 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/ratings- 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. |
course | URL query parametersquery | string | No | Only ratings for this course code, e.g. `MATH221` (see `courses` in the response). |
page | URL query parametersquery | integer | No | Page number. Pass `next_page` from the previous response; `next_page` is null on the last page. |
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
cachedbooleancountintegercoursenullcoursesobject[]codestringratingsinteger
credits_usedintegerfetched_atstringitemsobject[]attendancestring | nullclarityintegercoursestringdatestringdifficultyintegerfor_creditbooleangradestring | nullhelpfulnessintegeridintegeronlinebooleanprofessor_notenullqualityintegertagsstring[]textstringtextbooknull | booleanthumbs_downintegerthumbs_upintegerwould_take_againboolean | null
next_pageintegerpageintegerper_pageintegerprofessorobjectdepartmentstringdifficultynumberidintegernamestringratingnumberratingsintegerschoolobjectcitystringcountrystringidintegernamestringstatestringurlstring
urlstringwould_take_again_percentnumber
totalinteger
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 8
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.
course- Only ratings for this course code, e.g. `MATH221` (see `courses` in the response).
page- Page number. Pass `next_page` from the previous response; `next_page` is null on the last page.
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/ratings?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, "count": 20, "course": null, "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, "fetched_at": "2026-11-19T12:19:38.839Z", "items": [ { "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 }, { "attendance": "non mandatory", "clarity": 4, "course": "MATH221", "date": "2024-05-05T18:37:21Z", "difficulty": 4, "for_credit": true, "grade": "B-", "helpfulness": 4, "id": 39369450, "online": false, "professor_note": null, "quality": 4, "tags": [ "Graded by few things" ], "text": "221 is one of the easiest 200 level math courses, so it's relatively easy to do well on the midterms. However, the final was what knocked our grades down. IT WAS HARD. Ben only scaled those who missed a midterm and those who did so bad on the midterms that they're depending on the final to survive, so it was kinda unfair to other students.", "textbook": null, "thumbs_down": 1, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH220", "date": "2024-04-23T21:36:42Z", "difficulty": 4, "for_credit": true, "grade": "B-", "helpfulness": 5, "id": 39242740, "online": false, "professor_note": null, "quality": 5, "tags": [ "Amazing lectures", "Inspirational", "Accessible outside class" ], "text": "As long as you review the class everyday, you will be ok. The professor is the best", "textbook": true, "thumbs_down": 2, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH221", "date": "2024-04-23T15:22:56Z", "difficulty": 2, "for_credit": true, "grade": "A", "helpfulness": 5, "id": 39144131, "online": false, "professor_note": null, "quality": 5, "tags": [ "Amazing lectures", "Inspirational" ], "text": "His lecture is pretty interesting and easy to understand. Recommend", "textbook": null, "thumbs_down": 2, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH221", "date": "2024-04-23T15:20:53Z", "difficulty": 1, "for_credit": true, "grade": "A+", "helpfulness": 5, "id": 39144121, "online": false, "professor_note": null, "quality": 5, "tags": [ "Amazing lectures", "Caring", "Respected" ], "text": "take it, its easy and good", "textbook": null, "thumbs_down": 2, "thumbs_up": 0, "would_take_again": true }, { "attendance": "mandatory", "clarity": 2, "course": "MATH221", "date": "2024-04-22T17:12:34Z", "difficulty": 5, "for_credit": true, "grade": "Not sure yet", "helpfulness": 2, "id": 39227591, "online": false, "professor_note": null, "quality": 2, "tags": [ "Tough grader", "Lecture heavy", "Test heavy" ], "text": "Very very very bad exams. Midterms are still fine, final was a nightmare to students. Questions on the final were not covered in class, and not even in the practice exams. Very disappointing.", "textbook": null, "thumbs_down": 0, "thumbs_up": 2, "would_take_again": null }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH221", "date": "2024-04-20T04:25:29Z", "difficulty": 2, "for_credit": false, "grade": "A", "helpfulness": 5, "id": 39215876, "online": false, "professor_note": null, "quality": 5, "tags": [ "Clear grading criteria", "Caring", "Respected" ], "text": "I don't know why there is so much hate around Ben. I enjoyed every of his lectures. He tried to engage every student with funny jokes and answered any question during the lecture. Our mt averages were pretty high and the course is easy if you put at least 60% of ur effort into it", "textbook": true, "thumbs_down": 1, "thumbs_up": 0, "would_take_again": true }, { "attendance": "mandatory", "clarity": 3, "course": "MATH220", "date": "2024-03-08T19:10:01Z", "difficulty": 3, "for_credit": true, "grade": "Incomplete", "helpfulness": 3, "id": 39035878, "online": false, "professor_note": null, "quality": 3, "tags": [ "Tough grader" ], "text": "His teaching quality is good, he's active on piazza and generally quite approachable but there were types of questions in HW assignments and midterm which he did not even touch upon during lectures. So I believe he doesn't cover everything in the course content and for a course like MATH220, that is not ideal. ", "textbook": null, "thumbs_down": 0, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH221", "date": "2022-12-20T22:52:47Z", "difficulty": 4, "for_credit": true, "grade": "Not sure yet", "helpfulness": 5, "id": 37207131, "online": false, "professor_note": null, "quality": 5, "tags": [ "Amazing lectures", "Caring", "Accessible outside class" ], "text": "I did not like Ben when I took Math 105. I thought he was a bit arrogant, unreachable, and not very clear. However, his lectures for Math 221 were super clear, interactive, and based on conceptual understanding. He is super active on Piazza and answers questions asked out of curiosity. A dedicated student to maths will surely love his class. ", "textbook": true, "thumbs_down": 1, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 1, "course": "MATH221", "date": "2022-12-10T23:56:04Z", "difficulty": 4, "for_credit": true, "grade": null, "helpfulness": 1, "id": 37068659, "online": false, "professor_note": null, "quality": 1, "tags": [ "Tough grader" ], "text": "Horrible teaching style. Does not respond to questions in a clear and accessible manner, makes concepts even more difficult to understand. Also quite inconsiderate, arrogant and not understanding. Would never take a class with him again. ", "textbook": true, "thumbs_down": 0, "thumbs_up": 3, "would_take_again": null }, { "attendance": "non mandatory", "clarity": 1, "course": "MATH221", "date": "2022-07-06T00:23:07Z", "difficulty": 5, "for_credit": true, "grade": "C-", "helpfulness": 1, "id": 36505121, "online": false, "professor_note": null, "quality": 1, "tags": [ "Tough grader", "Test heavy" ], "text": "This man single handedly ruined my chances of getting into my DREAM major. Class average was 62% while the next term had a class average of 78%. Midterm averages were 50% and 58%.", "textbook": null, "thumbs_down": 0, "thumbs_up": 2, "would_take_again": null }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH105", "date": "2022-05-05T04:02:35Z", "difficulty": 3, "for_credit": true, "grade": "A+", "helpfulness": 5, "id": 36248679, "online": false, "professor_note": null, "quality": 5, "tags": [ "Clear grading criteria", "Inspirational", "Respected" ], "text": "Professor Williams is very knowledgeable and passionate about math. He explains the theoretical concepts clearly in an interesting way. When asked questions, he always gives quality answers in depth and answers respectfully. His lectures were interesting and although long, they were not too hard to follow. Overall, a great instructor for math.", "textbook": null, "thumbs_down": 0, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 5, "course": "MATH220", "date": "2022-01-14T05:21:20Z", "difficulty": 3, "for_credit": true, "grade": null, "helpfulness": 5, "id": 35752341, "online": false, "professor_note": null, "quality": 5, "tags": [ "Gives good feedback", "Amazing lectures", "Caring" ], "text": "Ben is one of the best math profs I've ever had at UBC. I don't know why but I think he just has the gift for teaching math. His lectures were clear and easy to understand. He cares about students and is very active on piazza as well. Although his exams could be hard sometimes.", "textbook": true, "thumbs_down": 0, "thumbs_up": 0, "would_take_again": true }, { "attendance": "non mandatory", "clarity": 1, "course": "MATH220", "date": "2021-03-21T14:28:30Z", "difficulty": 5, "for_credit": true, "grade": "Rather not say", "helpfulness": 1, "id": 34457761, "online": true, "professor_note": null, "quality": 1, "tags": [ "Test heavy", "Tough grader" ], "text": "Professor Williams like to talk about his "theory" in lectures which deviates from the textbook and course material. Homework is hard and the lecture and textbook is basically useless. I have to struggle on this course pretty badly given I'm good at math. Worst prof and teaching team ever!!", "textbook": false, "thumbs_down": 0, "thumbs_up": 3, "would_take_again": false }, { "attendance": "non mandatory", "clarity": 1, "course": "MATH220", "date": "2021-03-16T23:45:51Z", "difficulty": 5, "for_credit": true, "grade": "Not sure yet", "helpfulness": 1, "id": 34444370, "online": true, "professor_note": null, "quality": 1, "tags": [ "Lots of homework", "Tough grader" ], "text": "useless and unhelpful, also tough grader and awful teaching team.", "textbook": false, "thumbs_down": 0, "thumbs_up": 3, "would_take_again": false }, { "attendance": null, "clarity": 5, "course": "MATH221", "date": "2020-12-20T08:11:06Z", "difficulty": 4, "for_credit": true, "grade": null, "helpfulness": 5, "id": 34155752, "online": false, "professor_note": null, "quality": 5, "tags": [ "Inspirational", "Amazing lectures", "Tough grader" ], "text": "Ben has a true gift for teaching math, and I feel lucky to have been taught by him. If I was better at math and wasnt more into CS, someone like him would probably inspire me to major in math. If you are a math major, you would probably get a lot out of a course with him. Hes tough, but he cares a lot and is a masterful teacher.", "textbook": false, "thumbs_down": 1, "thumbs_up": 0, "would_take_again": true } ], "next_page": 2, "page": 1, "per_page": 20, "professor": { "department": "Mathematics", "difficulty": 3.7, "id": 1835982, "name": "Ben Williams", "rating": 3.7, "ratings": 28, "school": { "city": "Vancouver", "country": "United States", "id": 1413, "name": "University of British Columbia", "state": "BC", "url": "https://www.ratemyprofessors.com/school/1413" }, "url": "https://www.ratemyprofessors.com/professor/1835982", "would_take_again_percent": 78.3 }, "total": 28 }