# Udemy Courses Scraper – Prices, Ratings, Students & Syllabus (`4denov/udemy-courses`) Actor

Udemy courses by keyword or URL: price & list price, rating, reviews, students, level, language, hours, update date, topics, what you learn, requirements. Filters & 10,000 per keyword. $1 / 1,000.

- **URL**: https://apify.com/4denov/udemy-courses.md
- **Developed by:** [Emanuel Forlin](https://apify.com/4denov) (community)
- **Categories:** Education, Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 83.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.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 Courses Scraper – Prices, Ratings, Students & Syllabus

Extract **Udemy courses** by keyword or URL: **title, instructors, rating, number of reviews, number of students, current price and list price, level, language, total hours, publish and last-update dates, category, topics, badges (Bestseller…), subtitle languages, what you'll learn, requirements, target audience and full description**.

Filter by **language, level, free/paid, minimum rating, subtitles, coding exercises and practice tests**, and sort by relevance, most reviewed, highest rated or newest. Up to **10,000 courses per keyword**.

### Why this actor

- ✅ **$1.00 per 1,000 courses** — half the price of the usual $2–3
- ✅ **Rich records** — students, reviews, rating, sale & list price, hours, update date, topics, badges, what you'll learn, requirements, audience, description
- ✅ **Real filters** — language, level, free/paid, minimum rating, subtitles, coding exercises, practice tests; 4 sort orders
- ✅ **10,000 courses per keyword**, de-duplicated across pages
- ✅ **Keyword search or course URLs** in the same run

### What can you use it for?

- **Course creators** — find gaps: topics with many students but few recent, highly rated courses.
- **Market & pricing research** — list vs. sale prices, ratings and enrollments by topic and language.
- **EdTech & affiliate catalogs** — keep a fresh catalog of courses with images, prices and syllabus points.
- **Instructor and competitor tracking** — follow rating, reviews and student counts over time on a schedule.

### What data do you get?

| Field | Example |
|---|---|
| `title` | Python for Data Analysis & Visualization |
| `instructors` | Malvik Vaghadia, Pathfinder Analytics |
| `rating` · `reviewsCount` · `students` | 4.51 · 4588 · 53593 |
| `price` · `listPrice` · `currency` | 9.99 · 89.99 · USD |
| `level` · `language` · `durationHours` | ALL_LEVELS · en-US · 10.1 |
| `publishedOn` · `updatedOn` | 2022-02-09 · 2026-06-14 |
| `category` · `topics` | Development · Pandas, Matplotlib, Seaborn, Python |
| `badges` | e.g. Bestseller |
| `learningOutcomes` · `prerequisites` · `targetAudience` | Lists from the course page |
| `description` | Full course description as plain text |
| `captionLanguages` | Subtitle languages, e.g. en-US, es-ES, pt-BR |
| `image` · `url` | Course image · https://www.udemy.com/course/python-for-data-analysis-visualization |
| `searchQuery` · `position` | data science · 1000 |

Prices are the ones shown to US visitors, in USD, at the moment of the run (Udemy runs frequent sales).

### How to use it

1. Add one or more **search keywords** (or paste **course URLs**).
2. Optionally set filters (language, level, free/paid, minimum rating…) and the sort order.
3. Click **Start**. Export JSON, CSV or Excel, or use the API, Make, Zapier, n8n or Google Sheets.

### Input example

```json
{
  "searchQueries": ["python", "excel", "power bi"],
  "maxItemsPerQuery": 1000,
  "sortBy": "reviews",
  "language": ["en", "es"],
  "minRating": "4"
}
```

### Pricing

Pay only for courses delivered — **$1.00 per 1,000**, no platform or proxy fees on top.

| You get | You pay |
|---|---|
| 100 courses | $0.10 |
| 1,000 courses | $1.00 |
| 10,000 courses | $10.00 |
| 100,000 courses | $100.00 |

Set a **maximum cost per run** in the run options and the actor stops exactly there. New Apify accounts get free monthly credits — enough to try it at no cost.

### FAQ

**How many courses can I get per keyword?** Udemy shows up to 10,000 results per search. Use several keywords or filters (language, level) to cover more.

**Why does the order differ slightly from the website?** Udemy personalises and reshuffles relevance results; the actor removes duplicates across pages so every course appears once.

**Is it legal?** It collects publicly available course information without logging in. You are responsible for how you use the data.

**Found a bug or need a field?** Open an issue on the actor page — we reply within 24 hours.

### Use it from code

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("4denov/udemy-courses").call(run_input={"searchQueries": ["python", "excel"], "maxItemsPerQuery": 1000, "sortBy": "reviews", "language": ["en"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript**

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

const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const run = await client.actor("4denov/udemy-courses").call({"searchQueries": ["python", "excel"], "maxItemsPerQuery": 1000, "sortBy": "reviews", "language": ["en"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**cURL** (runs and returns the results in one call)

```bash
curl -X POST "https://api.apify.com/v2/acts/4denov~udemy-courses/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H 'Content-Type: application/json' -d '{"searchQueries": ["python", "excel"], "maxItemsPerQuery": 1000, "sortBy": "reviews", "language": ["en"]}'
```

No code? Connect it to **Google Sheets, Make, Zapier, n8n, Slack** or webhooks from the Integrations tab.

### More data actors from the same developer

- [Reclame Aqui Scraper – Complaints & Reputation Monitor](https://apify.com/4denov/reclame-aqui-complaints) — complaints + company reputation (Brazil)
- [Zap Imóveis & VivaReal Scraper – Brazil Real Estate](https://apify.com/4denov/zap-vivareal-listings) — Zap Imóveis + VivaReal property listings (Brazil)
- [Computrabajo Scraper – LatAm Jobs in 19 Countries](https://apify.com/4denov/computrabajo-jobs) — job offers in 19 Latin American countries
- [Gupy Jobs Scraper – Brazil Openings with Full Descriptions](https://apify.com/4denov/gupy-jobs) — Gupy job openings (Brazil)
- [Fincaraiz & InfoCasas Scraper – CO, UY, PY, BO Real Estate](https://apify.com/4denov/fincaraiz-infocasas-listings) — property listings in Colombia, Uruguay, Paraguay and Bolivia
- [Seek Jobs Scraper – Australia & New Zealand](https://apify.com/4denov/seek-jobs) — SEEK job ads (Australia & New Zealand)
- [Eventbrite Events Scraper – Prices, Organizers & Venues](https://apify.com/4denov/eventbrite-events) — Eventbrite events with ticket prices and organizers (any country)
- [Twitch Scraper – Live Streams, Channels & Categories](https://apify.com/4denov/twitch-streams-channels) — Twitch live streams, channels and categories
- [Craigslist Scraper – Listings with Price, Location & Photos](https://apify.com/4denov/craigslist-listings) — Craigslist listings in any city and category
- [Zonaprop Scraper – Argentina Real Estate Listings & Prices](https://apify.com/4denov/zonaprop-listings) — Argentina real estate listings from Zonaprop

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords to search on Udemy, e.g. "python", "excel", "react native". Up to 10,000 courses per keyword.

## `courseUrls` (type: `array`):

Udemy course URLs (https://www.udemy.com/course/...) or numeric course IDs to get one record each.

## `maxItemsPerQuery` (type: `integer`):

Udemy shows up to 10,000 results per search. You pay only for courses delivered.

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

Order of search results.

## `language` (type: `array`):

Only courses taught in these languages (2-letter codes). Leave empty for all.

## `level` (type: `array`):

Only courses for these levels. Leave empty for all.

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

Free courses, paid courses, or both.

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

Only courses rated at least this much.

## `withClosedCaptions` (type: `boolean`):

Only courses with closed captions.

## `withCodingExercises` (type: `boolean`):

Only courses with coding exercises.

## `withPracticeTests` (type: `boolean`):

Only courses with practice tests.

## `includePrices` (type: `boolean`):

Add the current sale price and list price (in USD, as shown to US visitors) to each course.

## Actor input object example

```json
{
  "searchQueries": [
    "python"
  ],
  "maxItemsPerQuery": 20,
  "sortBy": "relevance",
  "price": "all",
  "minRating": "",
  "withClosedCaptions": false,
  "withCodingExercises": false,
  "withPracticeTests": false,
  "includePrices": true
}
```

# Actor output Schema

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

No description

## `runReport` (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 = {
    "searchQueries": [
        "python"
    ],
    "maxItemsPerQuery": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("4denov/udemy-courses").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 = {
    "searchQueries": ["python"],
    "maxItemsPerQuery": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("4denov/udemy-courses").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 '{
  "searchQueries": [
    "python"
  ],
  "maxItemsPerQuery": 20
}' |
apify call 4denov/udemy-courses --silent --output-dataset

```

## MCP server setup

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

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/BRoTKQ2AG41cODg2e/builds/KNKAiHdp4wTF1bUL5/openapi.json
