APIDataSearch & Research

RateMyProfessors professor ratings API

Use the RateMyProfessors professor ratings API to retrieve education catalogue entries, course listings, difficulty levels, topic tags, published text and record identities and titles as structured JSON from RateMyProfessors. Supply record identifier in the query. Use these results to inspect published feedback and compare recurring themes in comments about the selected subject. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

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
Pricing
Connect your agent
On this page

Overview

Overview

RateMyProfessors professor ratings API

Use the RateMyProfessors professor ratings API to retrieve education catalogue entries, course listings, difficulty levels, topic tags, published text and record identities and titles as structured JSON from RateMyProfessors. Supply record identifier in the query. Use these results to inspect published feedback and compare recurring themes in comments about the selected subject. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

RateMyProfessors professor ratings API

All of a professor's RateMyProfessors ratings, newest first, 20 per page: course, date, quality, clarity, helpfulness, difficulty, would take again, grade, attendance, textbook, online, for credit, tags, text, thumbs up and down and the professor's reply. Also the professor's summary (department, school, overall rating, difficulty, would-take-again share, number of ratings) and the courses rated with their counts; pass a course code as course to see only that course's ratings. Pass next_page back as page; null on the last page.

Inputs and results

Send the listed inputs as GET query parameters. Required inputs: id. Supported values, filters and optional identifiers are listed below.

ParameterTypeRequiredMeaning
idstringRequiredThe professor's id (the number in ratemyprofessors.com/professor/<id>) or that URL.
coursestringOptionalOnly ratings for this course code, e.g. `MATH221` (see `courses` in the response).
pageintegerOptionalPage number. Pass `next_page` from the previous response; `next_page` is null on the last page.
rawstringOptionalUse 0 to leave out the source raw blocks. This controls raw source payloads, not the normalized result records. Allowed values: 0, 1.
fieldsstringOptionalOptional comma-separated output fields; nested paths follow the source field-selection syntax. Call metadata is retained.
freshstringOptionalUse 1 to bypass the source response cache. Cache hits are also billed according to reported credits. Allowed values: 1.
outputstringOptionalResponse format for this product: json. Omit this parameter to use JSON. Allowed values: json.
recordsstringOptionalSource export selector for CSV or NDJSON. It has no effect on this JSON-only product.

Using OpenAny

Send this request to the OpenAny gateway with your OpenAny API key in the Authorization header. The query values below match the paired request example.

OpenAny request example

bash
curl "https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/ratings?id=1835982&output=json&raw=0" \
  -H "Authorization: Bearer <OPENANY_API_KEY>"

This command illustrates the OpenAny request format. The response example below retains its stated provenance; it is not evidence that this gateway request was executed.

Response example

Recorded source response for the exact request shown above. Filters, field selectors and page choices in that request define the returned scope.

