Skip to main content
POST
/
api
/
edx
/
programs
/edx/programs
curl --request POST \
  --url https://api.anysite.io/api/edx/programs \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "program": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "@type": "EdxProgram",
    "subtitle": "<string>",
    "program_type": "<string>",
    "overview": "<string>",
    "marketing_hook": "<string>",
    "subjects": [],
    "skills": [],
    "expected_learning": [],
    "job_outlook": [],
    "faq": [],
    "courses": [],
    "corporate_endorsements": [],
    "partners": [],
    "staff": [],
    "image": "<string>",
    "banner_image": "<string>",
    "video_url": "<string>",
    "weeks_to_complete": 123,
    "weeks_to_complete_min": 123,
    "weeks_to_complete_max": 123,
    "min_effort": 123,
    "max_effort": 123,
    "price": 123,
    "discounted_price": 123,
    "currency": "<string>",
    "enrollment_count": 123,
    "recent_enrollment_count": 123,
    "availability": [],
    "languages": [],
    "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
program
string
required

Program UUID, program page URL, or program URL slug.

Minimum string length: 1
Examples:

"94340239-561b-49ce-b1fc-991a1ed4f227"

"masters/micromasters/mitx-statistics-and-data-science-social-sciences-track"

"https://www.edx.org/certificates/professional-certificate/harvardx-data-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:EdxProgram
subtitle
string | null
program_type
string | null
overview
string | null
marketing_hook
string | null
subjects
string[]
skills
string[]
expected_learning
string[]
job_outlook
string[]
faq
object[]
courses
object[]
corporate_endorsements
object[]
partners
object[]
staff
object[]
image
string | null
banner_image
string | null
video_url
string | null
weeks_to_complete
integer | null
weeks_to_complete_min
integer | null
weeks_to_complete_max
integer | null
min_effort
integer | null
max_effort
integer | null
price
number | null
discounted_price
number | null
currency
string | null
enrollment_count
integer | null
recent_enrollment_count
integer | null
availability
string[]
languages
string[]
web_url
string | null
created_at
integer | null
updated_at
integer | null