Skip to main content
POST
/
api
/
classcentral
/
providers
/classcentral/providers
curl --request POST \
  --url https://api.anysite.io/api/classcentral/providers \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "provider": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "alias": "<string>",
    "name": "<string>",
    "url": "<string>",
    "@type": "ClasscentralProvider",
    "description": "<string>",
    "image": "<string>",
    "follower_count": 123,
    "course_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
provider
string
required

Class Central provider slug ('coursera') or provider URL.

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

"coursera"

"https://www.classcentral.com/provider/udemy"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
alias
string
required
name
string
required
url
string
required
@type
string
default:ClasscentralProvider
description
string | null
image
string | null
follower_count
integer | null
course_count
integer | null