Skip to main content
POST
/
api
/
classcentral
/
courses
/
reviews
/classcentral/courses/reviews
curl --request POST \
  --url https://api.anysite.io/api/classcentral/courses/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "course": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "relevancy"
}
'
[
  {
    "id": "<string>",
    "@type": "ClasscentralReview",
    "author_name": "<string>",
    "author_alias": "<string>",
    "author_url": "<string>",
    "author_review_count": 123,
    "rating": 123,
    "text": "<string>",
    "helpful_count": 123,
    "created_at": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
course
string
required

Class Central course identifier. Accepts a course id ('7363'), a course slug, or a full course URL.

Minimum string length: 1
Pattern: ^(?:https?://[^\s]+|//[^\s]+|(?:www\.|classcentral\.com)[^\s]*|[A-Za-z0-9][A-Za-z0-9-]*|\d+)$
Examples:

"7363"

"independent-python-for-everybody-exploring-information-7363"

"https://www.classcentral.com/course/independent-python-for-everybody-exploring-information-7363"

count
integer
required

Max number of reviews to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:relevancy

Review ordering

Available options:
relevancy,
most_recent,
highest_rated,
lowest_rated

Response

Successful Response

id
string
required
@type
string
default:ClasscentralReview
author_name
string | null
author_alias
string | null
author_url
string | null
author_review_count
integer | null
rating
integer | null
text
string | null
helpful_count
integer | null
created_at
integer | null