# Coursera Scraper - Course Catalog (`scrapewise/coursera-catalog-scraper`) Actor

Scrape coursera.org course catalog search: courses, specializations and certificates with rating, difficulty, duration, skills and free or paid filters, from any search term. No login. One charge per course delivered; errors are free.

- **URL**: https://apify.com/scrapewise/coursera-catalog-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.76 / 1,000 course delivereds

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

## Coursera Scraper

Scrape coursera.org course catalog search: courses, specializations, professional certificates, guided projects and degrees for any search term. Each row gives the title, link, product type, difficulty level, length, rating and rating count, whether the course is free or part of Coursera Plus, the skills it lists and the card image. Filter by cost, product type, difficulty and language, and export the table to Excel, CSV or JSON.

It is useful for building a course directory, tracking which topics have the most learner ratings, comparing free and paid options by level, feeding a learning-path newsletter, or checking how a skill such as Python, data analysis or cloud security is taught on Coursera.

### At a glance

| | |
|---|---|
| **Price** | US$ 1.00 per 1,000 courses delivered on the Free plan, lower on paid plans, plus US$ 0.001 per run |
| **You pay for** | Each unique course delivered. Error rows, duplicates and courses already delivered before a platform restart are free |
| **Login** | None. Only public search results are read |
| **Filters** | Search term, cost (free or paid), product type, difficulty level, language |
| **Speed** | About 30 courses in under a minute on a normal connection |
| **Export** | Table, JSON, CSV, Excel, HTML, or by API |

### Quick start

1. Keep the defaults. The example search is `python` in English, 20 courses.
2. Or type your own search terms, one per line, in **Search terms**. Each term runs as its own search.
3. Press **Start** and open the **Overview** table when the run ends.

The same run through the API input:

```json
{
  "searchQuery": ["python"],
  "language": "English",
  "cost": "Any",
  "difficulty": ["Beginner"],
  "maxItems": 20
}
```

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchQuery` | list of strings | `["python"]` | Search terms, one per line. Each term runs a separate search on coursera.org |
| `startUrls` | list of links | empty | Optional coursera.org search links such as `https://www.coursera.org/search?query=python`. Filters in the link are kept |
| `cost` | string | `Any` | `Any`, `Free` or `Paid` |
| `productType` | string | `Any` | `Any`, `Courses`, `Specializations`, `Professional Certificates`, `Guided Projects`, `Projects` or `Degrees` |
| `difficulty` | list | empty | Any of `Beginner`, `Intermediate`, `Advanced`, `Mixed`. Several levels are added together. Empty means all levels |
| `language` | string | `English` | Language name as the site lists it, for example `Spanish` or `Portuguese`. Empty means all languages |
| `maxItems` | integer | `50` | Most courses delivered across all searches in one run. `0` means no limit |
| `proxyConfiguration` | object | Apify proxy | Connection for the run. The default works for most users |

Filters are applied by coursera.org itself, so `maxItems` counts only courses that match. On a test run, `python` with no filters returned 2,222 matches across 186 pages of 12 courses, and English alone returned 2,095.

### Output

Each course row has these fields:

| Field | Type | Meaning |
|---|---|---|
| `type` | string | `course` for a delivered course, `error` for a free error row |
| `courseId` | string | The id coursera.org uses for the product |
| `name` | string | Title as the site shows it |
| `url` | string | Link to the course page |
| `productType` | string | Course, Specialization, Professional Certificate, Guided Project, Project or Degree |
| `difficulty` | string | Beginner, Intermediate, Advanced or Mixed |
| `duration` | string | Length in words, such as `one to three months` |
| `isFree` | boolean | True when the course has no fee to enroll |
| `inCourseraPlus` | boolean | True when the course is included in Coursera Plus |
| `rating` | number | Average learner rating from 0 to 5 |
| `ratingCount` | integer | Number of learner ratings |
| `skills` | list | Skills the course lists |
| `imageUrl` | string | Image of the course card |
| `sourceQuery` | string | The search term or link the course came from |
| `scrapedAt` | string | UTC time the row was saved |
| `errorCode` | string | Error code, empty for courses |
| `error` | string | Error message, empty for courses |

The Overview view shows name, product type, difficulty, duration, rating, rating count, free flag and link.

### Example output

This row comes from a real run with the search term `javascript` and no filters:

