# RateMyProfessors professor search API

Search RateMyProfessors by name and school ID 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 professor identifier, professor name, associated school identifier, aggregate quality rating, and source indicates additional results for identity lookup, and school discovery.

Documentation: https://openany.si/ratemyprofessors/ratemyprofessors-professor-search-api/99065593-a3e9-4676-bf75-be8d4beccc64/
API ID: 99065593-a3e9-4676-bf75-be8d4beccc64
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/professors
Page update time: 2026-12-03T02:45:46.933Z
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:45.904Z. 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 Professor Search API

Use q for a full or partial name and school\_id to narrow the school. A has\_more value describes source result coverage, but this implementation exposes no page or cursor input.

## What You Can Build

- **Identity lookup**: Resolve a name to a specific professor profile.
- **School discovery**: Narrow a name search using its school ID.

## Returned Data

| Field | Meaning |
| --- | --- |
| `professors[].id` | Professor identifier |
| `professors[].name` | Professor name |
| `professors[].school.id` | Associated school identifier |
| `professors[].rating` | Aggregate quality rating |
| `has_more` | Source indicates additional results |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RateMyProfessors professor 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": "A professor's name (or part of it)."
        },
        "school_id": {
          "type": "string",
          "description": "The school's id (the number in ratemyprofessors.com/school/<id>)."
        },
        "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."
        }
      }
    },
    "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"
    },
    "filters": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "has_more": {
      "type": "boolean"
    },
    "professors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "department": {
            "type": "string"
          },
          "difficulty": {
            "type": "number"
          },
          "first_name": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "last_name": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rating": {
            "type": "number"
          },
          "ratings": {
            "type": "integer"
          },
          "school": {
            "type": "object",
            "properties": {
              "city": {
                "type": "string"
              },
              "country": {
                "type": "null"
              },
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          "url": {
            "type": "string"
          },
          "would_take_again_percent": {
            "type": "number"
          }
        }
      }
    },
    "q": {
      "type": "string"
    },
    "school": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string"
        },
        "country": {
          "type": "null"
        },
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/ratemyprofessors/v1/professors?output=json&q=williams&raw=0&school_id=1413' \
  -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": 5,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:19:38.476Z",
  "filters": [
    {
      "field": "department",
      "options": [
        "art history",
        "biochemistry",
        "business",
        "classical & medieval studies",
        "classical studies",
        "education",
        "geography",
        "mathematics",
        "political science",
        "writing"
      ]
    }
  ],
  "has_more": true,
  "professors": [
    {
      "department": "Political Science",
      "difficulty": 3.9,
      "first_name": "Mark",
      "id": 3019458,
      "last_name": "Williams",
      "name": "Mark Williams",
      "rating": 3.8,
      "ratings": 12,
      "school": {
        "city": "Vancouver",
        "country": null,
        "id": 1413,
        "name": "University of British Columbia",
        "state": "BC",
        "url": "https://www.ratemyprofessors.com/school/1413"
      },
      "url": "https://www.ratemyprofessors.com/professor/3019458",
      "would_take_again_percent": 69.2
    },
    {
      "department": "Business",
      "difficulty": 3.2,
      "first_name": "Elaine",
      "id": 2542571,
      "last_name": "Williamson",
      "name": "Elaine Williamson",
      "rating": 3.8,
      "ratings": 30,
      "school": {
        "city": "Vancouver",
        "country": null,
        "id": 1413,
        "name": "University of British Columbia",
        "state": "BC",
        "url": "https://www.ratemyprofessors.com/school/1413"
      },
      "url": "https://www.ratemyprofessors.com/professor/2542571",
      "would_take_again_percent": 71
    },
    {
      "department": "Geography",
      "difficulty": 3.7,
      "first_name": "Jennifer",
      "id": 2113575,
      "last_name": "Williams",
      "name": "Jennifer Williams",
      "rating": 3.8,
      "ratings": 18,
      "school": {
        "city": "Vancouver",
        "country": null,
        "id": 1413,
        "name": "University of British Columbia",
        "state": "BC",
        "url": "https://www.ratemyprofessors.com/school/1413"
      },
      "url": "https://www.ratemyprofessors.com/professor/2113575",
      "would_take_again_percent": 50
    },
    {
      "department": "Biochemistry",
      "difficulty": 3.6,
      "first_name": "Warren",
      "id": 317466,
      "last_name": "Williams",
      "name": "Warren Williams",
      "rating": 4,
      "ratings": 106,
      "school": {
        "city": "Vancouver",
        "country": null,
        "id": 1413,
        "name": "University of British Columbia",
        "state": "BC",
        "url": "https://www.ratemyprofessors.com/school/1413"
      },
      "url": "https://www.ratemyprofessors.com/professor/317466",
      "would_take_again_percent": 63
    },
    {
      "department": "Mathematics",
      "difficulty": 3.7,
      "first_name": "Ben",
      "id": 1835982,
      "last_name": "Williams",
      "name": "Ben Williams",
      "rating": 3.7,
      "ratings": 28,
      "school": {
        "city": "Vancouver",
        "country": null,
        "id": 1413,
        "name": "University of British Columbia",
        "state": "BC",
        "url": "https://www.ratemyprofessors.com/school/1413"
      },
      "url": "https://www.ratemyprofessors.com/professor/1835982",
      "would_take_again_percent": 78.3
    }
  ],
  "q": "williams",
  "school": {
    "city": "Vancouver",
    "country": null,
    "id": 1413,
    "name": "University of British Columbia",
    "state": "BC",
    "url": "https://www.ratemyprofessors.com/school/1413"
  },
  "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
### Can I search a partial name?
Yes. q accepts a professor name or part of it.

### How do I restrict a school?
Set school_id to the numeric school ID from its source school URL.

### How do I paginate when has_more is true?
This implementation exposes no page or cursor input. Treat has_more as a coverage signal and narrow q or school_id where appropriate.

### Can similarly named results be merged?
Keep professor IDs and school identities separate before deciding whether records refer to the same person.

### 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-professor-search-api/99065593-a3e9-4676-bf75-be8d4beccc64/

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