edX course API
Use the edX course API to retrieve course syllabus, price information, participating institutions, subject categories, difficulty levels and learning outcomes and skills as structured JSON from edX. Supply source-page URL in the query. Use these results to compare learning content and teaching arrangements when selecting courses or study programmes. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
edX course API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- Pricing
On this page
Overview
edX course API
Use the edX course API to retrieve course syllabus, price information, participating institutions, subject categories, difficulty levels and learning outcomes and skills as structured JSON from edX. Supply source-page URL in the query. Use these results to compare learning content and teaching arrangements when selecting courses or study programmes. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
edX course API
A course: schools, subjects, level, description, what you'll learn, syllabus, prerequisites, skills, enrolments (total and recent), rating, price, pacing, weeks to complete, video, programs, instructors (name, title, organization, image, bio link), the current run's start and end dates and enrol-by date, the next upcoming run start, whether enrolment is open, track type, whether a free audit track is offered and the verified certificate price, and every course run with dates, effort, price per track, instructors, language and transcript languages.
Inputs and results
Send the listed inputs as GET query parameters. Required inputs: url. Supported values, filters and optional identifiers are listed below.
| Parameter | Type | Required | Meaning |
|---|---|---|---|
url | string | Required | Course link (edx.org/learn/<subject>/<course>). |
raw | string | Optional | Use 0 to leave out the source raw blocks. This controls raw source payloads, not the normalized result records. Allowed values: 0, 1. |
fields | string | Optional | Optional comma-separated output fields; nested paths follow the source field-selection syntax. Call metadata is retained. |
fresh | string | Optional | Use 1 to bypass the source response cache. Cache hits are also billed according to reported credits. Allowed values: 1. |
output | string | Optional | Response format for this product: json. Omit this parameter to use JSON. Allowed values: json. |
records | string | Optional | Source export selector for CSV or NDJSON. It has no effect on this JSON-only product. |
Using OpenAny
Send this request to the OpenAny gateway with your OpenAny API key in the Authorization header. The query values below match the paired request example.
OpenAny request example
curl "https://api.openany.si/v1/agent-apis/apish/edx/v1/course?url=https%3A%2F%2Fwww.edx.org%2Flearn%2Fcomputer-science%2Fharvard-university-cs50-s-introduction-to-computer-science&output=json&raw=0" \
-H "Authorization: Bearer <OPENANY_API_KEY>"This command illustrates the OpenAny request format. The response example below retains its stated provenance; it is not evidence that this gateway request was executed.
Response example
Recorded source response for the exact request shown above. Filters, field selectors and page choices in that request define the returned scope.
{
"id": "b2237e54-25d2-4dce-b091-175ebd1304a0",
"uuid": "da1b2400-322b-459b-97b0-0c557f05d017",
"key": "HarvardX+CS50x",
"type": "Course",
"title": "CS50's Introduction to Computer Science",
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/course/image/da1b2400-322b-459b-97b0-0c557f05d017-a3d1899c3344.png",
"schools": [
{
"name": "Harvard University",
"key": "HarvardX",
"logo": "https://prod-discovery.edx-cdn.org/organization/logos/44022f13-20df-4666-9111-cede3e5dc5b6-2cc39992c67a.png"
}
],
"subjects": [
"Computer Science",
"Engineering"
],
"subject": "Computer Science",
"level": "Introductory",
"availability": [
"Current"
],
"language": "en-us",
"short_description": "An introduction to the intellectual enterprises of computer science and the art of programming.",
"description": "This is CS50x , Harvard University's introduction to the intellectual enterprises of computer science and the art of programming for majors and non-majors alike, with or without prior programming experience. An entry-level course taught by David J. Malan, CS50x teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development. Languages include C, Python, SQL, and JavaScript plus CSS and HTML. Problem sets inspired by real-world domains of biology, cryptography, finance, forensics, and gaming. The on-campus version of CS50x , CS50, is Harvard's largest course. Students who earn a satisfactory score on 9 problem sets (i.e., programming assignments) and a final project are eligible for a certificate. This is a self-paced course–you may take CS50x on your own schedule. HarvardX requires individuals who enroll in its courses on edX to abide by the terms of the edX honor code. HarvardX will take appropriate corrective action in response to violations of the edX honor code , which may include dismissal from the HarvardX course; revocation of any certificates received for the HarvardX course; or other remedies as circumstances warrant. No refunds will be issued in the case of corrective action for such violations. Enrollees who are taking HarvardX courses as part of another program will also be governed by the academic policies of those programs. HarvardX pursues the science of learning. By registering as an online learner in an HX course, you will also participate in research about learning. Read our research statement to learn more. Harvard University and HarvardX are committed to maintaining a safe and healthy educational and work environment in which no member of the community is excluded from participation in, denied the benefits of, or subjected to discrimination or harassment in our program. All members of the HarvardX community are expected to abide by Harvard policies on nondiscrimination, including sexual harassment, and the edX Terms of Service. If you have any questions or concerns, please contact harvardx@harvard.edu and/or report your experience through the edX contact form .",
"what_you_will_learn": [
"A broad and robust understanding of computer science and programming",
"How to think algorithmically and solve programming problems efficiently",
"Concepts like abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development",
"Familiarity in a number of languages, including C, Python, SQL, and JavaScript plus CSS and HTML",
"How to engage with a vibrant community of like-minded learners from all levels of experience",
"How to develop and present a final programming project to your peers"
],
"syllabus": null,
"prerequisites": "None.",
"faq": null,
"skills": [
"Algorithms",
"C (Programming Language)",
"Cascading Style Sheets (CSS)",
"Computer Science",
"Cryptography",
"Data Structures",
"Finance",
"Forensic Sciences",
"HyperText Markup Language (HTML)",
"JavaScript (Programming Language)",
"Python (Programming Language)",
"Resource Management",
"SQL (Programming Language)",
"Security Software"
],
"tags": [
"c",
"c-programming",
"computer-programming",
"partner",
"python",
"sql",
"stardust-2019",
"web-development"
],
"enrollment_count": 7134848,
"recent_enrollment_count": 279779,
"rating": null,
"rating_count": null,
"price": 219,
"currency": "USD",
"pacing": "self_paced",
"weeks_to_complete": 12,
"video": "https://www.youtube.com/watch?v=iUBfoA4a5G0",
"programs": [
{
"uuid": "54c7ce9c-5a40-4e12-ab87-d562833387c4",
"title": "Computer Science for Cybersecurity",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-cybersecurity"
},
{
"uuid": "90f4789c-2549-4670-ade7-12cc8b590f5c",
"title": "Computer Science for Web Programming",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-web-programming"
},
{
"uuid": "0a185424-0687-4bdc-aed9-4574b736c1d6",
"title": "Computer Science for Databases using SQL",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-databases-using-sql"
},
{
"uuid": "3543defa-7662-46c0-be1e-94c14de91ea3",
"title": "Computer Science for Data Science",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-data-science"
},
{
"uuid": "8c5c1af9-761b-49b4-9f52-f6f48856d906",
"title": "Computer Science for Artificial Intelligence",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-artifical-intelligence"
},
{
"uuid": "e250b08e-be2a-4b48-a43c-c9ae47f6cf14",
"title": "Computer Science for Python Programming",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-python-programming"
}
],
"instructors": [
{
"name": "David J. Malan",
"title": "Gordon McKay Professor of the Practice of Computer Science",
"organization": "Harvard University",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg",
"bio_url": "https://www.edx.org/bio/david-j-malan"
},
{
"name": "Doug Lloyd",
"title": "Senior Preceptor in Computer Science",
"organization": "Harvard University",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg",
"bio_url": "https://www.edx.org/bio/doug-lloyd"
},
{
"name": "Brian Yu",
"title": "Senior Preceptor in Computer Science",
"organization": "Harvard University",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png",
"bio_url": "https://www.edx.org/bio/brian-yu"
}
],
"start_date": "2016-02-17T00:00:00.000Z",
"end_date": "2027-06-30T23:59:00.000Z",
"enroll_by": null,
"upcoming_run_start": null,
"enrollable": true,
"track_type": "Verified and Audit",
"audit_available": true,
"verified_cert_price": 219,
"active_run": {
"key": "course-v1:HarvardX+CS50+X",
"uuid": "a36f67ec-6637-11e6-a8e3-22000bdde520",
"title": "CS50's Introduction to Computer Science",
"status": "published",
"type": "Verified and Audit",
"pacing": "self_paced",
"start": "2016-02-17T00:00:00.000Z",
"end": "2027-06-30T23:59:00.000Z",
"enrollment_start": "2015-01-01T00:00:00.000Z",
"enrollment_end": null,
"weeks_to_complete": 12,
"min_effort_hours_per_week": 6,
"max_effort_hours_per_week": 18,
"language": "en-us",
"transcript_languages": [
"ar-sa",
"de-de",
"en-us",
"es-mx",
"fr-fr",
"hi",
"id",
"pt-br",
"sw",
"te",
"tr",
"zh-Hans"
],
"price": 219,
"currency": "USD",
"seats": [
{
"type": "audit",
"price": 0,
"currency": "USD",
"credit_hours": null,
"credit_provider": null
},
{
"type": "verified",
"price": 219,
"currency": "USD",
"credit_hours": null,
"credit_provider": null
}
],
"instructors": [
{
"name": "David J. Malan",
"title": "Gordon McKay Professor of the Practice of Computer Science",
"organization": "Harvard University",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg"
},
{
"name": "Doug Lloyd",
"title": "Senior Preceptor in Computer Science",
"organization": "Harvard University",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg"
},
{
"name": "Brian Yu",
"title": "Senior Preceptor in Computer Science",
"organization": "Harvard University",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png"
}
],
"video": "https://www.youtube.com/watch?v=ib4NNsp2qW4",
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science"
},
"runs": [
{
"key": "course-v1:HarvardX+CS50+X",
"uuid": "a36f67ec-6637-11e6-a8e3-22000bdde520",
"title": "CS50's Introduction to Computer Science",
"status": "published",
"type": "Verified and Audit",
"pacing": "self_paced",
"start": "2016-02-17T00:00:00.000Z",
"end": "2027-06-30T23:59:00.000Z",
"enrollment_start": "2015-01-01T00:00:00.000Z",
"enrollment_end": null,
"weeks_to_complete": 12,
"min_effort_hours_per_week": 6,
"max_effort_hours_per_week": 18,
"language": "en-us",
"transcript_languages": [
"ar-sa",
"de-de",
"en-us",
"es-mx",
"fr-fr",
"hi",
"id",
"pt-br",
"sw",
"te",
"tr",
"zh-Hans"
],
"price": 219,
"currency": "USD",
"seats": [
{
"type": "audit",
"price": 0,
"currency": "USD",
"credit_hours": null,
"credit_provider": null
},
{
"type": "verified",
"price": 219,
"currency": "USD",
"credit_hours": null,
"credit_provider": null
}
],
"instructors": [
{
"name": "David J. Malan",
"title": "Gordon McKay Professor of the Practice of Computer Science",
"organization": "Harvard University",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg"
},
{
"name": "Doug Lloyd",
"title": "Senior Preceptor in Computer Science",
"organization": "Harvard University",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg"
},
{
"name": "Brian Yu",
"title": "Senior Preceptor in Computer Science",
"organization": "Harvard University",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png"
}
],
"video": "https://www.youtube.com/watch?v=ib4NNsp2qW4",
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science"
}
],
"created": "2019-09-11T14:18:11.319Z",
"modified": "2024-11-26T14:34:59.240Z",
"cached": false,
"fetched_at": "2026-11-19T12:19:29.582Z",
"credits_used": 1
}Usage and price
The price is USD 0.002 per actual credit reported in credits_used, with no fixed per-call fee. A response reporting zero credits has zero usage cost. Up to USD 0.002 is reserved for this request; the final price follows reported usage within the configured upper limit. A valid empty result or an unsuccessful lookup can still consume source credits. Cache hits also consume credits.
Coverage and limits
Coverage and update times follow the source. Use the documented field definitions when interpreting the selected result. Requests have a 120-second time budget and a 8 MiB response limit.
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
active_runobjectcurrencystringendstringenrollment_endnullenrollment_startstringinstructorsobject[]imagestringnamestringorganizationstringtitlestring
keystringlanguagestringmax_effort_hours_per_weekintegermin_effort_hours_per_weekintegerpacingstringpriceintegerseatsobject[]credit_hoursnullcredit_providernullcurrencystringpriceintegertypestring
startstringstatusstringtitlestringtranscript_languagesstring[]typestringurlstringuuidstringvideostringweeks_to_completeinteger
audit_availablebooleanavailabilitystring[]cachedbooleancreatedstringcredits_usedintegercurrencystringdescriptionstringend_datestringenroll_bynullenrollablebooleanenrollment_countintegerfaqnullfetched_atstringidstringimagestringinstructorsobject[]bio_urlstringimagestringnamestringorganizationstringtitlestring
keystringlanguagestringlevelstringmodifiedstringpacingstringprerequisitesstringpriceintegerprogramsobject[]titlestringtypestringurlstringuuidstring
ratingnullrating_countnullrecent_enrollment_countintegerrunsobject[]currencystringendstringenrollment_endnullenrollment_startstringinstructorsobject[]imagestringnamestringorganizationstringtitlestring
keystringlanguagestringmax_effort_hours_per_weekintegermin_effort_hours_per_weekintegerpacingstringpriceintegerseatsobject[]credit_hoursnullcredit_providernullcurrencystringpriceintegertypestring
startstringstatusstringtitlestringtranscript_languagesstring[]typestringurlstringuuidstringvideostringweeks_to_completeinteger
schoolsobject[]keystringlogostringnamestring
short_descriptionstringskillsstring[]start_datestringsubjectstringsubjectsstring[]syllabusnulltagsstring[]titlestringtrack_typestringtypestringupcoming_run_startnullurlstringuuidstringverified_cert_priceintegervideostringweeks_to_completeintegerwhat_you_will_learnstring[]
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
active_run?: {
currency?: string;
end?: string;
enrollment_end?: null;
enrollment_start?: string;
instructors?: Array<{
image?: string;
name?: string;
organization?: string;
title?: string;
}>;
key?: string;
language?: string;
max_effort_hours_per_week?: number;
min_effort_hours_per_week?: number;
pacing?: string;
price?: number;
seats?: Array<{
credit_hours?: null;
credit_provider?: null;
currency?: string;
price?: number;
type?: string;
}>;
start?: string;
status?: string;
title?: string;
transcript_languages?: Array<string>;
type?: string;
url?: string;
uuid?: string;
video?: string;
weeks_to_complete?: number;
};
audit_available?: boolean;
availability?: Array<string>;
cached?: boolean;
created?: string;
credits_used?: number;
currency?: string;
description?: string;
end_date?: string;
enroll_by?: null;
enrollable?: boolean;
enrollment_count?: number;
faq?: null;
fetched_at?: string;
id?: string;
image?: string;
instructors?: Array<{
bio_url?: string;
image?: string;
name?: string;
organization?: string;
title?: string;
}>;
key?: string;
language?: string;
level?: string;
modified?: string;
pacing?: string;
prerequisites?: string;
price?: number;
programs?: Array<{
title?: string;
type?: string;
url?: string;
uuid?: string;
}>;
rating?: null;
rating_count?: null;
recent_enrollment_count?: number;
runs?: Array<{
currency?: string;
end?: string;
enrollment_end?: null;
enrollment_start?: string;
instructors?: Array<{
image?: string;
name?: string;
organization?: string;
title?: string;
}>;
key?: string;
language?: string;
max_effort_hours_per_week?: number;
min_effort_hours_per_week?: number;
pacing?: string;
price?: number;
seats?: Array<{
credit_hours?: null;
credit_provider?: null;
currency?: string;
price?: number;
type?: string;
}>;
start?: string;
status?: string;
title?: string;
transcript_languages?: Array<string>;
type?: string;
url?: string;
uuid?: string;
video?: string;
weeks_to_complete?: number;
}>;
schools?: Array<{
key?: string;
logo?: string;
name?: string;
}>;
short_description?: string;
skills?: Array<string>;
start_date?: string;
subject?: string;
subjects?: Array<string>;
syllabus?: null;
tags?: Array<string>;
title?: string;
track_type?: string;
type?: string;
upcoming_run_start?: null;
url?: string;
uuid?: string;
verified_cert_price?: number;
video?: string;
weeks_to_complete?: number;
what_you_will_learn?: Array<string>;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent edX course API · GET · View API reference | $0.002 / billing credit | — | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/edx/v1/course- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/apish/edx/v1/course?output=json&raw=0&url=https%3A%2F%2Fwww.edx.org%2Flearn%2Fcomputer-science%2Fharvard-university-cs50-s-introduction-to-computer-science' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
url | URL query parametersquery | string | Yes | Course link (edx.org/learn/<subject>/<course>). |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"active_run": {
"currency": "USD",
"end": "2027-06-30T23:59:00.000Z",
"enrollment_end": null,
"enrollment_start": "2015-01-01T00:00:00.000Z",
"instructors": [
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg",
"name": "David J. Malan",
"organization": "Harvard University",
"title": "Gordon McKay Professor of the Practice of Computer Science"
},
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg",
"name": "Doug Lloyd",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
},
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png",
"name": "Brian Yu",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
}
],
"key": "course-v1:HarvardX+CS50+X",
"language": "en-us",
"max_effort_hours_per_week": 18,
"min_effort_hours_per_week": 6,
"pacing": "self_paced",
"price": 219,
"seats": [
{
"credit_hours": null,
"credit_provider": null,
"currency": "USD",
"price": 0,
"type": "audit"
},
{
"credit_hours": null,
"credit_provider": null,
"currency": "USD",
"price": 219,
"type": "verified"
}
],
"start": "2016-02-17T00:00:00.000Z",
"status": "published",
"title": "CS50's Introduction to Computer Science",
"transcript_languages": [
"ar-sa",
"de-de",
"en-us",
"es-mx",
"fr-fr",
"hi",
"id",
"pt-br",
"sw",
"te",
"tr",
"zh-Hans"
],
"type": "Verified and Audit",
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science",
"uuid": "a36f67ec-6637-11e6-a8e3-22000bdde520",
"video": "https://www.youtube.com/watch?v=ib4NNsp2qW4",
"weeks_to_complete": 12
},
"audit_available": true,
"availability": [
"Current"
],
"cached": false,
"created": "2019-09-11T14:18:11.319Z",
"credits_used": 1,
"currency": "USD",
"description": "This is CS50x , Harvard University's introduction to the intellectual enterprises of computer science and the art of programming for majors and non-majors alike, with or without prior programming experience. An entry-level course taught by David J. Malan, CS50x teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development. Languages include C, Python, SQL, and JavaScript plus CSS and HTML. Problem sets inspired by real-world domains of biology, cryptography, finance, forensics, and gaming. The on-campus version of CS50x , CS50, is Harvard's largest course. Students who earn a satisfactory score on 9 problem sets (i.e., programming assignments) and a final project are eligible for a certificate. This is a self-paced course–you may take CS50x on your own schedule. HarvardX requires individuals who enroll in its courses on edX to abide by the terms of the edX honor code. HarvardX will take appropriate corrective action in response to violations of the edX honor code , which may include dismissal from the HarvardX course; revocation of any certificates received for the HarvardX course; or other remedies as circumstances warrant. No refunds will be issued in the case of corrective action for such violations. Enrollees who are taking HarvardX courses as part of another program will also be governed by the academic policies of those programs. HarvardX pursues the science of learning. By registering as an online learner in an HX course, you will also participate in research about learning. Read our research statement to learn more. Harvard University and HarvardX are committed to maintaining a safe and healthy educational and work environment in which no member of the community is excluded from participation in, denied the benefits of, or subjected to discrimination or harassment in our program. All members of the HarvardX community are expected to abide by Harvard policies on nondiscrimination, including sexual harassment, and the edX Terms of Service. If you have any questions or concerns, please contact harvardx@harvard.edu and/or report your experience through the edX contact form .",
"end_date": "2027-06-30T23:59:00.000Z",
"enroll_by": null,
"enrollable": true,
"enrollment_count": 7134848,
"faq": null,
"fetched_at": "2026-11-19T12:19:29.582Z",
"id": "b2237e54-25d2-4dce-b091-175ebd1304a0",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/course/image/da1b2400-322b-459b-97b0-0c557f05d017-a3d1899c3344.png",
"instructors": [
{
"bio_url": "https://www.edx.org/bio/david-j-malan",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg",
"name": "David J. Malan",
"organization": "Harvard University",
"title": "Gordon McKay Professor of the Practice of Computer Science"
},
{
"bio_url": "https://www.edx.org/bio/doug-lloyd",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg",
"name": "Doug Lloyd",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
},
{
"bio_url": "https://www.edx.org/bio/brian-yu",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png",
"name": "Brian Yu",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
}
],
"key": "HarvardX+CS50x",
"language": "en-us",
"level": "Introductory",
"modified": "2024-11-26T14:34:59.240Z",
"pacing": "self_paced",
"prerequisites": "None.",
"price": 219,
"programs": [
{
"title": "Computer Science for Cybersecurity",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-cybersecurity",
"uuid": "54c7ce9c-5a40-4e12-ab87-d562833387c4"
},
{
"title": "Computer Science for Web Programming",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-web-programming",
"uuid": "90f4789c-2549-4670-ade7-12cc8b590f5c"
},
{
"title": "Computer Science for Databases using SQL",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-databases-using-sql",
"uuid": "0a185424-0687-4bdc-aed9-4574b736c1d6"
},
{
"title": "Computer Science for Data Science",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-data-science",
"uuid": "3543defa-7662-46c0-be1e-94c14de91ea3"
},
{
"title": "Computer Science for Artificial Intelligence",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-artifical-intelligence",
"uuid": "8c5c1af9-761b-49b4-9f52-f6f48856d906"
},
{
"title": "Computer Science for Python Programming",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-python-programming",
"uuid": "e250b08e-be2a-4b48-a43c-c9ae47f6cf14"
}
],
"rating": null,
"rating_count": null,
"recent_enrollment_count": 279779,
"runs": [
{
"currency": "USD",
"end": "2027-06-30T23:59:00.000Z",
"enrollment_end": null,
"enrollment_start": "2015-01-01T00:00:00.000Z",
"instructors": [
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg",
"name": "David J. Malan",
"organization": "Harvard University",
"title": "Gordon McKay Professor of the Practice of Computer Science"
},
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg",
"name": "Doug Lloyd",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
},
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png",
"name": "Brian Yu",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
}
],
"key": "course-v1:HarvardX+CS50+X",
"language": "en-us",
"max_effort_hours_per_week": 18,
"min_effort_hours_per_week": 6,
"pacing": "self_paced",
"price": 219,
"seats": [
{
"credit_hours": null,
"credit_provider": null,
"currency": "USD",
"price": 0,
"type": "audit"
},
{
"credit_hours": null,
"credit_provider": null,
"currency": "USD",
"price": 219,
"type": "verified"
}
],
"start": "2016-02-17T00:00:00.000Z",
"status": "published",
"title": "CS50's Introduction to Computer Science",
"transcript_languages": [
"ar-sa",
"de-de",
"en-us",
"es-mx",
"fr-fr",
"hi",
"id",
"pt-br",
"sw",
"te",
"tr",
"zh-Hans"
],
"type": "Verified and Audit",
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science",
"uuid": "a36f67ec-6637-11e6-a8e3-22000bdde520",
"video": "https://www.youtube.com/watch?v=ib4NNsp2qW4",
"weeks_to_complete": 12
}
],
"schools": [
{
"key": "HarvardX",
"logo": "https://prod-discovery.edx-cdn.org/organization/logos/44022f13-20df-4666-9111-cede3e5dc5b6-2cc39992c67a.png",
"name": "Harvard University"
}
],
"short_description": "An introduction to the intellectual enterprises of computer science and the art of programming.",
"skills": [
"Algorithms",
"C (Programming Language)",
"Cascading Style Sheets (CSS)",
"Computer Science",
"Cryptography",
"Data Structures",
"Finance",
"Forensic Sciences",
"HyperText Markup Language (HTML)",
"JavaScript (Programming Language)",
"Python (Programming Language)",
"Resource Management",
"SQL (Programming Language)",
"Security Software"
],
"start_date": "2016-02-17T00:00:00.000Z",
"subject": "Computer Science",
"subjects": [
"Computer Science",
"Engineering"
],
"syllabus": null,
"tags": [
"c",
"c-programming",
"computer-programming",
"partner",
"python",
"sql",
"stardust-2019",
"web-development"
],
"title": "CS50's Introduction to Computer Science",
"track_type": "Verified and Audit",
"type": "Course",
"upcoming_run_start": null,
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science",
"uuid": "da1b2400-322b-459b-97b0-0c557f05d017",
"verified_cert_price": 219,
"video": "https://www.youtube.com/watch?v=iUBfoA4a5G0",
"weeks_to_complete": 12,
"what_you_will_learn": [
"A broad and robust understanding of computer science and programming",
"How to think algorithmically and solve programming problems efficiently",
"Concepts like abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development",
"Familiarity in a number of languages, including C, Python, SQL, and JavaScript plus CSS and HTML",
"How to engage with a vibrant community of like-minded learners from all levels of experience",
"How to develop and present a final programming project to your peers"
]
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits used | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# edX course API
Use the edX course API to retrieve course syllabus, price information, participating institutions, subject categories, difficulty levels and learning outcomes and skills as structured JSON from edX. Supply source-page URL in the query. Use these results to compare learning content and teaching arrangements when selecting courses or study programmes. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
## Available implementations
apish · edX course API: https://openany.si/markets/apis/capabilities/edx-course-api?offering=01d0609e-505b-4303-8e11-8e5a6a52dc21 · $0.002 / billing credit
## Selected API contract
Documentation: https://openany.si/apis/01d0609e-505b-4303-8e11-8e5a6a52dc21
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/edx/v1/course
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/apish/edx/v1/course?output=json&raw=0&url=https%3A%2F%2Fwww.edx.org%2Flearn%2Fcomputer-science%2Fharvard-university-cs50-s-introduction-to-computer-science' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "edX course API",
"endpoint": "https://api.openany.si/v1/agent-apis/apish/edx/v1/course",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Course link (edx.org/learn/<subject>/<course>).",
"location": "query",
"name": "url",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
"enum_values": [
"0",
"1"
],
"location": "query",
"name": "raw",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "1 skips the 24-hour cache and fetches live.",
"enum_values": [
"1"
],
"location": "query",
"name": "fresh",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
"enum_values": [
"json"
],
"location": "query",
"name": "output",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.",
"location": "query",
"name": "records",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "0",
"max_cost_micro_usd": "2000",
"quantities": [
{
"id": "upstream_credits",
"label": "Actual API.SH credits used",
"max_quantity": "1",
"measure": "value",
"pointer": "/credits_used",
"price_micro_usd": "2000",
"quantity_scale": 0,
"source": "response",
"unit": "credit",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · Live API.SH response · Minimal request",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"output": "json",
"raw": "0",
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science"
}
},
"response_body": {
"active_run": {
"currency": "USD",
"end": "2027-06-30T23:59:00.000Z",
"enrollment_end": null,
"enrollment_start": "2015-01-01T00:00:00.000Z",
"instructors": [
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg",
"name": "David J. Malan",
"organization": "Harvard University",
"title": "Gordon McKay Professor of the Practice of Computer Science"
},
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg",
"name": "Doug Lloyd",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
},
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png",
"name": "Brian Yu",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
}
],
"key": "course-v1:HarvardX+CS50+X",
"language": "en-us",
"max_effort_hours_per_week": 18,
"min_effort_hours_per_week": 6,
"pacing": "self_paced",
"price": 219,
"seats": [
{
"credit_hours": null,
"credit_provider": null,
"currency": "USD",
"price": 0,
"type": "audit"
},
{
"credit_hours": null,
"credit_provider": null,
"currency": "USD",
"price": 219,
"type": "verified"
}
],
"start": "2016-02-17T00:00:00.000Z",
"status": "published",
"title": "CS50's Introduction to Computer Science",
"transcript_languages": [
"ar-sa",
"de-de",
"en-us",
"es-mx",
"fr-fr",
"hi",
"id",
"pt-br",
"sw",
"te",
"tr",
"zh-Hans"
],
"type": "Verified and Audit",
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science",
"uuid": "a36f67ec-6637-11e6-a8e3-22000bdde520",
"video": "https://www.youtube.com/watch?v=ib4NNsp2qW4",
"weeks_to_complete": 12
},
"audit_available": true,
"availability": [
"Current"
],
"cached": false,
"created": "2019-09-11T14:18:11.319Z",
"credits_used": 1,
"currency": "USD",
"description": "This is CS50x , Harvard University's introduction to the intellectual enterprises of computer science and the art of programming for majors and non-majors alike, with or without prior programming experience. An entry-level course taught by David J. Malan, CS50x teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development. Languages include C, Python, SQL, and JavaScript plus CSS and HTML. Problem sets inspired by real-world domains of biology, cryptography, finance, forensics, and gaming. The on-campus version of CS50x , CS50, is Harvard's largest course. Students who earn a satisfactory score on 9 problem sets (i.e., programming assignments) and a final project are eligible for a certificate. This is a self-paced course–you may take CS50x on your own schedule. HarvardX requires individuals who enroll in its courses on edX to abide by the terms of the edX honor code. HarvardX will take appropriate corrective action in response to violations of the edX honor code , which may include dismissal from the HarvardX course; revocation of any certificates received for the HarvardX course; or other remedies as circumstances warrant. No refunds will be issued in the case of corrective action for such violations. Enrollees who are taking HarvardX courses as part of another program will also be governed by the academic policies of those programs. HarvardX pursues the science of learning. By registering as an online learner in an HX course, you will also participate in research about learning. Read our research statement to learn more. Harvard University and HarvardX are committed to maintaining a safe and healthy educational and work environment in which no member of the community is excluded from participation in, denied the benefits of, or subjected to discrimination or harassment in our program. All members of the HarvardX community are expected to abide by Harvard policies on nondiscrimination, including sexual harassment, and the edX Terms of Service. If you have any questions or concerns, please contact harvardx@harvard.edu and/or report your experience through the edX contact form .",
"end_date": "2027-06-30T23:59:00.000Z",
"enroll_by": null,
"enrollable": true,
"enrollment_count": 7134848,
"faq": null,
"fetched_at": "2026-11-19T12:19:29.582Z",
"id": "b2237e54-25d2-4dce-b091-175ebd1304a0",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/course/image/da1b2400-322b-459b-97b0-0c557f05d017-a3d1899c3344.png",
"instructors": [
{
"bio_url": "https://www.edx.org/bio/david-j-malan",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg",
"name": "David J. Malan",
"organization": "Harvard University",
"title": "Gordon McKay Professor of the Practice of Computer Science"
},
{
"bio_url": "https://www.edx.org/bio/doug-lloyd",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg",
"name": "Doug Lloyd",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
},
{
"bio_url": "https://www.edx.org/bio/brian-yu",
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png",
"name": "Brian Yu",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
}
],
"key": "HarvardX+CS50x",
"language": "en-us",
"level": "Introductory",
"modified": "2024-11-26T14:34:59.240Z",
"pacing": "self_paced",
"prerequisites": "None.",
"price": 219,
"programs": [
{
"title": "Computer Science for Cybersecurity",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-cybersecurity",
"uuid": "54c7ce9c-5a40-4e12-ab87-d562833387c4"
},
{
"title": "Computer Science for Web Programming",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-web-programming",
"uuid": "90f4789c-2549-4670-ade7-12cc8b590f5c"
},
{
"title": "Computer Science for Databases using SQL",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-databases-using-sql",
"uuid": "0a185424-0687-4bdc-aed9-4574b736c1d6"
},
{
"title": "Computer Science for Data Science",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-data-science",
"uuid": "3543defa-7662-46c0-be1e-94c14de91ea3"
},
{
"title": "Computer Science for Artificial Intelligence",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-artifical-intelligence",
"uuid": "8c5c1af9-761b-49b4-9f52-f6f48856d906"
},
{
"title": "Computer Science for Python Programming",
"type": "Professional Certificate",
"url": "certificates/professional-certificate/harvardx-computer-science-for-python-programming",
"uuid": "e250b08e-be2a-4b48-a43c-c9ae47f6cf14"
}
],
"rating": null,
"rating_count": null,
"recent_enrollment_count": 279779,
"runs": [
{
"currency": "USD",
"end": "2027-06-30T23:59:00.000Z",
"enrollment_end": null,
"enrollment_start": "2015-01-01T00:00:00.000Z",
"instructors": [
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg",
"name": "David J. Malan",
"organization": "Harvard University",
"title": "Gordon McKay Professor of the Practice of Computer Science"
},
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg",
"name": "Doug Lloyd",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
},
{
"image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png",
"name": "Brian Yu",
"organization": "Harvard University",
"title": "Senior Preceptor in Computer Science"
}
],
"key": "course-v1:HarvardX+CS50+X",
"language": "en-us",
"max_effort_hours_per_week": 18,
"min_effort_hours_per_week": 6,
"pacing": "self_paced",
"price": 219,
"seats": [
{
"credit_hours": null,
"credit_provider": null,
"currency": "USD",
"price": 0,
"type": "audit"
},
{
"credit_hours": null,
"credit_provider": null,
"currency": "USD",
"price": 219,
"type": "verified"
}
],
"start": "2016-02-17T00:00:00.000Z",
"status": "published",
"title": "CS50's Introduction to Computer Science",
"transcript_languages": [
"ar-sa",
"de-de",
"en-us",
"es-mx",
"fr-fr",
"hi",
"id",
"pt-br",
"sw",
"te",
"tr",
"zh-Hans"
],
"type": "Verified and Audit",
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science",
"uuid": "a36f67ec-6637-11e6-a8e3-22000bdde520",
"video": "https://www.youtube.com/watch?v=ib4NNsp2qW4",
"weeks_to_complete": 12
}
],
"schools": [
{
"key": "HarvardX",
"logo": "https://prod-discovery.edx-cdn.org/organization/logos/44022f13-20df-4666-9111-cede3e5dc5b6-2cc39992c67a.png",
"name": "Harvard University"
}
],
"short_description": "An introduction to the intellectual enterprises of computer science and the art of programming.",
"skills": [
"Algorithms",
"C (Programming Language)",
"Cascading Style Sheets (CSS)",
"Computer Science",
"Cryptography",
"Data Structures",
"Finance",
"Forensic Sciences",
"HyperText Markup Language (HTML)",
"JavaScript (Programming Language)",
"Python (Programming Language)",
"Resource Management",
"SQL (Programming Language)",
"Security Software"
],
"start_date": "2016-02-17T00:00:00.000Z",
"subject": "Computer Science",
"subjects": [
"Computer Science",
"Engineering"
],
"syllabus": null,
"tags": [
"c",
"c-programming",
"computer-programming",
"partner",
"python",
"sql",
"stardust-2019",
"web-development"
],
"title": "CS50's Introduction to Computer Science",
"track_type": "Verified and Audit",
"type": "Course",
"upcoming_run_start": null,
"url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science",
"uuid": "da1b2400-322b-459b-97b0-0c557f05d017",
"verified_cert_price": 219,
"video": "https://www.youtube.com/watch?v=iUBfoA4a5G0",
"weeks_to_complete": 12,
"what_you_will_learn": [
"A broad and robust understanding of computer science and programming",
"How to think algorithmically and solve programming problems efficiently",
"Concepts like abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development",
"Familiarity in a number of languages, including C, Python, SQL, and JavaScript plus CSS and HTML",
"How to engage with a vibrant community of like-minded learners from all levels of experience",
"How to develop and present a final programming project to your peers"
]
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 6
Review these request fields before running. Keep the published provider and request method unchanged.
url- Course link (edx.org/learn/<subject>/<course>).
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/edx/v1/course?output=json&raw=0&url=https%3A%2F%2Fwww.edx.org%2Flearn%2Fcomputer-science%2Fharvard-university-cs50-s-introduction-to-computer-science' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "active_run": { "currency": "USD", "end": "2027-06-30T23:59:00.000Z", "enrollment_end": null, "enrollment_start": "2015-01-01T00:00:00.000Z", "instructors": [ { "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg", "name": "David J. Malan", "organization": "Harvard University", "title": "Gordon McKay Professor of the Practice of Computer Science" }, { "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg", "name": "Doug Lloyd", "organization": "Harvard University", "title": "Senior Preceptor in Computer Science" }, { "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png", "name": "Brian Yu", "organization": "Harvard University", "title": "Senior Preceptor in Computer Science" } ], "key": "course-v1:HarvardX+CS50+X", "language": "en-us", "max_effort_hours_per_week": 18, "min_effort_hours_per_week": 6, "pacing": "self_paced", "price": 219, "seats": [ { "credit_hours": null, "credit_provider": null, "currency": "USD", "price": 0, "type": "audit" }, { "credit_hours": null, "credit_provider": null, "currency": "USD", "price": 219, "type": "verified" } ], "start": "2016-02-17T00:00:00.000Z", "status": "published", "title": "CS50's Introduction to Computer Science", "transcript_languages": [ "ar-sa", "de-de", "en-us", "es-mx", "fr-fr", "hi", "id", "pt-br", "sw", "te", "tr", "zh-Hans" ], "type": "Verified and Audit", "url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science", "uuid": "a36f67ec-6637-11e6-a8e3-22000bdde520", "video": "https://www.youtube.com/watch?v=ib4NNsp2qW4", "weeks_to_complete": 12 }, "audit_available": true, "availability": [ "Current" ], "cached": false, "created": "2019-09-11T14:18:11.319Z", "credits_used": 1, "currency": "USD", "description": "This is CS50x , Harvard University's introduction to the intellectual enterprises of computer science and the art of programming for majors and non-majors alike, with or without prior programming experience. An entry-level course taught by David J. Malan, CS50x teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development. Languages include C, Python, SQL, and JavaScript plus CSS and HTML. Problem sets inspired by real-world domains of biology, cryptography, finance, forensics, and gaming. The on-campus version of CS50x , CS50, is Harvard's largest course. Students who earn a satisfactory score on 9 problem sets (i.e., programming assignments) and a final project are eligible for a certificate. This is a self-paced course–you may take CS50x on your own schedule. HarvardX requires individuals who enroll in its courses on edX to abide by the terms of the edX honor code. HarvardX will take appropriate corrective action in response to violations of the edX honor code , which may include dismissal from the HarvardX course; revocation of any certificates received for the HarvardX course; or other remedies as circumstances warrant. No refunds will be issued in the case of corrective action for such violations. Enrollees who are taking HarvardX courses as part of another program will also be governed by the academic policies of those programs. HarvardX pursues the science of learning. By registering as an online learner in an HX course, you will also participate in research about learning. Read our research statement to learn more. Harvard University and HarvardX are committed to maintaining a safe and healthy educational and work environment in which no member of the community is excluded from participation in, denied the benefits of, or subjected to discrimination or harassment in our program. All members of the HarvardX community are expected to abide by Harvard policies on nondiscrimination, including sexual harassment, and the edX Terms of Service. If you have any questions or concerns, please contact harvardx@harvard.edu and/or report your experience through the edX contact form .", "end_date": "2027-06-30T23:59:00.000Z", "enroll_by": null, "enrollable": true, "enrollment_count": 7134848, "faq": null, "fetched_at": "2026-11-19T12:19:29.582Z", "id": "b2237e54-25d2-4dce-b091-175ebd1304a0", "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/course/image/da1b2400-322b-459b-97b0-0c557f05d017-a3d1899c3344.png", "instructors": [ { "bio_url": "https://www.edx.org/bio/david-j-malan", "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg", "name": "David J. Malan", "organization": "Harvard University", "title": "Gordon McKay Professor of the Practice of Computer Science" }, { "bio_url": "https://www.edx.org/bio/doug-lloyd", "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg", "name": "Doug Lloyd", "organization": "Harvard University", "title": "Senior Preceptor in Computer Science" }, { "bio_url": "https://www.edx.org/bio/brian-yu", "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png", "name": "Brian Yu", "organization": "Harvard University", "title": "Senior Preceptor in Computer Science" } ], "key": "HarvardX+CS50x", "language": "en-us", "level": "Introductory", "modified": "2024-11-26T14:34:59.240Z", "pacing": "self_paced", "prerequisites": "None.", "price": 219, "programs": [ { "title": "Computer Science for Cybersecurity", "type": "Professional Certificate", "url": "certificates/professional-certificate/harvardx-computer-science-for-cybersecurity", "uuid": "54c7ce9c-5a40-4e12-ab87-d562833387c4" }, { "title": "Computer Science for Web Programming", "type": "Professional Certificate", "url": "certificates/professional-certificate/harvardx-computer-science-for-web-programming", "uuid": "90f4789c-2549-4670-ade7-12cc8b590f5c" }, { "title": "Computer Science for Databases using SQL", "type": "Professional Certificate", "url": "certificates/professional-certificate/harvardx-computer-science-for-databases-using-sql", "uuid": "0a185424-0687-4bdc-aed9-4574b736c1d6" }, { "title": "Computer Science for Data Science", "type": "Professional Certificate", "url": "certificates/professional-certificate/harvardx-computer-science-for-data-science", "uuid": "3543defa-7662-46c0-be1e-94c14de91ea3" }, { "title": "Computer Science for Artificial Intelligence", "type": "Professional Certificate", "url": "certificates/professional-certificate/harvardx-computer-science-for-artifical-intelligence", "uuid": "8c5c1af9-761b-49b4-9f52-f6f48856d906" }, { "title": "Computer Science for Python Programming", "type": "Professional Certificate", "url": "certificates/professional-certificate/harvardx-computer-science-for-python-programming", "uuid": "e250b08e-be2a-4b48-a43c-c9ae47f6cf14" } ], "rating": null, "rating_count": null, "recent_enrollment_count": 279779, "runs": [ { "currency": "USD", "end": "2027-06-30T23:59:00.000Z", "enrollment_end": null, "enrollment_start": "2015-01-01T00:00:00.000Z", "instructors": [ { "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/1752b28e-8ac9-40a0-b468-326e03cafdd4-fbb503634b91.jpg", "name": "David J. Malan", "organization": "Harvard University", "title": "Gordon McKay Professor of the Practice of Computer Science" }, { "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/bc8ebc13-d0a3-406d-a486-8abaf599f4f2-e4bb91efd038.jpg", "name": "Doug Lloyd", "organization": "Harvard University", "title": "Senior Preceptor in Computer Science" }, { "image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/people/profile_images/0a4f3eeb-93aa-4db9-956b-236dc9a1f65e-3f9866938764.png", "name": "Brian Yu", "organization": "Harvard University", "title": "Senior Preceptor in Computer Science" } ], "key": "course-v1:HarvardX+CS50+X", "language": "en-us", "max_effort_hours_per_week": 18, "min_effort_hours_per_week": 6, "pacing": "self_paced", "price": 219, "seats": [ { "credit_hours": null, "credit_provider": null, "currency": "USD", "price": 0, "type": "audit" }, { "credit_hours": null, "credit_provider": null, "currency": "USD", "price": 219, "type": "verified" } ], "start": "2016-02-17T00:00:00.000Z", "status": "published", "title": "CS50's Introduction to Computer Science", "transcript_languages": [ "ar-sa", "de-de", "en-us", "es-mx", "fr-fr", "hi", "id", "pt-br", "sw", "te", "tr", "zh-Hans" ], "type": "Verified and Audit", "url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science", "uuid": "a36f67ec-6637-11e6-a8e3-22000bdde520", "video": "https://www.youtube.com/watch?v=ib4NNsp2qW4", "weeks_to_complete": 12 } ], "schools": [ { "key": "HarvardX", "logo": "https://prod-discovery.edx-cdn.org/organization/logos/44022f13-20df-4666-9111-cede3e5dc5b6-2cc39992c67a.png", "name": "Harvard University" } ], "short_description": "An introduction to the intellectual enterprises of computer science and the art of programming.", "skills": [ "Algorithms", "C (Programming Language)", "Cascading Style Sheets (CSS)", "Computer Science", "Cryptography", "Data Structures", "Finance", "Forensic Sciences", "HyperText Markup Language (HTML)", "JavaScript (Programming Language)", "Python (Programming Language)", "Resource Management", "SQL (Programming Language)", "Security Software" ], "start_date": "2016-02-17T00:00:00.000Z", "subject": "Computer Science", "subjects": [ "Computer Science", "Engineering" ], "syllabus": null, "tags": [ "c", "c-programming", "computer-programming", "partner", "python", "sql", "stardust-2019", "web-development" ], "title": "CS50's Introduction to Computer Science", "track_type": "Verified and Audit", "type": "Course", "upcoming_run_start": null, "url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science", "uuid": "da1b2400-322b-459b-97b0-0c557f05d017", "verified_cert_price": 219, "video": "https://www.youtube.com/watch?v=iUBfoA4a5G0", "weeks_to_complete": 12, "what_you_will_learn": [ "A broad and robust understanding of computer science and programming", "How to think algorithmically and solve programming problems efficiently", "Concepts like abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development", "Familiarity in a number of languages, including C, Python, SQL, and JavaScript plus CSS and HTML", "How to engage with a vibrant community of like-minded learners from all levels of experience", "How to develop and present a final programming project to your peers" ] }