json
{
  "professor": {
    "id": 1835982,
    "name": "Ben Williams",
    "department": "Mathematics",
    "rating": 3.7,
    "difficulty": 3.7,
    "ratings": 28,
    "would_take_again_percent": 78.3,
    "school": {
      "id": 1413,
      "name": "University of British Columbia",
      "city": "Vancouver",
      "state": "BC",
      "country": "United States",
      "url": "https://www.ratemyprofessors.com/school/1413"
    },
    "url": "https://www.ratemyprofessors.com/professor/1835982"
  },
  "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
    }
  ],
  "page": 1,
  "per_page": 20,
  "total": 28,
  "count": 20,
  "next_page": 2,
  "items": [
    {
      "id": 40575124,
      "date": "2025-01-20T04:24:23Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 3,
      "would_take_again": true,
      "grade": "B+",
      "attendance": "non mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "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.",
      "thumbs_up": 0,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 40574992,
      "date": "2025-01-20T03:42:34Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 3,
      "would_take_again": true,
      "grade": "A-",
      "attendance": "non mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "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.",
      "thumbs_up": 0,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 39604680,
      "date": "2024-07-02T01:36:51Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 4,
      "would_take_again": true,
      "grade": "A",
      "attendance": "non mandatory",
      "textbook": true,
      "online": false,
      "for_credit": true,
      "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.",
      "thumbs_up": 0,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 39598483,
      "date": "2024-06-28T05:40:58Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 4,
      "would_take_again": true,
      "grade": "Not sure yet",
      "attendance": "mandatory",
      "textbook": true,
      "online": false,
      "for_credit": true,
      "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.",
      "thumbs_up": 0,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 39275274,
      "date": "2024-05-10T19:50:00Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 4,
      "would_take_again": true,
      "grade": "A+",
      "attendance": "non mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "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",
      "thumbs_up": 0,
      "thumbs_down": 2,
      "professor_note": null
    },
    {
      "id": 39369450,
      "date": "2024-05-05T18:37:21Z",
      "course": "MATH221",
      "quality": 4,
      "clarity": 4,
      "helpfulness": 4,
      "difficulty": 4,
      "would_take_again": true,
      "grade": "B-",
      "attendance": "non mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "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.",
      "thumbs_up": 0,
      "thumbs_down": 1,
      "professor_note": null
    },
    {
      "id": 39242740,
      "date": "2024-04-23T21:36:42Z",
      "course": "MATH220",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 4,
      "would_take_again": true,
      "grade": "B-",
      "attendance": "non mandatory",
      "textbook": true,
      "online": false,
      "for_credit": true,
      "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",
      "thumbs_up": 0,
      "thumbs_down": 2,
      "professor_note": null
    },
    {
      "id": 39144131,
      "date": "2024-04-23T15:22:56Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 2,
      "would_take_again": true,
      "grade": "A",
      "attendance": "non mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "tags": [
        "Amazing lectures",
        "Inspirational"
      ],
      "text": "His lecture is pretty interesting and easy to understand. Recommend",
      "thumbs_up": 0,
      "thumbs_down": 2,
      "professor_note": null
    },
    {
      "id": 39144121,
      "date": "2024-04-23T15:20:53Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 1,
      "would_take_again": true,
      "grade": "A+",
      "attendance": "non mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "tags": [
        "Amazing lectures",
        "Caring",
        "Respected"
      ],
      "text": "take it, its easy and good",
      "thumbs_up": 0,
      "thumbs_down": 2,
      "professor_note": null
    },
    {
      "id": 39227591,
      "date": "2024-04-22T17:12:34Z",
      "course": "MATH221",
      "quality": 2,
      "clarity": 2,
      "helpfulness": 2,
      "difficulty": 5,
      "would_take_again": null,
      "grade": "Not sure yet",
      "attendance": "mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "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.",
      "thumbs_up": 2,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 39215876,
      "date": "2024-04-20T04:25:29Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 2,
      "would_take_again": true,
      "grade": "A",
      "attendance": "non mandatory",
      "textbook": true,
      "online": false,
      "for_credit": false,
      "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",
      "thumbs_up": 0,
      "thumbs_down": 1,
      "professor_note": null
    },
    {
      "id": 39035878,
      "date": "2024-03-08T19:10:01Z",
      "course": "MATH220",
      "quality": 3,
      "clarity": 3,
      "helpfulness": 3,
      "difficulty": 3,
      "would_take_again": true,
      "grade": "Incomplete",
      "attendance": "mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "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. ",
      "thumbs_up": 0,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 37207131,
      "date": "2022-12-20T22:52:47Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 4,
      "would_take_again": true,
      "grade": "Not sure yet",
      "attendance": "non mandatory",
      "textbook": true,
      "online": false,
      "for_credit": true,
      "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. ",
      "thumbs_up": 0,
      "thumbs_down": 1,
      "professor_note": null
    },
    {
      "id": 37068659,
      "date": "2022-12-10T23:56:04Z",
      "course": "MATH221",
      "quality": 1,
      "clarity": 1,
      "helpfulness": 1,
      "difficulty": 4,
      "would_take_again": null,
      "grade": null,
      "attendance": "non mandatory",
      "textbook": true,
      "online": false,
      "for_credit": true,
      "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. ",
      "thumbs_up": 3,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 36505121,
      "date": "2022-07-06T00:23:07Z",
      "course": "MATH221",
      "quality": 1,
      "clarity": 1,
      "helpfulness": 1,
      "difficulty": 5,
      "would_take_again": null,
      "grade": "C-",
      "attendance": "non mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "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%.",
      "thumbs_up": 2,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 36248679,
      "date": "2022-05-05T04:02:35Z",
      "course": "MATH105",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 3,
      "would_take_again": true,
      "grade": "A+",
      "attendance": "non mandatory",
      "textbook": null,
      "online": false,
      "for_credit": true,
      "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.",
      "thumbs_up": 0,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 35752341,
      "date": "2022-01-14T05:21:20Z",
      "course": "MATH220",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 3,
      "would_take_again": true,
      "grade": null,
      "attendance": "non mandatory",
      "textbook": true,
      "online": false,
      "for_credit": true,
      "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.",
      "thumbs_up": 0,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 34457761,
      "date": "2021-03-21T14:28:30Z",
      "course": "MATH220",
      "quality": 1,
      "clarity": 1,
      "helpfulness": 1,
      "difficulty": 5,
      "would_take_again": false,
      "grade": "Rather not say",
      "attendance": "non mandatory",
      "textbook": false,
      "online": true,
      "for_credit": true,
      "tags": [
        "Test heavy",
        "Tough grader"
      ],
      "text": "Professor Williams like to talk about his &quot;theory&quot; 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!!",
      "thumbs_up": 3,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 34444370,
      "date": "2021-03-16T23:45:51Z",
      "course": "MATH220",
      "quality": 1,
      "clarity": 1,
      "helpfulness": 1,
      "difficulty": 5,
      "would_take_again": false,
      "grade": "Not sure yet",
      "attendance": "non mandatory",
      "textbook": false,
      "online": true,
      "for_credit": true,
      "tags": [
        "Lots of homework",
        "Tough grader"
      ],
      "text": "useless and unhelpful, also tough grader and awful teaching team.",
      "thumbs_up": 3,
      "thumbs_down": 0,
      "professor_note": null
    },
    {
      "id": 34155752,
      "date": "2020-12-20T08:11:06Z",
      "course": "MATH221",
      "quality": 5,
      "clarity": 5,
      "helpfulness": 5,
      "difficulty": 4,
      "would_take_again": true,
      "grade": null,
      "attendance": null,
      "textbook": false,
      "online": false,
      "for_credit": true,
      "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.",
      "thumbs_up": 0,
      "thumbs_down": 1,
      "professor_note": null
    }
  ],
  "cached": false,
  "fetched_at": "2026-11-19T12:19:38.839Z",
  "credits_used": 1
}

