# LinkedIn Learning Courses Scraper (`w3crawler/linkedin-learning-courses-scraper`) Actor

Extract source-linked course metadata from public LinkedIn Learning search and course pages, with explicit diagnostics when public access is unavailable.

- **URL**: https://apify.com/w3crawler/linkedin-learning-courses-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (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 courses

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

## LinkedIn Learning Courses Scraper

Extract source-linked course metadata from public LinkedIn Learning search and course pages. The Actor reads public search results, follows the course pages those results expose, and returns course identity, description, provider, language, level, skills, topics, instructors, duration, release dates, viewer and rating counts, sample reviews, lesson counts, sample lessons, certificate details, and listing provenance. It uses lightweight HTTP requests and does not sign in.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/linkedin-learning-courses-scraper) and select **Try for free** or open the **Input** tab.
2. Supply one or more public LinkedIn Learning search URLs in `startUrls`. The default searches for `javascript`.
3. Set `maxItems` for the result cap and `maxPages` for how many supplied search URLs are processed. Pagination is not supported.
4. Start the Actor, open the dataset, and export the courses as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check the outcome and counts.

### Input

`startUrls` is required and has a ready-to-use default. The other fields are optional, and the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `startUrls` | object array | Required | `[{"url":"https://www.linkedin.com/learning/search?keywords=javascript"}]` | Public HTTPS LinkedIn Learning search URLs, 1–100 entries. Login-only, private, and paywalled search pages are not supported. |
| `maxItems` | integer | Optional | `25` | Hard cap on saved course rows, from 1 to 100. |
| `maxPages` | integer | Optional | `1` | Maximum number of supplied search URLs processed, from 1 to 100. This is not a result-page count. |
| `followPagination` | boolean | Optional | `false` | Reserved compatibility option. Pagination is not supported and this value must remain `false`. |
| `requestDelayMs` | integer | Optional | `600` | Delay applied before each public request, from 0 to 30,000 ms. |
| `maxConcurrency` | integer | Optional | `1` | Maximum simultaneous requests, from 1 to 5. |
| `userAgent` | string | Optional | `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/134.0 Safari/537.36` | Consistent browser user-agent string for public requests. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Standard Apify Proxy configuration for responsible access. |

Full default input:

```json
{
  "startUrls": [
    {
      "url": "https://www.linkedin.com/learning/search?keywords=javascript"
    }
  ],
  "maxItems": 25,
  "maxPages": 1,
  "followPagination": false,
  "requestDelayMs": 600,
  "maxConcurrency": 1,
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/134.0 Safari/537.36",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

The Actor reads public LinkedIn Learning pages over HTTP. It does not sign in, bypass CAPTCHAs, or evade access controls. `userAgent`, delays, concurrency, and proxy settings affect routing and pacing only.

### Output

The dataset contains one row per unique public course URL. Optional values are omitted when the public page does not expose them; access and extraction failures stay in `OUTPUT_SUMMARY` and logs.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `id` | string | Always | Stable course identity in `linkedin-learning:{slug}` form. |
| `recordType` | string enum | Always | Row discriminator; always `linkedin-learning-course`. |
| `courseSlug` | string | Always | Course slug used in the public URL. |
| `name` | string | Always | Public course title. |
| `url` | string | Always | Canonical public course URL. |
| `description` | string | When the page exposes a description | Public course description. |
| `imageUrl` | string | When exposed | Public course image URL. |
| `contentType` | string | When exposed | Content type, such as `Course`. |
| `provider` | string | When exposed | Content provider, such as `LinkedIn Learning`. |
| `language` | string | When exposed | Course language code. |
| `skillLevel` | string | When exposed | Skill level, such as `Beginner` or `Advanced`. |
| `skillsTaught` | string array | When exposed | Skills taught by the course. |
| `topics` | object array | When exposed | Topic objects with `name` and `url`. |
| `topicNames` | string array | When exposed | Topic names only. |
| `instructors` | object array | When exposed | Instructor objects with `name`, `headline`, `url`, and `imageUrl` where available. |
| `instructorNames` | string array | When exposed | Instructor names only. |
| `instructorCount` | integer | When exposed | Number of instructors. |
| `duration` | string | When exposed | Display duration, such as `6h 14m 42s`. |
| `durationIso` | string | When exposed | ISO 8601 duration, such as `PT6H14M42S`. |
| `durationSeconds` | integer | When exposed | Total duration in seconds. |
| `releaseDate` | string | When exposed | Public release date. |
| `createdDate` | string | When exposed | Public creation date. |
| `viewerCount` | integer | When exposed | Public viewer count at collection time. |
| `ratingValue` | number | When exposed | Average public rating. |
| `ratingCount` | integer | When exposed | Number of public ratings. |
| `sampleReviews` | object array | When public reviews are exposed | Bounded review samples with `authorName`, `authorHeadline`, `authorUrl`, `rating`, `text`, and `publishedAt` where available. |
| `sampleReviewCount` | integer | When public reviews are exposed | Number of review samples retained. |
| `lessonCount` | integer | When exposed | Total lesson count. |
| `freeLessonCount` | integer | When exposed | Number of lessons marked free. |
| `chapterCount` | integer | When exposed | Number of chapters. |
| `sampleLessons` | object array | When public lessons are exposed | Bounded lesson samples with `name`, `duration`, `durationSeconds`, `url`, `isAccessibleForFree`, and `requiresSubscription` where available. |
| `certificateName` | string | When exposed | Certificate name. |
| `certificateUrl` | string | When exposed | Public certificate-information URL. |
| `offerCategory` | string | When exposed | Offer category, such as `Subscription`. |
| `searchKeywords` | string | Always | Search keywords that produced the course. |
| `listingPosition` | integer | Always | One-based position of the course in the search results. |
| `sourcePage` | string | Always | Search URL requested for the course. |
| `sourcePageFinal` | string | Always | Final search URL after redirects. |
| `sourceUrl` | string | Always | Course URL requested. |
| `finalUrl` | string | Always | Final course URL after redirects. |
| `scrapedAt` | string | Always | Time the row was saved, in ISO UTC. |
| `dataOrigin` | string | Always | Human-readable source boundary. |

The example below is a real saved row from the 2026-10-25 run. `sampleReviews` is shortened to one of three reviews and `sampleLessons` to two of 12 samples; all counts and other fields are complete.

```json
{
  "id": "linkedin-learning:javascript-essential-training",
  "recordType": "linkedin-learning-course",
  "courseSlug": "javascript-essential-training",
  "name": "JavaScript Essential Training",
  "url": "https://www.linkedin.com/learning/javascript-essential-training",
  "description": "Get hands-on experience scripting in JavaScript. Learn how to work with objects, variables, data types, conditionals, functions, loops, the DOM, and more.",
  "imageUrl": "https://media.licdn.com/dms/image/v2/D560DAQEpoG_WHDxd4Q/learning-public-crop_675_1200/learning-public-crop_675_1200/0/1694720796291?e=2147483647&v=beta&t=tB95xLxaoXvwHidL8xjDPJrWoh26qQsRsDAFxdrhFIA",
  "contentType": "Course",
  "provider": "LinkedIn Learning",
  "language": "en",
  "skillLevel": "Beginner",
  "skillsTaught": [
    "JavaScript"
  ],
  "topics": [
    {
      "name": "JavaScript",
      "url": "https://www.linkedin.com/learning/topics/javascript"
    }
  ],
  "topicNames": [
    "JavaScript"
  ],
  "instructors": [
    {
      "name": "Morten Rand-Hendriksen",
      "headline": "Principal Instructor @ LinkedIn teaching the enterprise how to get utility from AI coding agents",
      "url": "https://ca.linkedin.com/in/mortenrandhendriksen",
      "imageUrl": "https://media.licdn.com/dms/image/v2/D5603AQGHZCmAqpWSbA/profile-displayphoto-scale_400_400/B56aAhuBs6KYAg-/0/1787272109673?e=2147483647&v=beta&t=Ec5ZFuZ3tk8jz-vEgifAaXdwRV_iAf20AAtYXvbFM1k"
    }
  ],
  "instructorNames": [
    "Morten Rand-Hendriksen"
  ],
  "instructorCount": 1,
  "duration": "6h 14m 42s",
  "durationIso": "PT6H14M42S",
  "durationSeconds": 22482,
  "releaseDate": "2021-01-20",
  "createdDate": "2021-01-20",
  "viewerCount": 406285,
  "ratingValue": 4.7,
  "ratingCount": 16194,
  "sampleReviews": [
    {
      "authorName": "PREETHI PONVEL",
      "authorHeadline": "Engineer at ESRI India",
      "authorUrl": "https://in.linkedin.com/in/preethiponvel",
      "rating": 5,
      "text": "The content delivered is so clear. Good to learn.",
      "publishedAt": "2026-09-30T05:28:21.411Z"
    }
  ],
  "sampleReviewCount": 3,
  "lessonCount": 87,
  "freeLessonCount": 11,
  "chapterCount": 12,
  "sampleLessons": [
    {
      "name": "JavaScript: The soil from which the modern web grows - Introduction",
      "duration": "PT1M31S",
      "durationSeconds": 91,
      "url": "https://www.linkedin.com/learning/javascript-essential-training/javascript-the-soil-from-which-the-modern-web-grows",
      "isAccessibleForFree": true,
      "requiresSubscription": false
    },
    {
      "name": "How to use the exercise files - Introduction",
      "duration": "PT2M1S",
      "durationSeconds": 121,
      "url": "https://www.linkedin.com/learning/javascript-essential-training/how-to-use-the-exercise-files",
      "isAccessibleForFree": true,
      "requiresSubscription": false
    }
  ],
  "certificateName": "LinkedIn Learning Certificate of Completion",
  "certificateUrl": "https://www.linkedin.com/help/learning/answer/a598944/learning-certificates-of-completion-faqs",
  "offerCategory": "Subscription",
  "searchKeywords": "javascript",
  "listingPosition": 1,
  "sourcePage": "https://www.linkedin.com/learning/search?keywords=javascript",
  "sourcePageFinal": "https://www.linkedin.com/learning/search?keywords=javascript",
  "sourceUrl": "https://www.linkedin.com/learning/javascript-essential-training",
  "finalUrl": "https://www.linkedin.com/learning/javascript-essential-training",
  "scrapedAt": "2026-10-25T20:49:32.497Z",
  "dataOrigin": "LinkedIn Learning public search and course pages"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`.

| Field | Meaning |
| --- | --- |
| `actor` | Actor slug recorded for the run. |
| `status` | Actor process outcome: `SUCCEEDED` or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Completeness of the dataset: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `optionalFailureCount` | Optional failures that did not stop saved courses from being kept. |
| `itemCount` | Course rows saved to the dataset. |
| `diagnosticCount` | Operational issues recorded for the run. |
| `failedCount` | Search requests or course extractions that failed. |
| `uniqueCourses` | Unique courses represented among saved rows. |
| `dataAvailable` | Whether at least one usable course row was saved. |
| `searchedPages` | Supplied search URLs scheduled for the run. |
| `skippedPages` | Supplied search URLs not scheduled because `maxPages` limited the run. |
| `emptySearches` | Search URLs that returned no usable courses. |
| `completedAt` | Time the summary was written, in ISO UTC. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Courses were saved without an operational problem. |
| `SUCCEEDED` | `PARTIAL` | Courses were saved, but some searches or optional extractions failed. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | Searches completed cleanly and returned no matching public courses. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable course was saved. |

Example `OUTPUT_SUMMARY` from the 2026-10-25 run:

```json
{
  "actor": "linkedin-learning-courses-scraper",
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "optionalFailureCount": 0,
  "itemCount": 3,
  "diagnosticCount": 0,
  "failedCount": 0,
  "uniqueCourses": 3,
  "dataAvailable": true,
  "searchedPages": 1,
  "skippedPages": 0,
  "emptySearches": 0,
  "completedAt": "2026-10-25T20:49:34.235Z"
}
```

### Coverage and limitations

`startUrls` must contain public LinkedIn Learning search URLs, not arbitrary course or topic URLs. `maxPages` limits how many supplied search URLs are processed; it does not paginate a search. Pagination is unsupported, so a search contributes only the courses exposed on the page that was fetched. `maxItems` is a hard cap across the run.

Course facts come from the public search card and public course page. Some courses expose fewer fields than others: ratings, reviews, sample lessons, certificate details, free-lesson counts, and instructor headlines can be absent. `sampleReviews` and `sampleLessons` are bounded public samples, not complete review or curriculum exports. `sampleReviewCount` and the lesson counts describe what the public page reported, not a guaranteed total.

Paywalled lesson video content is not accessed. The Actor does not sign in, use cookies, solve CAPTCHAs, or bypass paywalls or access controls. Search results and course pages can change after the run; values such as viewer counts and ratings are point-in-time. Search URLs skipped by `maxPages` or validation are counted in the summary rather than emitted as rows.

### Usage and support

Apify compute, source requests, dataset storage, and optional proxy traffic determine the run cost; there is no separate per-course event configured for this Actor. Start with one search URL, `maxItems` around 5–10, and `maxPages: 1`, then inspect the dataset and summary before scaling. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/linkedin-learning-courses-scraper/issues) to report a problem. Include the run ID, the input used, and `OUTPUT_SUMMARY`; do not include tokens, cookies, or private data. This Actor is not affiliated with LinkedIn. Use it only for public data and in accordance with LinkedIn's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.

# Actor input Schema

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

One or more HTTPS LinkedIn Learning search URLs. Login-only, private, and paywalled pages are not supported.

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

Hard result limit for a bounded run.

## `maxPages` (type: `integer`):

Maximum number of supplied search URLs processed during the run.

## `followPagination` (type: `boolean`):

Reserved compatibility option. Pagination is not supported and this value must remain false.

## `requestDelayMs` (type: `integer`):

Polite delay applied before each request.

## `maxConcurrency` (type: `integer`):

Bounded parallel requests; keep low for smaller public sites.

## `userAgent` (type: `string`):

Optional consistent browser user agent for public requests.

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

Optional Apify Proxy configuration for responsible access.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.linkedin.com/learning/search?keywords=javascript"
    }
  ],
  "maxItems": 25,
  "maxPages": 1,
  "followPagination": false,
  "requestDelayMs": 600,
  "maxConcurrency": 1,
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/134.0 Safari/537.36",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.linkedin.com/learning/search?keywords=javascript"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/linkedin-learning-courses-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 = { "startUrls": [{ "url": "https://www.linkedin.com/learning/search?keywords=javascript" }] }

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/linkedin-learning-courses-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 '{
  "startUrls": [
    {
      "url": "https://www.linkedin.com/learning/search?keywords=javascript"
    }
  ]
}' |
apify call w3crawler/linkedin-learning-courses-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/linkedin-learning-courses-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/aQZZdBU7b9Iqd4gDK/builds/a7p9176gVCOJIfUAW/openapi.json
