edX Courses Scraper — Course Titles, Links & Descriptions
Pricing
from $4.00 / 1,000 edx course records
edX Courses Scraper — Course Titles, Links & Descriptions
Scrape edX courses by topic or course URL into title, link, course ID, description and image records for course research. USD 5 per 1,000 courses.
Pricing
from $4.00 / 1,000 edx course records
Rating
0.0
(0)
Developer
Muhammad Afzal
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
19 days ago
Last modified
Categories
Features
Share
edX Courses Scraper collects edX courses from public edX topic pages and course URLs and returns one record per course with the course title, course URL, the edX course key, the description, the school, subjects, level, duration, weekly effort, language, the course image and the page it was found on. It is built for course-catalog research, education market analysis and AI agents that need clean edX course links, and it costs USD 5.00 per 1,000 course records on the FREE tier (USD 4.00 on GOLD).
What data does the edX courses scraper return?
Each dataset row is one edX course. The table shows what the latest cloud run (2026-10-27) actually filled.
| Field | What it contains | Filled on 2026-10-27 |
|---|---|---|
title | Course title from the course's structured data, for example CS50's Introduction to Programming with Python | Yes |
url | Canonical course URL on www.edx.org/learn/... | Yes |
courseId | edX course key, for example HarvardX+CS50P (the URL slug is used only if a page has no key) | Yes |
description | Course summary | Yes |
provider, institution | School name (Harvard University) and its edX code (HarvardX) | Yes |
subject | edX subjects for the course, primary first, for example Computer Science, Data Analysis | Yes |
level, duration, effort, language | Beginner/Intermediate/Advanced, course length (10 weeks), weekly effort (6 hours per week) and language code (en) | Yes |
courseType | Course | Yes |
image | Course image URL | Yes |
sourceUrl | The topic page or URL the course was found from | Yes |
scrapedAt | Collection time (ISO 8601) | Yes |
recordType | Always course | Yes |
A detail field is null only when edX leaves it out for that course. Retired courses, whose links answer "not found" or redirect to a topic or school page, are skipped without a record or a charge. |
The run summary is saved in the OUTPUT record: status (completed, completed_with_warnings, empty, blocked or rejected), record and charged counts, stop reason, courses discovered, retired links skipped, warnings and the source URLs.
How do I scrape edX courses by topic?
Set topic to an edX topic slug such as python, data-science or artificial-intelligence, and the Actor reads https://www.edx.org/learn/<topic> and the courses it lists: its ranked course list first, then the other course cards on the page. The python page listed 61 course links on 2026-10-27, and after skipping retired ones it filled the default 25 courses.
{ "topic": "python", "maxResults": 10, "includeDetails": true }
You can also type a phrase into searchQuery, for example machine learning. The Actor turns it into a topic slug (/learn/machine-learning); it does not use the edX search box.
How do I get more edX courses in one run?
Pass several topic pages and course URLs in startUrls. Course URLs are scraped directly, topic URLs add their linked courses, and duplicates are removed. maxResults caps the run at 1 to 200 unique courses (default 25).
{"startUrls": [{ "url": "https://www.edx.org/learn/python" },{ "url": "https://www.edx.org/learn/artificial-intelligence" },{ "url": "https://www.edx.org/learn/python/harvard-university-cs50-s-introduction-to-programming-with-python" }],"maxResults": 50}
URLs outside edx.org/learn/ are skipped with a warning, and a run whose startUrls are all outside it is rejected without scraping the default topic. includeDetails (default true) keeps the description, image, school, subjects, level, duration, effort and language; set it to false to get only title, URL and course ID. maxConcurrency (1 to 8, default 3) sets how many course pages are fetched at once.
When should I use it, and when not?
Use it when you need a list of edX course titles, links and descriptions for a topic or a known set of URLs, for example to build a course comparison sheet, track which partner courses appear under a topic, or feed course links to an AI agent.
Use something else when:
- You need course prices, free-audit or certificate flags, enrollment counts, ratings or start dates: this Actor does not return them.
- You need Skillshare classes: use Skillshare Course Scraper.
- You need course videos, transcripts or graded content: the Actor reads public catalog pages only.
How do I run it from code?
JavaScript with apify-client:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('muhammadafzal/edx-course-scraper').call({topic: 'python',maxResults: 10,includeDetails: true,});const { items } = await client.dataset(run.defaultDatasetId).listItems();for (const item of items) console.log(item.title, item.url);
Python with apify-client:
import osfrom apify_client import ApifyClientclient = ApifyClient(os.environ["APIFY_TOKEN"])run = client.actor("muhammadafzal/edx-course-scraper").call(run_input={"startUrls": [{"url": "https://www.edx.org/learn/data-science"}],"maxResults": 25,})for item in client.dataset(run.default_dataset_id).iterate_items():print(item["courseId"], item["title"], item["url"])
Use it from an AI assistant
edX Courses Scraper works from Claude, ChatGPT, Cursor or any MCP client through Apify's MCP server. Add the single-tool URL https://mcp.apify.com/?tools=muhammadafzal/edx-course-scraper to your client and ask, for example: "List the edX Python courses with their links and short descriptions." Each course record is charged at the prices below, so mention a result limit.
What does the output look like?
Two records from the 2026-10-27 cloud run with the default python topic (shortened):
[{"recordType": "course","courseId": "HarvardX+CS50P","title": "CS50's Introduction to Programming with Python","url": "https://www.edx.org/learn/python/harvard-university-cs50-s-introduction-to-programming-with-python","description": "An introduction to programming using Python, a popular language for general-purpose programming, data science, web programming, and more.","provider": "Harvard University","institution": "HarvardX","subject": "Computer Science, Data Analysis","level": "Beginner","duration": "10 weeks","effort": "6 hours per week","language": "en","courseType": "Course","image": "https://prod-discovery.edx-cdn.org/cdn-cgi/image/width=auto,height=auto,quality=75,format=webp/media/course/image/2cc794d0-316d-42f7-bbfd-25c34e4cd5df-033e46d516c0.png","sourceUrl": "https://www.edx.org/learn/python"},{"recordType": "course","courseId": "IBM+PY0101EN","title": "Python Basics for Data Science","url": "https://www.edx.org/learn/python/ibm-python-basics-for-data-science","provider": "IBM","institution": "IBM","subject": "Data Analysis, Engineering, Computer Science","level": "Intermediate","duration": "3 weeks","effort": "7 hours per week","language": "en","sourceUrl": "https://www.edx.org/learn/python"}]
How much does it cost to scrape edX courses?
The Actor uses pay-per-event pricing, and platform usage is included in the event prices. Each course saved to the default dataset is one charged event.
| Event | FREE | BRONZE | SILVER | GOLD | PLATINUM / DIAMOND |
|---|---|---|---|---|---|
| edX course record (one dataset row) | USD 0.005001 | USD 0.004875 | USD 0.00475 | USD 0.004 | USD 0.004 |
| Actor start (per started GB of allocated memory) | USD 0.006251 | USD 0.006094 | USD 0.005938 | USD 0.005 | USD 0.005 |
Worked totals on the FREE tier at the default 512 MB memory (one start event):
- Default
pythontopic, 25 courses: 25 × USD 0.005001 + USD 0.006251 = USD 0.1313 - 100 courses from several topic URLs: 100 × USD 0.005001 + USD 0.006251 = USD 0.5064
A run that finds no courses, or is blocked, charges only the start event. Retired course links are never charged.
Limits and reliability
- Speed: 25 courses took about 8 seconds in the 2026-10-27 cloud run.
- Scale: 1 to 200 unique courses per run. A topic page lists from a few dozen courses (
python: 61 links) to over a thousand (computer-science: 1,029 links on 2026-10-27); add topic or course URLs when one page is not enough. - Access: public HTML only, no login. If edX blocks the topic page, the run ends with
status: "blocked", zero records and no record charges; a blocked course page is skipped with a warning. The Actor never tries to bypass a block. - Retries: network and server errors are retried up to 3 attempts with backoff.
FAQ
Does it need an edX account or API key?
No. It reads the same public course pages anyone can open, without logging in.
Why did I get fewer courses than I asked for?
Each topic page lists a limited set of courses, and retired ones are skipped (OUTPUT.skippedNotLiveCourses counts them). Add more topic URLs or course URLs in startUrls to reach your limit.
Does it show whether an edX course is free or how much the certificate costs?
No. Prices, free-audit status and certificate options are not in the output.
Where do school, level and duration come from?
From the structured course data edX publishes on each course page, and the subjects from the page's own course data. A field is null only when edX leaves it out.
Can I scrape a single edX course page?
Yes. Put the course URL in startUrls and set maxResults to 1. You pay one record plus the start event.
How fresh is the data?
Every run reads edX live, and each record carries scrapedAt.
Can I schedule it to track new edX courses?
Yes. Schedule the Actor on Apify with the same topics and compare courseId values between runs.
Related Actors
- Skillshare Course Scraper: Skillshare class data
Legal and compliance
The Actor reads public edX catalog pages and does not log in, bypass access controls or download course content. Course titles, descriptions and images belong to edX and its partner institutions: use them for research and analysis, and follow edX's terms before republishing. This tool is not affiliated with edX, and this is not legal advice.
Last verified: 2026-10-27