# RateMyProfessors school search API

Search RateMyProfessors schools by name via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, q, raw, and retrieve structured data including school identifier, school name, published city, community overall rating, and source school profile link for school lookup, and profile navigation.

Documentation: https://openany.si/ratemyprofessors/ratemyprofessors-school-search-api/885b40cf-bac5-4ad3-b938-7d7e3439795e/
API ID: 885b40cf-bac5-4ad3-b938-7d7e3439795e
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/schools
Page update time: 2026-12-03T02:45:46.976Z
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.200Z. 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 Search API

Set q to a school name and paginate with page. Match the returned school ID and location rather than merging similarly named institutions; overall is community feedback, not a QS-style ranking.

## What You Can Build

- **School lookup**: Resolve similar names with source IDs and locations.
- **Profile navigation**: Link each school result to its source detail page.

## Returned Data

| Field | Meaning |
| --- | --- |
| `items[].id` | School identifier |
| `items[].name` | School name |
| `items[].city` | Published city |
| `items[].overall` | Community overall rating |
| `items[].url` | Source school profile link |
| `next_page` | Next page number or null |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RateMyProfessors school search 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": {
        "q": {
          "type": "string",
          "description": "School name."
        },
        "page": {
          "type": "integer",
          "description": "Page number (20 a page)."
        },
        "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": [
        "q"
      ]
    },
    "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"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "overall": {
            "type": "number"
          },
          "ratings": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "next_page": {
      "type": "null"
    },
    "page": {
      "type": "integer"
    },
    "per_page": {
      "type": "integer"
    },
    "query": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH recording · HTTP 200
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/schools?output=json&q=harvard&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,
  "count": 12,
  "credits_used": 1,
  "fetched_at": "2026-11-19T09:09:14.055Z",
  "items": [
    {
      "city": "Cambridge",
      "country": "United States",
      "id": 399,
      "name": "Harvard University",
      "overall": 3,
      "ratings": 206,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/399"
    },
    {
      "city": "Cambridge",
      "country": "United States",
      "id": 5732,
      "name": "Harvard University Extension School",
      "overall": 4,
      "ratings": 74,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/5732"
    },
    {
      "city": "Cambridge",
      "country": "United States",
      "id": 4647,
      "name": "Harvard Law School",
      "overall": 2.8,
      "ratings": 14,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/4647"
    },
    {
      "city": "Cambridge",
      "country": "United States",
      "id": 4667,
      "name": "Harvard Business School",
      "overall": 4.4,
      "ratings": 7,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/4667"
    },
    {
      "city": "Boston",
      "country": "United States",
      "id": 12132,
      "name": "Harvard Medical School",
      "overall": 3,
      "ratings": 6,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/12132"
    },
    {
      "city": "Cambridge",
      "country": "United States",
      "id": 4860,
      "name": "Harvard Divinity School",
      "overall": 3.9,
      "ratings": 6,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/4860"
    },
    {
      "city": "Cambridge",
      "country": "United States",
      "id": 4773,
      "name": "Harvard Kennedy School Of Government",
      "overall": 0,
      "ratings": 4,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/4773"
    },
    {
      "city": "Cambridge",
      "country": "United States",
      "id": 4798,
      "name": "Harvard Graduate School of Education",
      "overall": 4.3,
      "ratings": 4,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/4798"
    },
    {
      "city": "Cambridge",
      "country": "United States",
      "id": 19085,
      "name": "Harvard College",
      "overall": 3,
      "ratings": 2,
      "state": "MT",
      "url": "https://www.ratemyprofessors.com/school/19085"
    },
    {
      "city": "Boston",
      "country": "United States",
      "id": 5557,
      "name": "Harvard School of Public Health",
      "overall": 5,
      "ratings": 1,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/5557"
    },
    {
      "city": "Cambridge",
      "country": "United States",
      "id": 5711,
      "name": "Harvard Graduate School of Design",
      "overall": 0,
      "ratings": 1,
      "state": "MA",
      "url": "https://www.ratemyprofessors.com/school/5711"
    },
    {
      "city": "",
      "country": "United States",
      "id": 19024,
      "name": "Harvard Summer School",
      "overall": 3.7,
      "ratings": 1,
      "state": "",
      "url": "https://www.ratemyprofessors.com/school/19024"
    }
  ],
  "next_page": null,
  "page": 1,
  "per_page": 20,
  "query": "harvard",
  "total": 12
}
```

## 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
### What input is required?
q is the school name to search.

### How many results are on a page?
The contract describes 20 per page. Use page and follow next_page until null.

### Can equal names represent different schools?
Yes. Use the source school ID and location context when resolving an institution.

### Is overall a university league-table rank?
No. It is a source community-feedback rating, not a ranking position from QS or another ranking publisher.

### 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-search-api/885b40cf-bac5-4ad3-b938-7d7e3439795e/

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