RateMyProfessors API endpoint
Get a professor profile with its school, department, rating totals, rating distribution, difficulty, course references, teacher tag counts, the mandatory-attendance and taken-for-credit tallies, the removed-review note count and the most useful review. Use professor search to find a Relay ID and the ratings route for individual reviews.
/ratemyprofessors/professors/profileFields added 2026-11-29 (the public Teacher schema, introspected live, has no other
anonymous field left unselected): numNotes (count of removed-review notes),
mandatoryAttendance and takenForCredit (yes, no, neither and total tallies),
mostUsefulRating (the full review record, the same fields as the ratings route
including teacherNote) and courseCodes[].teacherId. The account-bound fields
isSaved, isProfCurrentUser and emailAlerts are not selected because they only
describe the signed-in viewer.
The source's ratingsDistribution contains total and the bucket counts
r1 through r5 when available. The route preserves a source null value.
professor_id (required). Positive numeric professor ID or canonical Teacher Relay ID.The API returns the published source data in the data field. This example shows a response excerpt.
{
"code": 200,
"msg": "OK",
"data": {
"__typename": "Teacher",
"avgDifficultyRounded": 2.4000000000000004,
"avgRatingRounded": 4.9,
"courseCodes": [
{
"courseCount": 9,
"courseName": "EECS-270"
},
{
"courseCount": 13,
"courseName": "EECS-280"
}
],
"department": "Computer Science",
"departmentId": "11",
"firstName": "Saquib",
"id": "VGVhY2hlci0yODkzODE0",
"lastName": "Razak",
"legacyId": 2893814,
"lockStatus": "none",
"numRatings": 24,
"ratingsDistribution": {
"r1": 0,
"r2": 0,
"r3": 2,
"r4": 0,
"r5": 23,
"total": 25
},
"school": {
"avgRatingRounded": 4.4,
"city": "Ann Arbor Charter Twp",
"country": "0-US-United States",
"id": "U2Nob29sLTEyNTg=",
"legacyId": 1258,
"name": "University of Michigan",
"numRatings": 890,
"state": "MI"
},
"teacherRatingTags": [],
"wouldTakeAgainCount": 25,
"wouldTakeAgainPercentRounded": 100
}
}
| Field | Filled in, of 3 checked | Values in the sample |
|---|---|---|
| courseCount | 3 | 3 to 13, median 9 |
| courseName | 3 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required | ||
| professor_id | string | Yes | Positive numeric professor ID or canonical Teacher Relay ID | 2893814 |
curl -X GET "https://api.crawlora.net/api/v1/ratemyprofessors/professors/profile?professor_id=2893814" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"__typename": "Teacher",
"avgDifficultyRounded": 2.4000000000000004,
"avgRatingRounded": 4.9,
"courseCodes": [
{
"courseCount": 9,
"courseName": "EECS-270"
},
{
"courseCount": 13,
"courseName": "EECS-280"
}
],
"department": "Computer Science",
"departmentId": "11",
"firstName": "Saquib",
"id": "VGVhY2hlci0yODkzODE0",
"lastName": "Razak",
"legacyId": 2893814,
"lockStatus": "none",
"numRatings": 24,
"ratingsDistribution": {
"r1": 0,
"r2": 0,
"r3": 2,
"r4": 0,
"r5": 23,
"total": 25
},
"school": {
"avgRatingRounded": 4.4,
"city": "Ann Arbor Charter Twp",
"country": "0-US-United States",
"id": "U2Nob29sLTEyNTg=",
"legacyId": 1258,
"name": "University of Michigan",
"numRatings": 890,
"state": "MI"
},
"teacherRatingTags": [],
"wouldTakeAgainCount": 25,
"wouldTakeAgainPercentRounded": 100
}
}Request schema
No body schema
Response schema
Inline response schema
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | ratemyprofessors.sourceObject | No | ||||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/ratemyprofessors/professors/profile?professor_id=2893814" \
-H "x-api-key: $CRAWLORA_API_KEY"