```json
{
  "type": "course",
  "courseId": "course~GQeOaISkEeqzpxI5q0qHcw",
  "name": "Compose and Program Music in Python using Earsketch",
  "url": "https://www.coursera.org/projects/compose-program-music-in-python-using-earsketch",
  "productType": "Guided Project",
  "difficulty": "Beginner",
  "duration": "less than two hours",
  "isFree": true,
  "inCourseraPlus": true,
  "rating": 4.46,
  "ratingCount": 459,
  "skills": [
    "Musical Composition",
    "Music",
    "Computer Programming",
    "Python Programming"
  ],
  "imageUrl": "https://s3.amazonaws.com/coursera-course-photos/26/1b8b461b6b40c28eaecd9288bfa7ce/CS.png",
  "sourceQuery": "python",
  "scrapedAt": "2026-11-03T19:51:47Z"
}
```

### Errors

Error rows are free and appear in the same table with `type` set to `error`:

| errorCode | When |
|---|---|
| `INVALID_INPUT` | A value does not match the list of options, such as an unknown product type or cost. The run stops before any search |
| `INVALID_URL` | The link is not a coursera.org search link, such as a browse page or another site |
| `NO_RESULTS` | The search ran and coursera.org returned no course with these filters. Try fewer filters |
| `BLOCKED` | coursera.org refused every attempt for that search. Run it again in a few minutes |
| `UNEXPECTED` | An internal failure. The run ends with what was already delivered and nothing more is charged |

### Integrations, scheduling and AI agents

- **Schedules:** run it every week on the same search to see new courses as they are published.
- **Export:** download the dataset as Excel, CSV or JSON from the run page, or read it by API.
- **Make, n8n and Zapier:** connect the run to a spreadsheet, a database or a newsletter with the Apify connectors.
- **Apify MCP server:** ask an AI assistant to run the Actor and summarise the results in plain language.
- **Webhooks:** start a job in your own system when a run finishes.

### FAQ

**Does it need a Coursera login?**
No. It reads public search results only.

**Does it return instructors or reviewer names?**
No. The search cards do not show them and the Actor does not collect them. Partner names, such as universities and companies, are also left out.

**Can I get the price of each course?**
The search cards do not show a price, so the Actor does not return one. Free or not free is in `isFree`.

**Why is a field empty on some rows?**
Some courses have no rating yet, so `rating` is empty for them. Fields that the site does not show for a course stay empty instead of being guessed.

**How many courses can I get?**
A broad term such as `python` has more than 2,000 matches, and the search pages through them. Use `maxItems` to set the number you want.

**Are duplicates charged?**
No. A course that appears in two searches in the same run is delivered once.

**What happens if the run restarts?**
Courses already delivered are not delivered or charged again.

**Can I search in another language?**
Yes. Set `language` to the name the site uses, such as `Spanish`, or leave it empty for all languages.

### Limitations

- The output shows what the search card shows. Full course descriptions, syllabus and weekly schedule are not collected.
- A search returns at most the results coursera.org lists for it. Very narrow terms may return few courses.
- Free courses are a small share of most searches. A `Free` filter on a broad term can return only a handful.
- The site can change its search layout. If a field stops appearing, the Actor leaves it empty and the change is noted in the changelog.

### Changelog

**0.1 - 3 Nov 2026**

- First version: search terms and search links, cost, product type, difficulty and language filters, rating, duration, skills and card image.

# Actor input Schema

## `searchQuery` (type: `array`):

Search words, one per line, as you would type them on coursera.org. Each term runs its own search.

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

Optional coursera.org search links, e.g. https://www.coursera.org/search?query=python. Filters in the link are kept.

## `cost` (type: `string`):

Free shows only courses with no fee to enroll; Paid shows the rest of the paid options.

## `productType` (type: `string`):

Limit the results to one kind of product from the site.

## `difficulty` (type: `array`):

Leave empty for all levels. Several levels are added together.

## `language` (type: `string`):

Language name as the site lists it, for example English, Spanish or Portuguese. Leave empty for all languages.

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

Most courses delivered across all searches in one run. 0 means no limit. You pay only for courses delivered.

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

Connection for the run. The default works for most users.

## Actor input object example

```json
{
  "searchQuery": [
    "python"
  ],
  "cost": "Any",
  "productType": "Any",
  "language": "English",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `resultsCsv` (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"
    ],
    "language": "English",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/coursera-catalog-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"],
    "language": "English",
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/coursera-catalog-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"
  ],
  "language": "English",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/coursera-catalog-scraper --silent --output-dataset

```

## MCP server setup

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