# Udemy Course Scraper (`automly/udemy-course-scraper`) Actor

Scrape Udemy courses by keyword, topic, search or course link with Udemy's own filters: title, instructors, rating, reviews and students count, price, language, level, last update, length and curriculum.

- **URL**: https://apify.com/automly/udemy-course-scraper.md
- **Developed by:** [Automly](https://apify.com/automly) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 1,000 courses

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Udemy Course Scraper

### What is Udemy Course Scraper?

**Udemy Course Scraper** lets you **scrape Udemy courses in bulk**: title, link, headline, instructors, rating, number of ratings, students, price and sale price, language, level, last update, length, lectures, quizzes and practice tests, category and topics, badges, captions, what you'll learn, requirements and who it's for. Course links also give the **full description and curriculum**. Add keywords, topic or search links, click **Start**, and download the courses as Excel, CSV or JSON.

- 🔍 **Search Udemy** by keyword, topic or any Udemy search link, up to 10,000 courses per search
- 🎯 **Udemy's own filters:** minimum rating, language, level, video length, free or paid
- 📚 **Course details:** students, rating, price, instructors, curriculum and description
- ⚡ **Fast:** 136 courses in about 8 seconds in our test
- 🔓 **No login:** no Udemy account needed

### What can Udemy Course Scraper do?

- **Find every course on a topic**: all the courses Udemy lists for a keyword or topic, most relevant, most reviewed, highest rated or newest first
- **Filter like on Udemy**: minimum rating, languages, levels, video length, free or paid courses
- **Paste a topic link** (`https://www.udemy.com/topic/python/`) or a **search link** from your browser, with its filters and sort
- **Read single courses** from their links, with the full description and the curriculum, section by section
- Export to Excel, CSV, JSON, HTML or XML, or send the data to Google Sheets, Make, Zapier and more

### What data can you extract from Udemy courses?

| | | |
|---|---|---|
| 📘 Course title, link and headline | 👩‍🏫 Instructors and their profiles | ⭐ Rating and number of ratings |
| 👥 Students enrolled | 💵 Price, list price and discount | 🌐 Language and captions |
| 🎚️ Level | 🕒 Hours of content and last update | 🧩 Lectures, quizzes, practice tests, coding exercises |
| 🗂️ Category, subcategory and topics | 🏅 Badges (Bestseller, Highest Rated, New) | 🎯 What you'll learn, requirements, who it's for |
| 📝 Full description (course links) | 📑 Curriculum with lesson lengths (course links) | 🔢 Rank in the search |

### How to scrape Udemy courses

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open **Udemy Course Scraper**.
3. Enter **Keywords** (like `python` or `excel`), or paste **Udemy links**: topics, searches or courses.
4. Pick filters if you want them.
5. Click **Start**, then download the courses as Excel, CSV, JSON or HTML.

### How much does it cost to scrape Udemy courses?

You pay per course saved:

| Apify plan | Price per 1,000 courses |
|---|---|
| Free | $1.79 |
| Starter (Bronze) | $1.59 |
| Scale (Silver) | $1.39 |
| Business (Gold) and higher | $1.19 |

Each run also costs $0.0005 to start. Platform usage is included, so there is nothing else to pay. For example, 1,000 courses cost $1.79 on the Free plan and $1.19 on Business. Searches with no result and course links that do not exist cost nothing. **Max courses per search** keeps the cost of a run under control, and you can also set a maximum cost per run.

Every Apify account gets **$5 of free usage each month**, about 2,700 courses on the Free plan. See the **Pricing** tab for details.

### ⬇️ Input

| Setting | What it does |
|---|---|
| **Keywords** | Words to search Udemy for, one per line |
| **Udemy links** | Topic links (searched by the topic's name), search links (their filters and sort are kept) or course links |
| **Max courses per search** | Most courses taken from each keyword, topic or search link (up to 10,000) |
| **Sort by** | Most relevant, most reviewed, highest rated or newest |
| **Minimum rating**, **Languages**, **Levels**, **Free or paid**, **Video duration** | Udemy's search filters, for keywords and topics |

The 100 most reviewed beginner Python courses in English:

```json
{
  "searches": ["python"],
  "sortBy": "most-reviewed",
  "levels": ["beginner"],
  "languages": ["en"],
  "maxItems": 100
}
```

Free Excel courses rated 4.5 and up, plus two courses by link:

```json
{
  "startUrls": [
    {"url": "https://www.udemy.com/topic/microsoft-excel/"},
    {"url": "https://www.udemy.com/course/complete-python-bootcamp/"},
    {"url": "https://www.udemy.com/course/the-complete-web-development-bootcamp/"}
  ],
  "price": "free",
  "minRating": "4.5"
}
```

### ⬆️ Output

Every course is one row. Prices are in US dollars, dates are ISO 8601 in UTC. A course row (shortened):

```json
{
  "type": "course",
  "id": 567828,
  "title": "The Complete Python Bootcamp From Zero to Hero in Python",
  "url": "https://www.udemy.com/course/complete-python-bootcamp/",
  "headline": "Learn Python like a Professional  Start from the basics and go all the way to creating your own applications and games",
  "instructors": [
    {"id": 9685726, "name": "Jose Portilla", "url": "https://www.udemy.com/user/joseportilla"},
    {"id": 265589972, "name": "Pierian Training", "url": "https://www.udemy.com/user/pierian-training-2"}
  ],
  "rating": 4.62,
  "reviewsCount": 568021,
  "studentsCount": 2208745,
  "price": 199.99,
  "listPrice": 199.99,
  "discountPercent": 0,
  "currency": "USD",
  "isFree": false,
  "language": "en-US",
  "level": "All Levels",
  "lastUpdated": "2025-08-07",
  "durationHours": 22.4,
  "lecturesCount": 170,
  "quizzesCount": 8,
  "practiceTestsCount": 0,
  "codingExercisesCount": 19,
  "category": "Development",
  "subcategory": "Programming Languages",
  "topic": "Python",
  "topics": ["Python"],
  "badges": [],
  "hasCertificate": true,
  "isPracticeTestCourse": false,
  "captionLanguages": ["en-US (auto)", "es-ES (auto)", "fr-FR (auto)"],
  "learningOutcomes": ["You will learn how to leverage the power of Python to solve tasks.", "..."],
  "requirements": ["Access to a computer with an internet connection."],
  "targetAudience": ["Beginners who have never programmed before.", "..."],
  "image": "https://img-c.udemycdn.com/course/480x270/567828_67d0.jpg",
  "description": "Become a Python Programmer and learn one of employer's most requested skills...",
  "curriculum": [
    {"title": "Course Overview", "items": 4, "durationSeconds": 1155, "lessons": [
      {"title": "Course Introduction", "kind": "video", "durationSeconds": 399, "preview": true}
    ]}
  ],
  "searchQuery": null,
  "rank": null
}
```

Courses from a search carry `searchQuery` and their `rank` in it; `description` and `curriculum` come with course links (they are `null` in search results).

### How can I use Udemy course data?

- **Market research:** see which topics have the most students, the best ratings and the newest courses
- **Pricing research:** compare list prices and sale prices across a topic
- **Course creation:** find the gaps in a topic before you build your own course, and see how top courses are structured
- **Competitor analysis:** track students, ratings and updates of competing courses over time

### Scrape more learning data

| Actor | What it gets |
|---|---|
| [Udemy Scraper](https://apify.com/automly/udemy-scraper) | Udemy courses and their reviews with the instructor's replies |
| [Skool Scraper](https://apify.com/automly/skool-scraper) | Skool communities, posts, comments and members |
| [YouTube Scraper](https://apify.com/automly/youtube-scraper) | Videos, Shorts and live streams from channels, playlists and searches |
| [Reddit Scraper](https://apify.com/automly/reddit-scraper) | Posts, comments and communities from Reddit |

### ❓FAQ

#### How much does it cost?

$1.79 per 1,000 courses on the Free plan, down to $1.19 on Business and higher, plus $0.0005 per run. See **How much does it cost to scrape Udemy courses?** above.

#### Do I need a Udemy account?

No. The scraper collects what Udemy shows to anyone without signing in, so you don't need an account. Course videos and lessons themselves are for enrolled students and are not included.

#### How many courses can I get?

Udemy lists up to 10,000 courses per search. Add more keywords, or narrow a search with filters (one search per language or level, for example), for more. **Max courses per search** applies to each keyword, topic and search link.

#### Which prices do I get?

The price a visitor in the United States sees, in US dollars, including any sale running at that moment. Udemy changes prices often, so the same course can show a different price a day later.

#### Can I get the reviews too?

Use [Udemy Scraper](https://apify.com/automly/udemy-scraper), which saves courses and their reviews in one run.

#### Why did a keyword or link return nothing?

Udemy has no course for that search with your filters, or the course link no longer exists. It is listed in the run report under `notFound`, not charged, and the run still finishes successfully.

#### Which Udemy links can I paste?

Topic links (`https://www.udemy.com/topic/...`, searched by the topic's name), search links (`https://www.udemy.com/courses/search/?q=...`, with any filters and sort) and course links (`https://www.udemy.com/course/...`, any page of the course). Category and instructor pages are not supported yet: search their name as a keyword instead.

#### Can I connect Udemy Course Scraper to other tools?

Yes. Start runs and download results with the Apify API or the Python and JavaScript clients, send results to Make, Zapier, n8n, Google Sheets or Slack with Apify integrations and webhooks, or let agents run it through the Apify MCP server at [mcp.apify.com](https://mcp.apify.com).

#### Is it legal to scrape Udemy?

This scraper only collects public course information that Udemy shows to everyone. Instructor names are public but can still be personal data protected by laws such as GDPR, so only use them for a legitimate reason and ask a lawyer if you are unsure. You can read more in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

Udemy Course Scraper is an independent tool. It is not affiliated with, endorsed by or sponsored by Udemy.

#### Something isn't working?

Open the **Issues** tab and tell us your input and what you expected. We read every issue and usually reply within a day.

### ⭐ Your feedback

Have an idea or found a problem? Tell us on the **Issues** tab. If Udemy Course Scraper saved you time, a short review on the **Reviews** tab helps other people find it.

# Actor input Schema

## `searches` (type: `array`):

Words to search Udemy for, e.g. python or excel, one per line. Each keyword gives up to the maximum number of courses below, in the order you pick under Sort by.

## `startUrls` (type: `array`):

Udemy pages, e.g. a topic (https://www.udemy.com/topic/python/), a search with its filters (https://www.udemy.com/courses/search/?q=excel\&lang=fr) or a single course (https://www.udemy.com/course/complete-python-bootcamp/). A topic is searched by its name; a search link keeps its own filters.

## `maxItems` (type: `integer`):

Most courses to take from each keyword, topic or search link, e.g. 100. Udemy lists up to 10,000 per search. Course links are always read.

## `sortBy` (type: `string`):

Order of the courses found for each keyword or topic, e.g. Most reviewed.

## `minRating` (type: `string`):

Only courses rated at least this, e.g. 4.5 & up. Leave empty for any rating.

## `languages` (type: `array`):

Only courses taught in these languages, e.g. English. Leave empty for every language.

## `levels` (type: `array`):

Only courses for these levels, e.g. Beginner. Leave empty for every level.

## `price` (type: `string`):

Only free courses or only paid courses, e.g. Free courses only. Leave empty for both.

## `videoDuration` (type: `array`):

Only courses with this much video, e.g. 1-3 hours. Leave empty for any length.

## Actor input object example

```json
{
  "searches": [
    "python"
  ],
  "maxItems": 20,
  "sortBy": "relevance"
}
```

# Actor output Schema

## `courses` (type: `string`):

No description

## `results` (type: `string`):

No description

## `report` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searches": [
        "python"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/udemy-course-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searches": ["python"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("automly/udemy-course-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searches": [
    "python"
  ],
  "maxItems": 20
}' |
apify call automly/udemy-course-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automly/udemy-course-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9pf4laptvBadJJGru/builds/pIAbelMm13d8aQ5sY/openapi.json
