RateMyProfessors API endpoint
List the current teacher rating tag catalog, including each tag ID, legacy ID, name and active state. Use the catalog to interpret the tags on professor profiles or ratings.
/ratemyprofessors/rating-tagsThis route takes no query parameters.
The API returns the published source data in the data field. This example shows a response excerpt.
{
"code": 200,
"msg": "OK",
"data": [
{
"id": "sample-tag",
"legacyId": 1,
"name": "Sample rating tag",
"active": true
}
]
}
| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| active | 20 | true in 20 of 20 |
| id | 20 | |
| legacyId | 20 | 1 to 24, median 14 |
| name | 20 | “Tough grader” and 19 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/ratemyprofessors/rating-tags" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": [
{
"id": "sample-tag",
"legacyId": 1,
"name": "Sample rating tag",
"active": true
}
]
}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 | array | 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/rating-tags" \
-H "x-api-key: $CRAWLORA_API_KEY"