LinkedIn Learning course
A LinkedIn Learning course: name, link, description, image, level, language, duration, published and released dates, rating and ratings count, learners enrolled, certificate, instructors (name, headline, link, photo), topics, subjects, the syllabus (section, duration, description) and every video (name, link, duration, thumbnail), plus featured reviews.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
urlrequired | string | Course link (linkedin.com/learning/<course-slug>) or the slug. Example: learning-python-25309312 |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/linkedin/v1/learning/course?url=learning-python-25309312" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/linkedin/v1/learning/course",
params={"url": "learning-python-25309312"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/linkedin/v1/learning/course");
url.searchParams.set("url", "learning-python-25309312");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"slug": "learning-python-25309312","name": "Learning Python","url": "https://www.linkedin.com/learning/learning-python-25309312","description": "This course gives you everything you need to start programming in Python, from building your first program up through working with files, da…","image": "https://media.licdn.com/dms/image/v2/D4E0DAQECotgjIKCbrw/learning-public-crop_675_1200/B4EZT7PgtEGwAc-/0/1739381935225?e=2147483647&v=beta&t…","level": "Beginner","language": "en","duration_s": 13282,"published": "2025-02-21","created": "2025-02-21","released": "2/21/2025","rating": 4.6,"ratings_count": 1274,"enrolled": 87354,"certificate": "LinkedIn Learning Certificate of Completion","instructors": [{"name": "Joe Marini","headline": "Investor ᠅ 2x Exit Founder ᠅ Developer Relations & Partner Ecosystem Advocate ᠅ Technology Instructor with 10M Learners","url": "https://www.linkedin.com/in/joemarini","image": "https://media.licdn.com/dms/image/v2/C4E03AQHDjlOZBQoY7g/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/159839975…"}],"topics": ["Technology","Software Development","… 1 more"],"about": ["Python (Programming Language)"],"syllabus": [{"name": "Learning Python","duration_s": 51,"description": "Learn the basics of Python syntax and core concepts, then write your first Python program in just a few lines. Explore built-in high-level d…"},{"name": "Before you get started","duration_s": 117,"description": "Get an overview of this course, which covers writing and running Python code, exploring the language’s feature set, and applying concepts to…"},"… 32 more"],"videos_count": 34,"videos": [{"name": "Learning Python - Introduction","url": "https://www.linkedin.com/learning/learning-python-25309312/learning-python","duration_s": 51,"thumbnail": "https://media.licdn.com/dms/image/v2/D4E0DAQECotgjIKCbrw/learning-public-crop_675_1200/B4EZT7PgtEGwAc-/0/1739381935225?e=2147483647&v=beta&t…"},{"name": "Before you get started - Introduction","url": "https://www.linkedin.com/learning/learning-python-25309312/before-you-get-started","duration_s": 117,"thumbnail": "https://media.licdn.com/dms/image/v2/D4E0DAQECotgjIKCbrw/learning-public-crop_675_1200/B4EZT7PgtEGwAc-/0/1739381935225?e=2147483647&v=beta&t…"},"… 32 more"],"reviews": [{"author": "Rathna Kumari Maganti","rating": 4,"text": "..","date": "2026-10-03T07:48:48.607Z"},{"author": "Aalekhya Polireddy","rating": 5,"text": "wonderful experience","date": "2026-10-02T14:10:20.980Z"},"… 1 more"],"cached": false,"credits_used": 1}