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

Collect Udemy courses from a keyword, topic, category, instructor or a single course link. Each row has today's USD price, list price, discount, coupon, rating, student count, level, language and instructor, plus the curriculum and written reviews when you ask. JSON or CSV.

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

## Pricing

from $2.00 / 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.

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

Pull a Udemy catalog into a dataset you can sort, filter and hand to a sheet or an agent. Give it a keyword, a topic, a category, an instructor or one course. Each row is one course: the price a US visitor sees today, the list price, the discount, the rating, the student count, the instructor and, when you leave it on, the curriculum.

One row per course. JSON or CSV.

![How it works](https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/how-it-works-udemy.png)

### Why Use This Scraper?

- Start from a keyword, a topic page, a category, an instructor profile or a single course URL. Mix them in one run, up to your row limit.
- Prices are USD, the amount shown to a visitor in the United States, with the list price and the discount beside them.
- Language, level, minimum rating, and free or paid are filters, so a local-language catalog does not come back as English.
- Curriculum (sections and lectures, with lengths) is on by default. Written reviews are off until you set a count.
- A free plan run stays small: 20 courses from the first link or keyword.

### Overview

The dataset is a flat list of courses. A topic such as Python, a category such as Development, or a keyword such as `excel` walks that result list and stops at **Max courses**. An instructor link returns courses that instructor teaches. A course link returns that one course.

Rows include the commercial fields (price, list price, discount, coupon when one is public), the audience fields (rating, rating count, students, level, language) and the content fields (headline, length, lecture count, learning outcomes, badges, captions, instructor). Curriculum and reviews are extra and only appear when you ask.

This does not download lecture video. It does not read anything behind a Udemy login.

### Supported Inputs

| Input | Example | What you get |
|---|---|---|
| Keyword | `excel` | Courses Udemy ranks for that search |
| Topic | `https://www.udemy.com/topic/python/` | Courses on that topic |
| Category | `https://www.udemy.com/courses/development/` | Courses in that category |
| Subcategory | `https://www.udemy.com/courses/development/web-development/` | Courses in that subcategory |
| Instructor | `https://www.udemy.com/user/joseportilla/` | Courses that instructor teaches |
| Course | `https://www.udemy.com/course/complete-python-bootcamp/` | That course |

A search link keeps its keyword and can carry `lang`, level, price and sort, for example `https://www.udemy.com/courses/search/?q=excel&lang=fr`.

Not supported: `business.udemy.com`, a logged-in classroom, or a lecture video file.

### Use Cases

| Who | What they do with the rows |
|---|---|
| Course creators | See price, rating and student count for the courses already ranking on a topic |
| Affiliates | Pull a topic with today's price, discount and a public coupon when Udemy is showing one |
| Training teams | Build a shortlist by language, level and minimum rating |
| Researchers | Compare instructors on the same topic: students, length, last update |
| Agencies | Hand a CSV of a category to a client without clicking through the site |

### How It Works

1. Add a keyword, or paste a topic, category, instructor or course link.
2. Set the maximum, and any language, level, rating or free/paid filter.
3. Leave **Curriculum** on, or turn it off for a faster price-and-stats run. Set **Reviews per course** only if you want the written text.
4. Run. Each course is one dataset row.
5. Export JSON or CSV.

### Input Configuration

| Field | What it does | Default |
|---|---|---|
| Udemy links | Topic, search, category, subcategory, instructor or course URLs | Python topic |
| Keywords | Search box text, one keyword per line | `python programming` |
| Max courses | Stop after this many courses, across every link and keyword | 50 |
| Sort | Relevance, popularity, highest rated, most reviewed, newest. Topic and category pages use popularity, highest rated and newest | Relevance |
| Course languages | Keep these teaching languages | empty (any) |
| Levels | All levels, Beginner, Intermediate, Expert | empty (any) |
| Minimum rating | 4.5, 4.0, 3.5 or 3.0 and up | empty |
| Free or paid | Only free, only paid, or both | empty (both) |
| Curriculum | Add sections and lectures with their lengths | on |
| Reviews per course | Newest written reviews. 0 leaves them out. Maximum 100 | 0 |

