RateMyProfessors school search API

Use the RateMyProfessors school search API to retrieve education catalogue entries, record identities and titles, geographic references and source-page links as structured JSON from RateMyProfessors. Supply search words in the query. Use these results to shortlist matching entries and use their identifiers to inspect selected source records. Continue with the returned next_page as page; a null value marks the last page. 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
School name.
Optional parameters (6)
Page number (20 a page).
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": 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
}

Response result

Response structure

Inferred from examples
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • itemsobject[]
    • citystring
    • countrystring
    • idinteger
    • namestring
    • overallnumber
    • ratingsinteger
    • statestring
    • urlstring
  • next_pagenull
  • pageinteger
  • per_pageinteger
  • querystring
  • totalinteger

Loading related APIs…

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 school search API with your agent

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