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

Search Udemy courses by keyword or link with Udemy's own filters and get title, instructors, rating, students, price, language, level, last update, length, curriculum and reviews.

- **URL**: https://apify.com/automly/udemy-scraper.md
- **Developed by:** [Automly](https://apify.com/automly) (community)
- **Categories:** Education, 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 Scraper

### What is Udemy Scraper?

**Udemy Scraper** lets you **search Udemy courses by keyword and get their details 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**, and it can save each course's **reviews** with the instructor's replies. Add keywords or links, click **Start**, and download the results as Excel, CSV or JSON.

- 🔍 **Search Udemy** by keyword or with any Udemy search link, up to 10,000 courses per search
- 🎯 **Udemy's own filters:** rating, language, level, video length, free or paid, hands-on practice, certification prep
- 📚 **Course details:** students, rating, price, instructors, curriculum and description
- ⭐ **Reviews:** rating, text, reviewer, date and the instructor's reply
- 🔓 **No login:** no Udemy account needed

### What can Udemy Scraper do?

- **Find every course on a topic**: all the courses Udemy lists for a keyword, most relevant, most reviewed, highest rated or newest first
- **Filter like on Udemy**: minimum rating, languages, levels, video length, free or paid courses, quizzes, coding exercises or practice tests
- **Paste a search link** from your browser and keep its filters and sort
- **Read single courses** from their links, with the full description and the curriculum, section by section
- **Collect reviews** of every course found, newest first, with the instructor's replies
- 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?

| | | |
|---|---|---|
| 📘 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) | 💬 Reviews and instructor replies |

### How to scrape Udemy

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open **Udemy Scraper**.
3. Enter **Search keywords** (like `python` or `excel`), or paste **Search or course links** from Udemy.
4. Pick filters if you want them, and turn on **Get reviews** to also save reviews.
5. Click **Start**, then download the results as Excel, CSV, JSON or HTML.

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

You pay per course and per review saved; see the **Pricing** tab for your plan's price. Searches with no result and course links that do not exist cost nothing. **Max courses per search** and **Reviews per course** keep the cost of a run under control, and you can also set a maximum cost per run.

### ⬇️ Input

| Setting | What it does |
|---|---|
| **Search keywords** | Words to search Udemy for, one per line |
| **Search or course links** | Udemy search links (their filters and sort are kept) or course links |
| **Max courses per search** | Most courses taken from each keyword or search link (up to 10,000) |
| **Sort by** | Most relevant, most reviewed, highest rated or newest, for keywords |
| **Minimum rating**, **Languages**, **Levels**, **Video duration**, **Price**, **Hands-on practice**, **Certification prep only** | Udemy's search filters, for keywords |
| **Get reviews**, **Reviews per course** | Each course's reviews, newest first |

The 100 most reviewed beginner Python courses in English:

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

Two courses with their 200 newest reviews each:

```json
{
  "startUrls": [
    "https://www.udemy.com/course/complete-python-bootcamp/",
    "https://www.udemy.com/course/100-days-of-code/"
  ],
  "includeReviews": true,
  "maxReviewsPerCourse": 200
}
```

### ⬆️ Output

Every course and review is one row, with `type` saying which. 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). A review row:

```json
{
  "type": "review",
  "id": 238102663,
  "courseId": 6802469,
  "courseTitle": "Excel Crash Course",
  "courseUrl": "https://www.udemy.com/course/ms-excel-crash-course/",
  "rating": 5.0,
  "text": "I loved this course! I feel like I have learned so much about things that I didn't even know EXCEL could do. The speed of the course was just right, and the homework assignments were so helpful.",
  "reviewerName": "Margaret B.",
  "createdAt": "2026-06-02T15:47:10Z",
  "updatedAt": "2026-06-02T15:48:55Z",
  "instructorResponse": "Thank you Margaret. I am so glad you enjoyed it.",
  "instructorResponseAt": "2026-07-31T09:37:30Z"
}
```

### How can I use Udemy 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
- **Review analysis:** read what learners praise and complain about, and how instructors reply

### Scrape more learning and video data

| Actor | What it gets |
|---|---|
| [YouTube Scraper](https://apify.com/automly/youtube-scraper) | Videos, Shorts and live streams from channels, playlists and searches |
| [YouTube Transcript Scraper](https://apify.com/automly/youtube-transcript-scraper) | Transcripts of YouTube videos |
| [Skool Scraper](https://apify.com/automly/skool-scraper) | Skool communities, posts, comments and members |
| [Reddit Scraper](https://apify.com/automly/reddit-scraper) | Posts, comments and communities from Reddit |

### ❓FAQ

#### 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.

#### 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.

#### How many reviews can I get?

Udemy shows up to 10,000 reviews per course, newest first. Many reviews are a star rating with no text: those come with an empty `text`.

#### 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?

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). Topic, category and instructor pages are not supported yet: search their name as a keyword instead.

# Actor input Schema

## `queries` (type: `array`):

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

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

Udemy links, e.g. https://www.udemy.com/courses/search/?q=excel\&lang=en or https://www.udemy.com/course/complete-python-bootcamp/. A search link keeps its own filters and sort; a course link gives that course with its full description and curriculum.

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

Most courses to take from each keyword 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, e.g. Most reviewed.

## `rating` (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.

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

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

## `price` (type: `array`):

Paid courses, free courses or both, e.g. Free. Leave empty for both.

## `handsOnPractice` (type: `array`):

Only courses that include all of these, e.g. Coding exercises.

## `certificationPrepOnly` (type: `boolean`):

Only courses that prepare for a certification exam.

## `includeReviews` (type: `boolean`):

Also save each course's reviews, newest first, as review rows: rating, text, reviewer, date and the instructor's reply.

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

Most reviews to save for each course, e.g. 100. Udemy shows up to 10,000 per course.

## `proxyConfiguration` (type: `object`):

The default works for most runs.

## Actor input object example

```json
{
  "queries": [
    "python"
  ],
  "startUrls": [
    "https://www.udemy.com/course/complete-python-bootcamp/"
  ],
  "maxItems": 20,
  "sortBy": "relevance",
  "certificationPrepOnly": false,
  "includeReviews": false,
  "maxReviewsPerCourse": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `reviews` (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 = {
    "queries": [
        "python"
    ],
    "startUrls": [
        "https://www.udemy.com/course/complete-python-bootcamp/"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/udemy-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 = {
    "queries": ["python"],
    "startUrls": ["https://www.udemy.com/course/complete-python-bootcamp/"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automly/udemy-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 '{
  "queries": [
    "python"
  ],
  "startUrls": [
    "https://www.udemy.com/course/complete-python-bootcamp/"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automly/udemy-scraper --silent --output-dataset

```

## MCP server setup

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