Keyword search, 20 Excel courses, curriculum on, no reviews:

```json
{
  "searches": ["excel"],
  "startUrls": [],
  "maxItems": 20,
  "includeCurriculum": true,
  "maxReviewsPerCourse": 0
}
```

French courses only, from a topic, without the curriculum:

```json
{
  "startUrls": [{ "url": "https://www.udemy.com/topic/python/" }],
  "languages": ["fr"],
  "includeCurriculum": false,
  "maxItems": 50
}
```

One instructor, with 10 reviews on each course:

```json
{
  "startUrls": [{ "url": "https://www.udemy.com/user/joseportilla/" }],
  "maxReviewsPerCourse": 10,
  "maxItems": 30
}
```

A free plan run uses the first link or keyword only, and at most 20 courses.

### Output Overview

One object per course. `price` and `listPrice` are numbers in `currency` (USD). `discountPercent` is 0 when the two prices match. `couponCode` is null when no public coupon is attached. `curriculum` is present only when **Curriculum** is on. `reviews` is present only when **Reviews per course** is above 0.

`category` is filled from topic and category pages. A keyword search often leaves it empty.

### Output Samples

From `https://www.udemy.com/courses/development/web-development/`, curriculum off. Prices were the USD amounts returned for a US visitor on 15 Nov 2026.

```json
{
  "id": "1565838",
  "title": "The Complete Full-Stack Web Development Bootcamp",
  "url": "https://www.udemy.com/course/the-complete-web-development-bootcamp/",
  "headline": "Become a Full-Stack Web Developer with just ONE course. HTML, CSS, Javascript, Node, React, PostgreSQL, Web3 and DApps",
  "language": "English",
  "languageCode": "en",
  "level": "All levels",
  "rating": 4.6746883,
  "ratingCount": 476167,
  "students": 1597076,
  "isFree": false,
  "price": 124.99,
  "listPrice": 124.99,
  "currency": "USD",
  "discountPercent": 0,
  "couponCode": null,
  "contentLength": "62 hours",
  "lectureCount": 374,
  "lastUpdated": "2025-11-24",
  "category": "Development",
  "badges": ["Bestseller"],
  "learningOutcomes": [
    "Build 16 web development projects for your portfolio, ready to apply for junior developer jobs."
  ],
  "instructors": [
    {
      "id": "31334738",
      "name": "Dr. Angela Yu, Developer and Lead Instructor",
      "url": "https://www.udemy.com/user/4b4368a3-b5c8-4529-aa65-2056ec31f37e/",
      "jobTitle": "Developer and Lead Instructor"
    }
  ]
}
```

When curriculum is on, the same row also has `curriculum`: an array of `{ title, duration, items: [{ title, duration, type }] }`. When reviews are on, `reviews` is `{ rating, text, createdAt, author }`.

### Key Output Fields

**Identity.** `id`, `title`, `url`, `headline`, `imageUrl`.

**Price.** `price`, `listPrice`, `currency`, `discountPercent`, `couponCode`, `isFree`.

**Audience.** `rating`, `ratingCount`, `students`, `level`, `language`, `languageCode`.

**Content.** `contentLength`, `lectureCount`, `lastUpdated`, `publishedAt`, `badges`, `captionLanguages`, `learningOutcomes`, `category`, `subcategory`.

**People.** `instructors` (`id`, `name`, `url`, `jobTitle`).

**Optional.** `curriculum`, `reviews`.

### FAQ

**Are the prices in USD?**
Yes. `price` is the amount shown to a visitor in the United States, not a converted local price.

**Why is the coupon empty?**
`couponCode` is set only when the course is showing a public coupon. Most rows have none.

**Does a topic return every course on that topic?**
It walks the list until **Max courses**. Python has thousands of courses. Set the maximum to the slice you want.

**What is left out?**
Lecture video, quizzes you can take, anything behind a login, and Udemy Business (`business.udemy.com`).

**Why did a free run return one keyword's courses?**
A free plan run keeps the first link or keyword and caps the rows at 20.

