Skip to main content
POST
/
api
/
classcentral
/
courses
/classcentral/courses
curl --request POST \
  --url https://api.anysite.io/api/classcentral/courses \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "course": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "url": "<string>",
    "@type": "ClasscentralCourse",
    "alias": "<string>",
    "description": "<string>",
    "course_format": "<string>",
    "provider": "<string>",
    "provider_alias": "<string>",
    "institution": "<string>",
    "subject": "<string>",
    "subject_path": [],
    "level": "<string>",
    "languages": [],
    "subtitles": [],
    "pace": "<string>",
    "workload": "<string>",
    "pricing_type": "<string>",
    "has_certificate": true,
    "is_free": true,
    "is_university": true,
    "is_classroom": true,
    "rating": 123,
    "rating_count": 123,
    "price": 123,
    "currency": "<string>",
    "instructors": [],
    "image": "<string>"
  }
]

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 ('independent-python-for-everybody-exploring-information-7363'), 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"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
name
string
required
url
string
required
@type
string
default:ClasscentralCourse
alias
string | null
description
string | null
course_format
string | null
provider
string | null
provider_alias
string | null
institution
string | null
subject
string | null
subject_path
string[]
level
string | null
languages
string[]
subtitles
string[]
pace
string | null
workload
string | null
pricing_type
string | null
has_certificate
boolean | null
is_free
boolean | null
is_university
boolean | null
is_classroom
boolean | null
rating
number | null
rating_count
integer | null
price
number | null
currency
string | null
instructors
object[]
image
string | null