# RateMyProfessors school API

Get RateMyProfessors school profiles by ID or URL via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, raw, and retrieve structured data including school identifier, school name, source overall school rating, source rating count, and category-level feedback averages for school directory, and feedback display.

Documentation: https://openany.si/ratemyprofessors/ratemyprofessors-school-api/c20f7e6a-5667-4556-b742-1a9fcb7a8cf4/
API ID: c20f7e6a-5667-4556-b742-1a9fcb7a8cf4
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/school
Page update time: 2026-12-03T02:45:46.955Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:46.061Z. This is not a price-change timestamp.
```json
{
  "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": []
  }
}
```

## Usage and limits
## RateMyProfessors School API

Set id to a school identifier or URL. overall and category\_ratings summarize source feedback, while latest\_ratings contains recent entries; these are community opinions rather than accreditation results.

## What You Can Build

- **School directory**: Connect a school identity to its source feedback profile.
- **Feedback display**: Keep category ratings and overall feedback separately labeled.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | School identifier |
| `name` | School name |
| `overall` | Source overall school rating |
| `ratings` | Source rating count |
| `category_ratings` | Category-level feedback averages |
| `professors_url` | Source professor listing link |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RateMyProfessors school API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The school's id (the number in ratemyprofessors.com/school/<id>) or that URL."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "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."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "category_ratings": {
      "type": "object",
      "properties": {
        "clubs": {
          "type": "number"
        },
        "facilities": {
          "type": "number"
        },
        "food": {
          "type": "number"
        },
        "happiness": {
          "type": "number"
        },
        "internet": {
          "type": "number"
        },
        "location": {
          "type": "number"
        },
        "opportunities": {
          "type": "number"
        },
        "reputation": {
          "type": "number"
        },
        "safety": {
          "type": "number"
        },
        "social": {
          "type": "number"
        }
      }
    },
    "city": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "latest_ratings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "ratings": {
            "type": "object",
            "properties": {
              "clubs": {
                "type": "integer"
              },
              "facilities": {
                "type": "integer"
              },
              "food": {
                "type": "integer"
              },
              "happiness": {
                "type": "integer"
              },
              "internet": {
                "type": "integer"
              },
              "location": {
                "type": "integer"
              },
              "opportunities": {
                "type": "integer"
              },
              "reputation": {
                "type": "integer"
              },
              "safety": {
                "type": "integer"
              },
              "social": {
                "type": "integer"
              }
            }
          },
          "text": {
            "type": "string"
          },
          "thumbs_down": {
            "type": "integer"
          },
          "thumbs_up": {
            "type": "integer"
          }
        }
      }
    },
    "lock_status": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "overall": {
      "type": "number"
    },
    "professors_url": {
      "type": "string"
    },
    "ratings": {
      "type": "integer"
    },
    "state": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/school?id=1413&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "category_ratings": {
    "clubs": 3.85,
    "facilities": 4.2,
    "food": 3.2,
    "happiness": 4.03,
    "internet": 3.77,
    "location": 4.24,
    "opportunities": 3.83,
    "reputation": 4.38,
    "safety": 4.18,
    "social": 3.67
  },
  "city": "Vancouver",
  "country": "United States",
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:19:39.279Z",
  "id": 1413,
  "latest_ratings": [
    {
      "date": "2026-11-16T07:34:19Z",
      "id": 564647,
      "ratings": {
        "clubs": 5,
        "facilities": 3,
        "food": 4,
        "happiness": 5,
        "internet": 2,
        "location": 5,
        "opportunities": 5,
        "reputation": 4,
        "safety": 5,
        "social": 5
      },
      "text": "UBC is a great school for new opportunities and social bonding. Personally, I feel surrounded by a heartwarming community and people who like to strike up conversations out of the blue. The food can vary from time to time; however, the people you meet here can become some of your best friends. The campus is beautiful and very big too!",
      "thumbs_down": 0,
      "thumbs_up": 0
    },
    {
      "date": "2026-11-11T21:28:37Z",
      "id": 564374,
      "ratings": {
        "clubs": 2,
        "facilities": 4,
        "food": 5,
        "happiness": 2,
        "internet": 3,
        "location": 5,
        "opportunities": 3,
        "reputation": 4,
        "safety": 4,
        "social": 2
      },
      "text": "For such a large school (campus and population), the environment becomes almost a town of its own, as a result it can feel isolating. As well as that, there just isn&#39;t much personality to this school, beyond the stunning environment; what I mean by this, for example, is the clubs are kinda boring or what you&#39;d expect, just very run of the mill.",
      "thumbs_down": 0,
      "thumbs_up": 1
    },
    {
      "date": "2026-11-05T20:15:01Z",
      "id": 563989,
      "ratings": {
        "clubs": 3,
        "facilities": 3,
        "food": 1,
        "happiness": 1,
        "internet": 2,
        "location": 4,
        "opportunities": 4,
        "reputation": 5,
        "safety": 2,
        "social": 3
      },
      "text": "It&#39;s a very competitive university, you experience completely varies depending on what you study. ",
      "thumbs_down": 0,
      "thumbs_up": 0
    },
    {
      "date": "2026-11-01T01:39:54Z",
      "id": 563659,
      "ratings": {
        "clubs": 2,
        "facilities": 4,
        "food": 3,
        "happiness": 2,
        "internet": 2,
        "location": 3,
        "opportunities": 2,
        "reputation": 5,
        "safety": 5,
        "social": 1
      },
      "text": "Lack of services for commuters.",
      "thumbs_down": 0,
      "thumbs_up": 0
    },
    {
      "date": "2026-10-31T23:06:57Z",
      "id": 563651,
      "ratings": {
        "clubs": 5,
        "facilities": 5,
        "food": 3,
        "happiness": 5,
        "internet": 4,
        "location": 4,
        "opportunities": 5,
        "reputation": 5,
        "safety": 5,
        "social": 5
      },
      "text": "lovely but expensive",
      "thumbs_down": 0,
      "thumbs_up": 0
    }
  ],
  "lock_status": "none",
  "name": "University of British Columbia",
  "overall": 3.9,
  "professors_url": "https://www.ratemyprofessors.com/search/professors/1413?q=*",
  "ratings": 889,
  "state": "BC",
  "url": "https://www.ratemyprofessors.com/school/1413"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which ID is required?
Use the school ID from ratemyprofessors.com/school/id or its URL.

### Are category ratings the same as overall?
No. Preserve each category label and the separate overall measure.

### Does the profile establish accreditation?
No. It is a community-feedback profile, not an accreditation register or official institutional assessment.

### Can I retrieve more school ratings?
Use the School Ratings API with this school ID and its pagination controls.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/ratemyprofessors/ratemyprofessors-school-api/c20f7e6a-5667-4556-b742-1a9fcb7a8cf4/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
