# Udemy Course Search Scraper (`bigibyte/udemy-course-search-scraper`) Actor

Search Udemy courses by keyword for catalog monitoring and L\&D research, collecting titles, instructors, ratings, durations, levels, and links. Run the actor and download your structured results as JSON, CSV, or Excel.

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

## Pricing

from $2.99 / 1,000 results

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

![Udemy Course Search Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/udemy-course-search-scraper-cover-v2.png)

Find Udemy courses by keyword and collect structured course information for catalog monitoring, training research, and learning and development analysis. Export your results to JSON, CSV, or Excel for further analysis and reporting.

### What This Actor Does

The Udemy Course Search Scraper searches the publicly available course catalog using your chosen keywords. It collects course details and saves each result as a structured dataset record.

The actor continues through the available search results until it reaches your `maxItems` limit.

### What Data Does This Actor Extract?

| Field | Description |
|---|---|
| `id` | Unique course identifier |
| `courseTitle` | Course title |
| `headline` | Short course headline |
| `url` | Course landing page URL |
| `isFree` | Indicates whether the course is free |
| `durationInSeconds` | Course duration in seconds |
| `level` | Course difficulty level |
| `ratingAvg` | Average course rating |
| `ratingCount` | Number of course ratings |
| `instructors` | Course instructor information |
| `scrapedAt` | Timestamp indicating when the record was collected |

### Use Cases

- **Course market research:** Explore courses available for specific topics and keywords.
- **Catalog monitoring:** Track course listings through scheduled runs.
- **Learning and development research:** Compare course topics, levels, ratings, and instructors.
- **Competitor research:** Monitor course offerings across different subject areas.
- **Data analysis:** Export structured results to spreadsheets and dashboards.
- **Workflow automation:** Send collected course information to reporting and monitoring workflows.

### How to Run

1. Open the actor and enter your course search keywords.
2. Set `pageSize` to control the number of results requested per page.
3. Set `maxItems` to define how many course records to collect.
4. Start the actor.
5. Export the resulting dataset as JSON, CSV, or Excel.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `searchQuery` | String | `python` | Keywords used to search for courses |
| `pageSize` | Integer | `12` | Number of results requested per page. Maximum: 48 |
| `maxItems` | Integer | `3` | Maximum number of records to save per run. Hard limit: 1000 |
| `requestTimeoutSecs` | Integer | `30` | Maximum time allowed for an individual request, in seconds |

#### Example Input

```json
{
  "searchQuery": "python",
  "pageSize": 12,
  "maxItems": 50,
  "requestTimeoutSecs": 30
}
```

### Usage and Limits

- Each run collects up to the configured `maxItems` value, with a hard maximum of 1000 records.
- `pageSize` controls the number of results requested per page and cannot exceed 48.
- The number of available courses depends on the search keyword and the catalog results.
- If a page fails during a run, previously saved records remain in the dataset.
- For recurring monitoring, use Apify Schedules to run the actor automatically.

### Frequently Asked Questions

**How many courses can one run collect?**

You can collect up to 1000 course records per run. The actual number depends on the availability of matching search results.

**What happens if a page fails during a run?**

Previously collected records remain saved in the dataset. The run stops with the results collected before the failure.

**Can I search for different course topics?**

Yes. Change the `searchQuery` value to search for different subjects, skills, or course topics.

**Can I schedule automatic searches?**

Yes. You can use Apify Schedules to run the actor periodically and connect the resulting datasets to tools such as Google Sheets, Make, Zapier, or n8n.

### Related Tools

Explore more BigiByte tools for collecting and researching online information:

- **Microsoft Store Apps Scraper** – Collect application listings and product information.
- **Gumroad Discover Products Scraper** – Discover products and explore creator offerings.
- **Futurepedia AI Tools Directory Scraper** – Find AI tools through keyword-based searches.
- **Activepieces Integrations (Pieces) Scraper** – Explore available workflow integrations.

Need a scraper for another platform, a custom dataset, or a tailored data collection workflow? BigiByte builds custom web scrapers and data extraction solutions to support your business and research needs.

Visit [BigiByte](https://bigibyte.com) to explore our services.

### Trademark Notice

Udemy is a trademark of its respective owner. This actor is an independent tool and is not affiliated with, endorsed by, or officially associated with Udemy.

### Disclaimer

This actor collects publicly accessible course listing information. It does not provide access to restricted course materials or paid learning content. Users are responsible for ensuring that their collection and use of data comply with applicable laws and the source platform's terms.

### Is Web Scraping Legal?

This actor extracts publicly accessible information without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal Data:** Follow applicable privacy regulations, including GDPR and CCPA, when collecting or processing personal information.
- **Copyrighted Content:** Respect intellectual property rights when storing, sharing, or republishing course descriptions and other copyrighted material.
- **Platform Terms and Rate Limits:** Review the source platform's terms and avoid excessive requests that could disrupt its services.

This information is provided for general guidance only and does not constitute legal advice. Consult a qualified legal professional if you need advice about a specific use case.

For more information, read Apify's guide: [Is Web Scraping Legal?](https://blog.apify.com/is-web-scraping-legal/)

![Udemy Course Search Scraper CTA](https://images.bigibyte.com/cdn-cgi/image/width=840,height=360,fit=cover,format=webp/apify-actors-covers/udemy-course-search-scraper-cta-v2.png)

# Actor input Schema

## `searchQuery` (type: `string`):

Course search keywords, for example python.

## `pageSize` (type: `integer`):

Results per page (max 48).

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

Maximum rows to save per run. Default 3 keeps test runs cheap.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## Actor input object example

```json
{
  "searchQuery": "python",
  "pageSize": 12,
  "maxItems": 3,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

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

No description

## `overview` (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 = {
    "searchQuery": "python"
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/udemy-course-search-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/OycJYRhcvfigDZzI2/builds/3BlB954QqpeIZ7I1I/openapi.json