### Support

Open a ticket on the [Issues tab](https://apify.com/memo23/udemy-course-scraper/issues) with the run id and the input you used.

### Additional Services

Need a standing feed of one topic, a join against your own course list, or a different price country? Ask via the Issues tab.

### Explore More Scrapers

More actors from the same developer: [memo23 on Apify](https://apify.com/memo23).

### 🤖 For AI Agents & LLM Apps

- **Purpose:** one Udemy course per row, with USD price, rating, students and instructor. Curriculum if `includeCurriculum` is true. Reviews if `maxReviewsPerCourse` is above 0.
- **Minimal input:** `{ "searches": ["excel"], "maxItems": 10, "includeCurriculum": false }`
- **Flat fields:** `id`, `title`, `url`, `headline`, `language`, `languageCode`, `level`, `rating`, `ratingCount`, `students`, `isFree`, `price`, `listPrice`, `currency`, `discountPercent`, `couponCode`, `contentLength`, `lectureCount`, `lastUpdated`, `category`, `badges`, `instructors`.
- **Billing:** one result charge per course row. A start fee applies. Rows past the run's charge limit are not returned.
- **Do not expect:** video files, a coupon on every row, or `category` on a keyword search.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Udemy, Inc. or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

The scraper accesses only publicly available course pages — no authenticated endpoints, paid features, or content behind the udemy.com login wall. Users are responsible for ensuring their use complies with udemy.com's Terms of Service, applicable data-protection law (GDPR, CCPA, etc.), and any contractual obligations of their own organization.

### SEO Keywords

udemy scraper, udemy course scraper, udemy api, udemy courses api, udemy data, scrape udemy courses, udemy price scraper, udemy course list, udemy topic courses, udemy category courses, udemy instructor courses, udemy course reviews, udemy curriculum, udemy ratings, udemy students, online course catalog, course price tracking, course market research, training catalog export, affiliate course list, competitor course analysis, elearning dataset, language course list, beginner course list

# Actor input Schema

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

Paste a topic (https://www.udemy.com/topic/python/), a search with its filters (https://www.udemy.com/courses/search/?q=excel\&lang=fr), a category, an instructor (https://www.udemy.com/user/joseportilla/) or a single course. A topic or a search walks the result list. An instructor link returns the courses they teach.

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

Search Udemy the way its search box does, for example python programming or excel. Each keyword returns the courses Udemy ranks, up to your maximum.

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

How many courses to return in total, across every link and keyword. Courses past the limit are not returned.

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

How Udemy should order a search. Topic and category pages use Popularity, Highest rated and Newest. Most reviewed applies to keyword search.

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

Keep courses taught in these languages. English is most of the catalog, so this is the direct way to a local market.

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

Keep courses of these levels. All levels is its own level on Udemy.

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

Keep courses rated at least this many stars.

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

Keep only free courses or only paid courses. Leave empty for both.

## `includeCurriculum` (type: `boolean`):

Add each section and lecture, with its length. Turn off for a faster price-and-stats run.

## `maxReviewsPerCourse` (type: `integer`):

Add the newest written reviews: text, stars, date and reviewer. 0 keeps them off.

## `proxy` (type: `object`):

Connection used for the run.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.udemy.com/topic/python/"
    }
  ],
  "searches": [
    "python programming"
  ],
  "maxItems": 50,
  "sortBy": "relevance",
  "includeCurriculum": true,
  "maxReviewsPerCourse": 0,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per course, with price, rating, students, instructor and curriculum when requested.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.udemy.com/topic/python/"
        }
    ],
    "searches": [
        "python programming"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/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 = {
    "startUrls": [{ "url": "https://www.udemy.com/topic/python/" }],
    "searches": ["python programming"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("memo23/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 '{
  "startUrls": [
    {
      "url": "https://www.udemy.com/topic/python/"
    }
  ],
  "searches": [
    "python programming"
  ],
  "maxItems": 50
}' |
apify call memo23/udemy-course-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/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/MqqSM7HGx54jQ9r3N/builds/VY0fr3eb1iwggAwje/openapi.json
