RateMyProfessors professor search API

Use the RateMyProfessors professor search API to retrieve professor profiles, difficulty levels, filter and option values, record identities and titles and source-page links as structured JSON from RateMyProfessors. Choose search words as optional query conditions to select the source records or view required for your request. Use these results to shortlist matching entries and use their identifiers to inspect selected source records. Search exposes the first 5 matches available to logged-out visitors. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (7)
A professor's name (or part of it).
The school's id (the number in ratemyprofessors.com/school/<id>).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

{
  "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
}

Response result

Response structure

Inferred from examples
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • filtersobject[]
    • fieldstring
    • optionsstring[]
  • has_moreboolean
  • professorsobject[]
    • departmentstring
    • difficultynumber
    • first_namestring
    • idinteger
    • last_namestring
    • namestring
    • ratingnumber
    • ratingsinteger
    • schoolobject
      • citystring
      • countrynull
      • idinteger
      • namestring
      • statestring
      • urlstring
    • urlstring
    • would_take_again_percentnumber
  • qstring
  • schoolobject
    • citystring
    • countrynull
    • idinteger
    • namestring
    • statestring
    • urlstring
  • totalinteger

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use RateMyProfessors professor search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.