Usage and price

The price is USD 0.002 per actual credit reported in credits_used, with no fixed per-call fee. A response reporting zero credits has zero usage cost. Up to USD 0.002 is reserved for this request; the final price follows reported usage within the configured upper limit. A valid empty result or an unsuccessful lookup can still consume source credits. Cache hits also consume credits.

Coverage and limits

Coverage and update times follow the source. Use the documented field definitions when interpreting the selected result. Requests have a 120-second time budget and a 8 MiB response limit.

Use page according to the operation's parameter definitions. Each additional page requires a separate request.

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
The professor's id (the number in ratemyprofessors.com/professor/<id>) or that URL.
Optional parameters (7)
Only ratings for this course code, e.g. `MATH221` (see `courses` in the response).
Page number. Pass `next_page` from the previous response; `next_page` is null on the last page.
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

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 [20]
0: {
  "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
}
[1] {}
"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"
]
textString · text preview
items[1].text
2023W2
The 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
2: {
  "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
}
3: {
  "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
}
4: {
  "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
}
5: {
  "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
}
6: {
  "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
}
7: {
  "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
}
8: {
  "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
}
9: {
  "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
}
10: {
  "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
}
11: {
  "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
}
12: {
  "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
}
13: {
  "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
}
14: {
  "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
}
15: {
  "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
}
16: {
  "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
}
17: {
  "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 &quot;theory&quot; 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
}
18: {
  "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
}
19: {
  "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

Response result

Response structure

Inferred from examples
  • cachedboolean
  • countinteger
  • coursenull
  • coursesobject[]
    • codestring
    • ratingsinteger
  • credits_usedinteger
  • fetched_atstring
  • itemsobject[]
    • attendancestring | null
    • clarityinteger
    • coursestring
    • datestring
    • difficultyinteger
    • for_creditboolean
    • gradestring | null
    • helpfulnessinteger
    • idinteger
    • onlineboolean
    • professor_notenull
    • qualityinteger
    • tagsstring[]
    • textstring
    • textbooknull | boolean
    • thumbs_downinteger
    • thumbs_upinteger
    • would_take_againboolean | null
  • next_pageinteger
  • pageinteger
  • per_pageinteger
  • professorobject
    • departmentstring
    • difficultynumber
    • idinteger
    • namestring
    • ratingnumber
    • ratingsinteger
    • schoolobject
      • citystring
      • countrystring
      • idinteger
      • namestring
      • statestring
      • urlstring
    • urlstring
    • would_take_again_percentnumber
  • totalinteger

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
RateMyProfessors professor ratings API · GET · View API reference
$0.002 / billing credit—
—successP50—
Loading...
Selected pricing · apishUSD / billing credit
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: 2. 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
curl \
  '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'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
idURL query parametersquerystringYesThe professor's id (the number in ratemyprofessors.com/professor/<id>) or that URL.
courseURL query parametersquerystringNoOnly ratings for this course code, e.g. `MATH221` (see `courses` in the response).
pageURL query parametersqueryintegerNoPage number. Pass `next_page` from the previous response; `next_page` is null on the last page.
rawURL query parametersquerystringNo0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNoComma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
freshURL query parametersquerystringNo1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNoJSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.

enum: "json"

recordsURL query parametersquerystringNoWith 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.

Sample response

Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.

Official example · Live API.SH response · Minimal request
{
  "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 &quot;theory&quot; 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
}

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 itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits used$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 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.

View API Markdown
API Markdown
# RateMyProfessors professor ratings API

Use the RateMyProfessors professor ratings API to retrieve education catalogue entries, course listings, difficulty levels, topic tags, published text and record identities and titles as structured JSON from RateMyProfessors. Supply record identifier in the query. Use these results to inspect published feedback and compare recurring themes in comments about the selected subject. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
## Available implementations
apish · RateMyProfessors professor ratings API: https://openany.si/markets/apis/capabilities/ratemyprofessors-professor-ratings-api?offering=78bbf9b3-1dfa-4e2a-ab4b-e6610aef2ff1 · $0.002 / billing credit

## Selected API contract
Documentation: https://openany.si/apis/78bbf9b3-1dfa-4e2a-ab4b-e6610aef2ff1
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/ratings
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  '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'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "RateMyProfessors professor ratings API",
  "endpoint": "https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/ratings",
  "method": "GET",
  "content_type": "none",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "The professor's id (the number in ratemyprofessors.com/professor/<id>) or that URL.",
      "location": "query",
      "name": "id",
      "nullable": false,
      "required": true,
      "type": "string"
    },
    {
      "description": "Only ratings for this course code, e.g. `MATH221` (see `courses` in the response).",
      "location": "query",
      "name": "course",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Page number. Pass `next_page` from the previous response; `next_page` is null on the last page.",
      "location": "query",
      "name": "page",
      "nullable": false,
      "required": false,
      "type": "integer"
    },
    {
      "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
      "enum_values": [
        "0",
        "1"
      ],
      "location": "query",
      "name": "raw",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
      "location": "query",
      "name": "fields",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "1 skips the 24-hour cache and fetches live.",
      "enum_values": [
        "1"
      ],
      "location": "query",
      "name": "fresh",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
      "enum_values": [
        "json"
      ],
      "location": "query",
      "name": "output",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.",
      "location": "query",
      "name": "records",
      "nullable": false,
      "required": false,
      "type": "string"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "rules",
    "parameters": [],
    "policy_version": 2,
    "sale": {
      "addons": [],
      "base_price_micro_usd": "0",
      "max_cost_micro_usd": "2000",
      "quantities": [
        {
          "id": "upstream_credits",
          "label": "Actual API.SH credits used",
          "max_quantity": "1",
          "measure": "value",
          "pointer": "/credits_used",
          "price_micro_usd": "2000",
          "quantity_scale": 0,
          "source": "response",
          "unit": "credit",
          "unit_quantity": "1"
        }
      ],
      "rounding": "ceil",
      "variants": []
    }
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Official example · Live API.SH response · Minimal request",
      "request": {
        "body": null,
        "headers": {},
        "path": {},
        "query": {
          "id": "1835982",
          "output": "json",
          "raw": "0"
        }
      },
      "response_body": {
        "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 &quot;theory&quot; 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
      }
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    curl \
      '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'
  3. 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 &quot;theory&quot; 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
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use RateMyProfessors professor ratings API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.