# Udemy Course Reviews Scraper (`powerai/udemy-course-reviews-scraper`) Actor

Scrape course reviews from Udemy by providing a course URL, with automatic pagination and comprehensive review data extraction.

- **URL**: https://apify.com/powerai/udemy-course-reviews-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Other, Lead generation, Integrations
- **Features:** Limited permissions
- **Stats:** 6 total users, 0 monthly users, 93.1% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Reviews Scraper

This actor allows you to scrape course reviews from Udemy.com by providing a course URL. It automatically opens the reviews modal, handles pagination, and extracts comprehensive review information including ratings, reviewer details, and review content.

### Features

- **URL-based Scraping:** Extract reviews by providing a complete Udemy course URL
- **Automatic Pagination:** Automatically loads more reviews until reaching the end or max items limit
- **Comprehensive Review Data:** Extract detailed information about each review including:
  - Reviewer name and initials
  - Star ratings (1-5)
  - Review text content (both plain text and HTML)
  - Time since review was posted
  - Report availability status
- **Smart Deduplication:** Automatically removes duplicate reviews based on reviewer names

### Input Parameters

| Field      | Type    | Required | Description                                    |
|------------|---------|----------|------------------------------------------------|
| `courseUrl`| string  | Yes      | Complete Udemy course URL to scrape reviews from |
| `maxItems` | integer | No       | Maximum number of reviews to fetch (default: unlimited) |
| `proxyConfiguration` | object | No | Proxy settings for the actor |

#### How to Get Course URL

1. Go to [Udemy.com](https://www.udemy.com)
2. Navigate to any course page
3. Copy the complete URL from your browser's address bar
4. Paste it into the `courseUrl` field

Example course URL:

```
https://www.udemy.com/course/the-ai-engineer-course-complete-ai-engineer-bootcamp/
```

### Output

The output is a dataset of review objects, each containing:

- `courseUrl`: The original course URL used
- `reviewer`: Name of the reviewer
- `reviewerInitials`: Initials of the reviewer (for avatar display)
- `rating`: Star rating (1.0 to 5.0)
- `timeAgo`: Time since review was posted (e.g., "a week ago")
- `reviewText`: Plain text content of the review
- `reviewHtml`: HTML content of the review
- `canReport`: Whether the review can be reported
- `scrapedAt`: Timestamp of when the review was scraped

Example output:

```json
[
  {
    "courseUrl": "https://www.udemy.com/course/the-ai-engineer-course-complete-ai-engineer-bootcamp/?couponCode=MT251110G1",
    "reviewer": "Stanley A. M. O.",
    "reviewerInitials": "SO",
    "rating": 5,
    "timeAgo": "a week ago",
    "reviewText": "This is an excellent and insightful course on AI. It really broadened my understanding of the subject and gave me practical skills I can apply right away.",
    "reviewHtml": "<div tabindex=\"-1\"><p>This is an excellent and insightful course on AI. It really broadened my understanding of the subject and gave me practical skills I can apply right away.</p></div>",
    "canReport": true,
    "scrapedAt": "2025-11-12T03:18:58.518Z"
  },
  ...
]
```

### Use Cases

- Course quality analysis and sentiment analysis
- Instructor feedback collection
- Market research for course creators
- Competitive analysis of course reviews
- Review monitoring and tracking
- Customer satisfaction research
- Content improvement insights

### Notes

- The actor automatically opens the reviews modal on the course page
- Results are saved incrementally as they are found
- All timestamps are in ISO 8601 format
- The actor handles network delays and timeouts gracefully
- Reviews are deduplicated based on reviewer names
- HTML content preserves formatting for rich text reviews

### Limitations

- Requires a valid Udemy course URL
- Cannot scrape reviews from private or restricted courses
- Rate limiting may apply if scraping very large datasets
- Some reviews may require login to view (not handled by this actor)

***

**Start scraping course reviews from Udemy today!**

# Actor input Schema

## `courseUrl` (type: `string`):

The complete Udemy course URL to scrape reviews from

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

Maximum number of reviews to fetch

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

Proxy settings for the actor

## Actor input object example

```json
{
  "courseUrl": "https://www.udemy.com/course/the-ai-engineer-course-complete-ai-engineer-bootcamp/",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/udemy-course-reviews-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("powerai/udemy-course-reviews-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 '{}' |
apify call powerai/udemy-course-reviews-scraper --silent --output-dataset

```

## MCP server setup

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