RateMyProfessors professor API

Use the RateMyProfessors professor API to retrieve course listings, related problems, difficulty levels, rating distribution, topic tags and published text as structured JSON from RateMyProfessors. Supply record identifier in the query. Use these results to research educators or institutions and connect their profiles with published learning options. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. 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 / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

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 (5)
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
"courses": [
  {
    "code": "184",
    "ratings": 1
  },
  {
    "code": "MATH105",
    "ratings": 1
  },
  {
    "code": "MATH220",
    "ratings": 5
  },
  {
    "code": "MATH221",
    "ratings": 17
  },
  {
    "code": "MATH308",
    "ratings": 1
  },
  {
    "code": "MATH427",
    "ratings": 2
  },
  {
    "code": "MATH527",
    "ratings": 1
  }
]
"credits_used": 1
"department": "Mathematics"
"department_id": "38"
"difficulty": 3.7
"fetched_at": "2026-11-19T12:19:36.374Z"
"first_name": "Ben"
"id": 1835982
"last_name": "Williams"
latest_ratings [5]
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
latest_ratings[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
}
"lock_status": "none"
"name": "Ben Williams"
"rating": 3.7
"rating_distribution": {
  "1": 5,
  "2": 2,
  "3": 4,
  "4": 1,
  "5": 16
}
"ratings": 28
"school": {
  "city": "Vancouver",
  "country": "United States",
  "id": 1413,
  "name": "University of British Columbia",
  "state": "BC",
  "url": "https://www.ratemyprofessors.com/school/1413"
}
"similar": [
  {
    "id": 3064264,
    "name": "Balázs Elek",
    "rating": 5,
    "url": "https://www.ratemyprofessors.com/professor/3064264"
  },
  {
    "id": 2970225,
    "name": "Gabriel Currier",
    "rating": 5,
    "url": "https://www.ratemyprofessors.com/professor/2970225"
  },
  {
    "id": 2642846,
    "name": "Jens Malmquist",
    "rating": 5,
    "url": "https://www.ratemyprofessors.com/professor/2642846"
  }
]
"top_tags": []
"url": "https://www.ratemyprofessors.com/professor/1835982"
"would_take_again_percent": 78.3

Response result

Response structure

Inferred from examples
  • cachedboolean
  • coursesobject[]
    • codestring
    • ratingsinteger
  • credits_usedinteger
  • departmentstring
  • department_idstring
  • difficultynumber
  • fetched_atstring
  • first_namestring
  • idinteger
  • last_namestring
  • latest_ratingsobject[]
    • attendancestring
    • clarityinteger
    • coursestring
    • datestring
    • difficultyinteger
    • for_creditboolean
    • gradestring
    • helpfulnessinteger
    • idinteger
    • onlineboolean
    • professor_notenull
    • qualityinteger
    • tagsstring[]
    • textstring
    • textbooknull | boolean
    • thumbs_downinteger
    • thumbs_upinteger
    • would_take_againboolean
  • lock_statusstring
  • namestring
  • ratingnumber
  • rating_distributionobject
    • 1integer
    • 2integer
    • 3integer
    • 4integer
    • 5integer
  • ratingsinteger
  • schoolobject
    • citystring
    • countrystring
    • idinteger
    • namestring
    • statestring
    • urlstring
  • similarobject[]
    • idinteger
    • namestring
    • ratinginteger
    • urlstring
  • top_tagsunknown[]
  • urlstring
  • would_take_again_percentnumber

Loading related APIs…

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 API with your agent

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