Endpoint Playground
List the departments attached to a school record with their source IDs and names. Use department IDs with a school ID when filtering professor search.
23 Nov 2026: 148 departments; 2 fields had a value in every checked item.
Sample value profiles: name: “Accounting” and 147 other values.
curl 'https://api.crawlora.net/api/v1/ratemyprofessors/schools/departments?school_id=1258' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| school_id | string | Yes | 1258 | Positive numeric school ID or canonical School Relay ID |
{
"code": 200,
"msg": "OK",
"data": {
"__typename": "School",
"departments": [
{
"id": "1",
"name": "Accounting"
},
{
"id": "3",
"name": "Anthropology"
}
],
"id": "U2Nob29sLTEyNTg=",
"legacyId": 1258
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.