Skip to main content
POST
/
api
/
edx
/
courses
/edx/courses
curl --request POST \
  --url https://api.anysite.io/api/edx/courses \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "course": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "@type": "EdxCourse",
    "key": "<string>",
    "alias": "<string>",
    "short_description": "<string>",
    "full_description": "<string>",
    "overview": "<string>",
    "level": "<string>",
    "subjects": [],
    "skills": [],
    "prerequisites": "<string>",
    "syllabus": "<string>",
    "faq": "<string>",
    "additional_information": "<string>",
    "testimonials": "<string>",
    "partners": [],
    "instructors": [],
    "image": "<string>",
    "video_url": "<string>",
    "rating": 123,
    "rating_count": 123,
    "enrollment_count": 123,
    "recent_enrollment_count": 123,
    "languages": [],
    "price": 123,
    "currency": "<string>",
    "weeks_to_complete": 123,
    "min_effort": 123,
    "max_effort": 123,
    "pacing_type": "<string>",
    "availability": [],
    "programs": [],
    "course_runs": [],
    "web_url": "<string>",
    "created_at": 123,
    "updated_at": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
course
string
required

Course UUID, course page URL, or course URL slug.

Minimum string length: 1
Examples:

"8f8e5124-1dab-47e6-8fa6-3fbdc0738f0a"

"learn/web-development/harvard-university-cs50-s-web-programming-with-python-and-javascript"

"https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
name
string
required
@type
string
default:EdxCourse
key
string | null
alias
string | null
short_description
string | null
full_description
string | null
overview
string | null
level
string | null
subjects
string[]
skills
string[]
prerequisites
string | null
syllabus
string | null
faq
string | null
additional_information
string | null
testimonials
string | null
partners
object[]
instructors
object[]
image
string | null
video_url
string | null
rating
number | null
rating_count
integer | null
enrollment_count
integer | null
recent_enrollment_count
integer | null
languages
string[]
price
number | null
currency
string | null
weeks_to_complete
integer | null
min_effort
integer | null
max_effort
integer | null
pacing_type
string | null
availability
string[]
programs
object[]
course_runs
object[]
web_url
string | null
created_at
integer | null
updated_at
integer | null